From e74ba31120757e6855a2b62fe20419118c6490a9 Mon Sep 17 00:00:00 2001 From: Joel Mun Date: Wed, 27 Mar 2024 19:27:05 +0800 Subject: [PATCH] docs: fix nodeUrl code typo (#1046) --- www/versioned_docs/version-5.24.3/guides/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/versioned_docs/version-5.24.3/guides/events.md b/www/versioned_docs/version-5.24.3/guides/events.md index ba7de16bb..9de3e26f8 100644 --- a/www/versioned_docs/version-5.24.3/guides/events.md +++ b/www/versioned_docs/version-5.24.3/guides/events.md @@ -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'];