Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewSessionID ¶
func NewSessionID() string
func NewSessionIDBytes ¶
func NewSessionIDBytes() []byte
func WriteSessionID ¶
Types ¶
type KlayManager ¶
type KlayManager interface { Balance(ctx context.Context, account common.Address) (*klayfw.Peb, error) BalanceAt(ctx context.Context, account common.Address, blockNum uint64) (*klayfw.Peb, error) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) EstimateGas(ctx context.Context, msg klaytn.CallMsg) (uint64, error) SuggestGasPrice(ctx context.Context) (*big.Int, error) TransactionByHash(ctx context.Context, txHex string) (*TxInfo, error) TransactionReceiptByHash(ctx context.Context, txHex string) (*TxReceipt, error) SendTransaction(ctx context.Context, tx *types.Transaction) error ChainID() uint64 GasLimit() uint64 Nodes() []string Close() error }
func NewManager ¶
func NewManager(nodes []string, gasLimit uint64) KlayManager
Click to show internal directories.
Click to hide internal directories.