Versions in this module Expand all Collapse all v0 v0.0.9 Oct 28, 2019 Changes in this version + type BatchElem struct + Args []interface{} + Error error + Method string + Result interface{} + type EthClient struct + func NewEthClient(client *ethclient.Client) 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 struct + func NewRpcClient(client *rpc.Client, ipcPath string) RpcClient + func (client RpcClient) BatchCall(batch []BatchElem) error + func (client RpcClient) CallContext(ctx context.Context, result interface{}, method string, args ...interface{}) error + func (client RpcClient) IpcPath() string + func (client RpcClient) Subscribe(namespace string, payloadChan interface{}, args ...interface{}) (*rpc.ClientSubscription, error) + func (client RpcClient) SupportedModules() (map[string]string, error)