Documentation ¶
Index ¶
- type Clientdeprecated
- func NewClient(client rpc.RPC) *Clientdeprecated
- func (c *Client) Balance(ctx context.Context, address types.Address) (*big.Int, error)
- func (c *Client) Block(ctx context.Context) (*types.Block, error)
- func (c *Client) BlockNumber(ctx context.Context) (*big.Int, error)
- func (c *Client) Call(ctx context.Context, call types.Call) ([]byte, error)
- func (c *Client) CallBlocks(ctx context.Context, call types.Call, blocks []int64) ([][]byte, error)
- func (c *Client) FilterLogs(ctx context.Context, query types.FilterLogsQuery) ([]types.Log, error)
- func (c *Client) MultiCall(ctx context.Context, calls []types.Call) ([][]byte, error)
- func (c *Client) SendTransaction(ctx context.Context, transaction *types.Transaction) (*types.Hash, error)
- func (c *Client) Storage(ctx context.Context, address types.Address, key types.Hash) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client
deprecated
type Client struct {
// contains filtered or unexported fields
}
Deprecated: use the github.com/defiweb/go-eth package instead.
func (*Client) BlockNumber ¶ added in v0.5.0
func (*Client) CallBlocks ¶ added in v0.5.0
func (*Client) FilterLogs ¶ added in v0.7.1
func (*Client) SendTransaction ¶
Click to show internal directories.
Click to hide internal directories.