Skip to content

Commit 3e4e7db

Browse files
committed
Prettier
1 parent 0f27760 commit 3e4e7db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/hooks/useScaffoldEventHistory.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ This example retrieves the historical event logs for the `GreetingChange` event
3131
| :----------------------------- | :-------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3232
| **contractName** | `string` | Name of the contract to read from. |
3333
| **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). |
3636
| **filters** (optional) | `object` | Apply filters to the event based on **indexed** parameter names and values `{ [parameterName]: value }`. |
3737
| **blockData** (optional) | `boolean` | If set to true it will return the block data for each event (default: false). |
3838
| **transactionData** (optional) | `boolean` | If set to true it will return the transaction data for each event (default: false). |

0 commit comments

Comments
 (0)