geth

package
v0.11.0-dev.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2023 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

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 NewClient deprecated

func NewClient(client rpc.RPC) *Client

Deprecated: use the github.com/defiweb/go-eth package instead.

func (*Client) Balance added in v0.9.0

func (c *Client) Balance(ctx context.Context, address types.Address) (*big.Int, error)

func (*Client) Block added in v0.7.1

func (c *Client) Block(ctx context.Context) (*types.Block, error)

func (*Client) BlockNumber added in v0.5.0

func (c *Client) BlockNumber(ctx context.Context) (*big.Int, error)

func (*Client) Call

func (c *Client) Call(ctx context.Context, call types.Call) ([]byte, error)

func (*Client) CallBlocks added in v0.5.0

func (c *Client) CallBlocks(ctx context.Context, call types.Call, blocks []int64) ([][]byte, error)

func (*Client) FilterLogs added in v0.7.1

func (c *Client) FilterLogs(ctx context.Context, query types.FilterLogsQuery) ([]types.Log, error)

func (*Client) MultiCall

func (c *Client) MultiCall(ctx context.Context, calls []types.Call) ([][]byte, error)

func (*Client) SendTransaction

func (c *Client) SendTransaction(ctx context.Context, transaction *types.Transaction) (*types.Hash, error)

func (*Client) Storage

func (c *Client) Storage(ctx context.Context, address types.Address, key types.Hash) ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL