Hi !
With the following code snippet:
const provider = new ethers.providers.JsonRpcProvider(
"https://poly-mumbai.gateway.pokt.network/........"
);
const balance = await provider.getBalance(
"0x9A71F3............65BcB"
);
I’m getting:
Error: could not detect network (event="noNetwork", code=NETWORK_ERROR, version=providers/5.5.2)
If I change the RPC url to one of the official ones like https://matic-mumbai.chainstacklabs.com, it works.
If I use a Pokt RPC url of another network like Rinkeby, it works.