You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|**contractName**|`string`| Name of the contract to read from. |
33
33
|**eventName**|`string`| Name of the event to read. |
34
-
|**fromBlock** (optional) |`bigint`| Block number from which to start reading events (defaults to `deployedOnBlock` in deployedContracts.ts if set for contract, otherwise defaults to 0).|
35
-
|**toBlock** (optional) |`bigint`| Block number to stop reading events at (if not provided, reads until current block).|
34
+
|**fromBlock** (optional) |`bigint`| Block number from which to start reading events (defaults to `deployedOnBlock` in deployedContracts.ts if set for contract, otherwise defaults to 0). |
35
+
|**toBlock** (optional) |`bigint`| Block number to stop reading events at (if not provided, reads until current block). |
36
36
|**filters** (optional) |`object`| Apply filters to the event based on **indexed** parameter names and values `{ [parameterName]: value }`. |
37
37
|**blockData** (optional) |`boolean`| If set to true it will return the block data for each event (default: false). |
38
38
|**transactionData** (optional) |`boolean`| If set to true it will return the transaction data for each event (default: false). |
0 commit comments