Incorrect API endpoint is used in quickstart code snippets URL with typo : "https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY" Correct URL : "https://mainnet.infura.io/v3/YOUR-API-KEY" https://docs.infura.io/api/networks/ethereum/quickstart#node-fetch ``` index.js import fetch from 'node-fetch'; fetch("https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ ``` The same is found in following sections. https://docs.infura.io/api/networks/ethereum/quickstart#axios https://docs.infura.io/api/networks/ethereum/quickstart#ethers
Incorrect API endpoint is used in quickstart code snippets
URL with typo : "https://mainnet.infura.io.infura.io/v3/YOUR-API-KEY"
Correct URL : "https://mainnet.infura.io/v3/YOUR-API-KEY"
https://docs.infura.io/api/networks/ethereum/quickstart#node-fetch
The same is found in following sections.
https://docs.infura.io/api/networks/ethereum/quickstart#axios
https://docs.infura.io/api/networks/ethereum/quickstart#ethers