I’m having difficulties getting nft’s for the connected address. I’m using react-moralis.
const userAddr = user?.get("ethAddress");
const userEthNFTs = account
.getNFTs({ chain: "rinkeby", address: userAddr })
.then((res) => console.log(res.result));
I wanted to test it out by logging the result. But I’m getting the following error.
Anyone know what the problem is?