Skip to content

Commit 723440e

Browse files
authored
fix quickstart code typo (#1794)
1 parent 8304604 commit 723440e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

services/reference/ethereum/quickstart.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta
6969
```javascript title="index.js"
7070
import fetch from "node-fetch"
7171

72-
fetch("https://mainnet.infura.io.infura.io/v3/<YOUR-API-KEY>", {
72+
fetch("https://mainnet.infura.io/v3/<YOUR-API-KEY>", {
7373
method: "POST",
7474
headers: {
7575
"Content-Type": "application/json",
@@ -112,7 +112,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta
112112
const axios = require("axios")
113113

114114
axios
115-
.post("https://mainnet.infura.io.infura.io/v3/<YOUR-API-KEY>", {
115+
.post("https://mainnet.infura.io/v3/<YOUR-API-KEY>", {
116116
jsonrpc: "2.0",
117117
method: "eth_blockNumber",
118118
params: [],
@@ -148,7 +148,7 @@ In these examples, you'll use [npm](https://docs.npmjs.com/downloading-and-insta
148148
const ethers = require("ethers")
149149

150150
const provider = new ethers.providers.JsonRpcProvider(
151-
"https://mainnet.infura.io.infura.io/v3/<YOUR-API-KEY>"
151+
"https://mainnet.infura.io/v3/<YOUR-API-KEY>"
152152
)
153153

154154
provider

0 commit comments

Comments
 (0)