geth

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*ethclient.Client
	// contains filtered or unexported fields
}

Wrapper for the go-ethereum client

func NewClient

func NewClient(address string) *Client

func (*Client) ChainID

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

func (*Client) FilterLogs added in v0.5.0

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

func (*Client) Init

func (c *Client) Init(ctx context.Context) error

Jump to

Keyboard shortcuts

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