Versions in this module Expand all Collapse all v1 v1.9.2 Aug 23, 2019 v1.9.0 Jul 31, 2019 Changes in this version + type Client struct + func Dial(rawurl string) (*Client, error) + func DialContext(ctx context.Context, rawurl string) (*Client, error) + func NewClient(c *rpc.Client) *Client + func (ec *Client) BalanceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (*big.Int, error) + func (ec *Client) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error) + func (ec *Client) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error) + func (ec *Client) CallContract(ctx context.Context, msg smilobft.CallMsg, blockNumber *big.Int) ([]byte, error) + func (ec *Client) ChainID(ctx context.Context) (*big.Int, error) + func (ec *Client) Close() + func (ec *Client) CodeAt(ctx context.Context, account common.Address, blockNumber *big.Int) ([]byte, error) + func (ec *Client) EstimateGas(ctx context.Context, msg smilobft.CallMsg) (uint64, error) + func (ec *Client) FilterLogs(ctx context.Context, q smilobft.FilterQuery) ([]types.Log, error) + func (ec *Client) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error) + func (ec *Client) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error) + func (ec *Client) NetworkID(ctx context.Context) (*big.Int, error) + func (ec *Client) NonceAt(ctx context.Context, account common.Address, blockNumber *big.Int) (uint64, error) + func (ec *Client) PendingBalanceAt(ctx context.Context, account common.Address) (*big.Int, error) + func (ec *Client) PendingCallContract(ctx context.Context, msg smilobft.CallMsg) ([]byte, error) + func (ec *Client) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error) + func (ec *Client) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error) + func (ec *Client) PendingStorageAt(ctx context.Context, account common.Address, key common.Hash) ([]byte, error) + func (ec *Client) PendingTransactionCount(ctx context.Context) (uint, error) + func (ec *Client) SendTransaction(ctx context.Context, tx *types.Transaction) error + func (ec *Client) StorageAt(ctx context.Context, account common.Address, key common.Hash, ...) ([]byte, error) + func (ec *Client) SubscribeFilterLogs(ctx context.Context, q smilobft.FilterQuery, ch chan<- types.Log) (smilobft.Subscription, error) + func (ec *Client) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (smilobft.Subscription, error) + func (ec *Client) SuggestGasPrice(ctx context.Context) (*big.Int, error) + func (ec *Client) SyncProgress(ctx context.Context) (*smilobft.SyncProgress, error) + func (ec *Client) TransactionByHash(ctx context.Context, hash common.Hash) (tx *types.Transaction, isPending bool, err error) + func (ec *Client) TransactionCount(ctx context.Context, blockHash common.Hash) (uint, error) + func (ec *Client) TransactionInBlock(ctx context.Context, blockHash common.Hash, index uint) (*types.Transaction, error) + func (ec *Client) TransactionReceipt(ctx context.Context, txHash common.Hash) (*types.Receipt, error) + func (ec *Client) TransactionSender(ctx context.Context, tx *types.Transaction, block common.Hash, index uint) (common.Address, error)