Documentation ¶
Index ¶
- type BatchElem
- type EthClient
- func (client EthClient) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error)
- func (client EthClient) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (client EthClient) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (client EthClient) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (client EthClient) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (client EthClient) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error)
- func (client EthClient) TransactionSender(ctx context.Context, tx *types.Transaction, block common.Hash, index uint) (common.Address, error)
- type RpcClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EthClient ¶
type EthClient struct {
// contains filtered or unexported fields
}
func NewEthClient ¶
func (EthClient) BlockByNumber ¶
func (EthClient) CallContract ¶
func (EthClient) FilterLogs ¶
func (EthClient) HeaderByNumber ¶
func (EthClient) TransactionReceipt ¶
type RpcClient ¶
type RpcClient struct {
// contains filtered or unexported fields
}
func (RpcClient) CallContext ¶
Click to show internal directories.
Click to hide internal directories.