Skip to content

Commit 0ae9f87

Browse files
fix usage on fetchEvents
1 parent ae846a9 commit 0ae9f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zkapps/writing-a-zkapp/feature-overview/fetch-events-and-actions.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ For an end-to-end example of zkApp fetching actions from a running network and s
8787

8888
### Fetching Events from an Archive Node
8989

90-
Within your smart contract, you can use `fetchEvents()` to retrieve events emitted by your smart contract as part of previous transactions.
90+
Outside of smart contracts, you can use `fetchEvents()` to retrieve events emitted by your smart contract as part of previous transactions.
9191

9292
```ts
9393
const zkapp = new MyContract(address);

0 commit comments

Comments
 (0)