Versions in this module Expand all Collapse all v1 v1.0.1 Nov 13, 2017 v1.0.0 Oct 26, 2017 Changes in this version + type Client interface + AddPeer func(ctx context.Context, nodeURL string) error + AdminPeers func(ctx context.Context) ([]*p2p.PeerInfo, error) + BalanceAt func(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error) + BlockByHash func(ctx context.Context, hash common.Hash) (*types.Block, error) + BlockByNumber func(ctx context.Context, number *big.Int) (*types.Block, error) + BlockNumber func(ctx context.Context) (*big.Int, error) + CallContract func(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int) ([]byte, error) + Close func() + CodeAt func(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error) + EstimateGas func(ctx context.Context, msg ethereum.CallMsg) (*big.Int, error) + FilterLogs func(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error) + HeaderByHash func(ctx context.Context, hash common.Hash) (*types.Header, error) + HeaderByNumber func(ctx context.Context, number *big.Int) (*types.Header, error) + NetworkID func(ctx context.Context) (*big.Int, error) + NodeInfo func(ctx context.Context) (*p2p.PeerInfo, error) + NonceAt func(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error) + PendingBalanceAt func(ctx context.Context, account common.Address) (*big.Int, error) + PendingCallContract func(ctx context.Context, msg ethereum.CallMsg) ([]byte, error) + PendingCodeAt func(ctx context.Context, account common.Address) ([]byte, error) + PendingNonceAt func(ctx context.Context, account common.Address) (uint64, error) + PendingStorageAt func(ctx context.Context, account common.Address, key common.Hash) ([]byte, error) + PendingTransactionCount func(ctx context.Context) (uint, error) + SendRawTransaction func(ctx context.Context, tx *types.Transaction) error + SendTransaction func(ctx context.Context, tx *types.Transaction) error + StartMining func(ctx context.Context) error + StopMining func(ctx context.Context) error + StorageAt func(ctx context.Context, account common.Address, key common.Hash, ...) ([]byte, error) + SubscribeFilterLogs func(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error) + SubscribeNewHead func(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error) + SuggestGasPrice func(ctx context.Context) (*big.Int, error) + SyncProgress func(ctx context.Context) (*ethereum.SyncProgress, error) + TransactionByHash func(ctx context.Context, hash common.Hash) (*types.Transaction, bool, error) + TransactionCount func(ctx context.Context, blockHash common.Hash) (uint, error) + TransactionInBlock func(ctx context.Context, blockHash common.Hash, index uint) (*types.Transaction, error) + TransactionReceipt func(ctx context.Context, txHash common.Hash) (*types.Receipt, error) + func Dial(rawurl string) (Client, error) + func NewClient(rpc *ethrpc.Client) Client