Versions in this module Expand all Collapse all v1 v1.10.28 Jan 9, 2023 Changes in this version + type AccountResult struct + AccountProof []string + Address common.Address + Balance *big.Int + CodeHash common.Hash + Nonce uint64 + StorageHash common.Hash + StorageProof []StorageResult + type Client struct + func New(c *rpc.Client) *Client + func (ec *Client) CallContract(ctx context.Context, msg ethereum.CallMsg, blockNumber *big.Int, ...) ([]byte, error) + func (ec *Client) CreateAccessList(ctx context.Context, msg ethereum.CallMsg) (*types.AccessList, uint64, string, error) + func (ec *Client) GCStats(ctx context.Context) (*debug.GCStats, error) + func (ec *Client) GetNodeInfo(ctx context.Context) (*p2p.NodeInfo, error) + func (ec *Client) GetProof(ctx context.Context, account common.Address, keys []string, ...) (*AccountResult, error) + func (ec *Client) MemStats(ctx context.Context) (*runtime.MemStats, error) + func (ec *Client) SetHead(ctx context.Context, number *big.Int) error + func (ec *Client) SubscribeFullPendingTransactions(ctx context.Context, ch chan<- *types.Transaction) (*rpc.ClientSubscription, error) + func (ec *Client) SubscribePendingTransactions(ctx context.Context, ch chan<- common.Hash) (*rpc.ClientSubscription, error) + type OverrideAccount struct + Balance *big.Int + Code []byte + Nonce uint64 + State map[common.Hash]common.Hash + StateDiff map[common.Hash]common.Hash + func (a OverrideAccount) MarshalJSON() ([]byte, error) + type StorageResult struct + Key string + Proof []string + Value *big.Int