Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicFilterAPI ¶
PublicAPI is the eth_ prefixed set of APIs in the Web3 JSON-RPC spec.
func NewPublicAPI ¶
func NewPublicAPI( ctx context.Context, client client.RuntimeClient, logger *logging.Logger, backend indexer.Backend, eventSystem *eventFilters.EventSystem, ) *PublicFilterAPI
NewPublicAPI creates an instance of the public ETH Web3 API with filter func.
func (*PublicFilterAPI) Logs ¶
func (api *PublicFilterAPI) Logs(ctx context.Context, crit ethfilters.FilterCriteria) (*ethrpc.Subscription, error)
func (*PublicFilterAPI) NewHeads ¶
func (api *PublicFilterAPI) NewHeads(ctx context.Context) (*ethrpc.Subscription, error)
Click to show internal directories.
Click to hide internal directories.