Versions in this module Expand all Collapse all v1 v1.1.0 Jun 19, 2022 v1.0.0 Jun 19, 2022 Changes in this version + func ToBlockNumArg(number *big.Int) string + type Client interface + AcceptedCallContract func(context.Context, interfaces.CallMsg) ([]byte, error) + AcceptedCodeAt func(context.Context, common.Address) ([]byte, error) + AcceptedNonceAt func(context.Context, common.Address) (uint64, error) + AssetBalanceAt func(context.Context, common.Address, ids.ID, *big.Int) (*big.Int, error) + BalanceAt func(context.Context, common.Address, *big.Int) (*big.Int, error) + BlockByHash func(context.Context, common.Hash) (*types.Block, error) + BlockByNumber func(context.Context, *big.Int) (*types.Block, error) + BlockNumber func(context.Context) (uint64, error) + CallContract func(context.Context, interfaces.CallMsg, *big.Int) ([]byte, error) + CallContractAtHash func(ctx context.Context, msg interfaces.CallMsg, blockHash common.Hash) ([]byte, error) + ChainID func(context.Context) (*big.Int, error) + Close func() + CodeAt func(context.Context, common.Address, *big.Int) ([]byte, error) + EstimateBaseFee func(context.Context) (*big.Int, error) + EstimateGas func(context.Context, interfaces.CallMsg) (uint64, error) + FilterLogs func(context.Context, interfaces.FilterQuery) ([]types.Log, error) + HeaderByHash func(context.Context, common.Hash) (*types.Header, error) + HeaderByNumber func(context.Context, *big.Int) (*types.Header, error) + NetworkID func(context.Context) (*big.Int, error) + NonceAt func(context.Context, common.Address, *big.Int) (uint64, error) + SendTransaction func(context.Context, *types.Transaction) error + StorageAt func(context.Context, common.Address, common.Hash, *big.Int) ([]byte, error) + SubscribeFilterLogs func(context.Context, interfaces.FilterQuery, chan<- types.Log) (interfaces.Subscription, error) + SubscribeNewAcceptedTransactions func(context.Context, chan<- *common.Hash) (interfaces.Subscription, error) + SubscribeNewHead func(context.Context, chan<- *types.Header) (interfaces.Subscription, error) + SubscribeNewPendingTransactions func(context.Context, chan<- *common.Hash) (interfaces.Subscription, error) + SuggestGasPrice func(context.Context) (*big.Int, error) + SuggestGasTipCap func(context.Context) (*big.Int, error) + TransactionByHash func(context.Context, common.Hash) (tx *types.Transaction, isPending bool, err error) + TransactionCount func(context.Context, common.Hash) (uint, error) + TransactionInBlock func(context.Context, common.Hash, uint) (*types.Transaction, error) + TransactionReceipt func(context.Context, common.Hash) (*types.Receipt, error) + TransactionSender func(context.Context, *types.Transaction, common.Hash, uint) (common.Address, error) + func Dial(rawurl string) (Client, error) + func DialContext(ctx context.Context, rawurl string) (Client, error) + func NewClient(c *rpc.Client) Client