ChrisChan888
ChrisChan888
> It would be great to see it natively supported by the package. > > Till then, we can do like this: > > ```js > const contract = new...
I have this error on avalanche...
> try setting the chainId when instantiating the JsonRpcProvider, > > `new ethers.providers.JsonRpcProvider("https://api.avax.network/ext/bc/C/rpc", 43114)` Thanks for your reply, it's still not work after setting chainId.
> Have you tried setting it on the ethers-multicall provider instance instead? `_multiCallProvider = new Provider(yourJsonRpcProviderInstance, chainId);` Yeah! Thank you!