I’m using the hook useNativeBalance like this:
const { getBalances, data, nativeToken, error, isLoading } = useNativeBalance({ chain : "0x7A69" });
However I’m getting this error: “Failed to load resource: the server responded with a status of 400 (Bad Request)”
If I change the chain to Mumbai for example, it works fine. It only happens with the hardhat local chain. The error also occurs when setting {chain: “31337”}
I’m using metamask, if that matters. I also am running the devchain proxy server, and Moralis says the status is “connected”