Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
boudra authored Oct 16, 2023
1 parent e578f9b commit dfa9730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ indexer.stop();
Event handlers should be automatically inferred when used like this:

```ts
// subscribe to a specific event
indexer.on("ERC20:Approval", async ({ event }) => {
// params here are inferred to be for the Approval event
console.log("Approval event:", event.params);
});
```
Expand Down

0 comments on commit dfa9730

Please sign in to comment.