Options for event subscription.

interface EventSubscriptionOptions {
    address?: string;
    blockID?: string;
}

Properties

Properties

address?: string

The address of the contract that emitted the event to subscribe to.

blockID?: string

The block id from which to start the subscription.

the Block ID must refer to a block that does not exceed the backtrace limit of the node. (Default: 1000)