Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion www/versioned_docs/version-5.24.3/guides/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ In this example, if you want to read the events recorded in the last 10 blocks,
```typescript
import { RpcProvider } from 'starknet';
const providerRPC = new RpcProvider({
nodeUrl: "{ nodeUrl: 'https://starknet-goerli.infura.io/v3/' + infuraKey }",
nodeUrl: 'https://starknet-goerli.infura.io/v3/' + infuraKey,
}); // for an Infura node on Testnet
const lastBlock = await providerRPC.getBlock('latest');
const keyFilter = [num.toHex(hash.starknetKeccak('EventPanic')), '0x8'];
Expand Down