Documentation ¶ Index ¶ type Client func NewClient(address string) *Client func (c *Client) ChainID(ctx context.Context) (*big.Int, error) func (c *Client) FilterLogs(ctx context.Context, query ethereum.FilterQuery) ([]types.Log, error) func (c *Client) Init(ctx context.Context) error 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 Source Files ¶ View all Source files client.go Click to show internal directories. Click to hide internal directories.