Interface: ListenerOptions

fabric-network. ListenerOptions

Name Type Argument Description
startBlock number | string | Long <optional>
The block number from which events should be received. Leaving this value undefined starts listening from the current block.
type module:fabric-network.EventType <optional>
The type of events to be received.
checkpointer module:fabric-network.Checkpointer <optional>
A checkpointer instance. If the checkpointer has a current block number set, this takes precendence over the startBlock option. If no current block number is set, the startBlock option is used if present.