Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventOptions

The type of the options parameter to events(). This type will be expanded in the future as more filtering options are added.

Hierarchy

  • EventOptions

Index

Properties

Optional address

address: string

If included, will restrict to events emitted by the given address.

NOTE: In the contract instance decoder, if omitted, defaults to the address of the contract instance being decoded, rather than not filtering by address. However, this behavior can be turned off by explicitly specifying address as undefined.

Optional fromBlock

fromBlock: BlockSpecifier

The earliest block to include events from. Defaults to "latest".

Optional name

name: string

If included, the name parameter will restrict to events with the given name.

Optional toBlock

The latest block to include events from. Defaults to "latest".

Generated using TypeDoc