package
1.5.1
Repository: https://github.com/wealdtech/go-eth-listener.git
Documentation: pkg.go.dev

# Functions

New creates a new service.
WithAddress sets the address of the Ethereum client.
WithBlockDelay sets the number of blocks to delay before passing on to the handlers, allowing avoidance of reorgs.
WithBlockSpecifier sets the specifier for the block to handle.
WithBlockTriggers sets the block triggers for the listener.
WithClientLogLevel sets the log level for the clients used by the listener.
WithEarliestBlock sets the block number from which to start listening.
WithEventTriggers sets the event triggers for the listener.
WithInterval sets the interval between polls.
WithLogLevel sets the log level for the listener.
WithMetadataDBPath sets the path of the metadata database.
WithMonitor sets the metrics monitor.
WithTimeout sets the timeout for requests made to the Ethereum client.
WithTxTriggers sets the transaction triggers for the listener.

# Structs

Service is a listener that listens to an Ethereum client.

# Interfaces

Parameter is the interface for service parameters.