Good day - I see the doc format has changed quite drastically and Iām battling to readjustā¦ And I see react is no longer listed as a language out of the options provided. How do I move forward?
I am getting this error
Cannot read properties of undefined (reading āaccountā) when running
`const Web3Api = useMoralisWeb3Api();
const { chainId, account, isWeb3Enabled } = useMoralis()
const fetchNFTs = async () => {
// get testnet NFTs for user
const testnetNFTs = await Web3Api.account.getNFTs({
chain: āgoerliā,
});
console.log(testnetNFTs);`
you have to be authenticated or to set the address parameter for getNFTs
I have fetched account from useMoralis const { chainId, account, isWeb3Enabled } = useMoralis()
and it seems to be working elsewhere so I am quite confused
you can create a separate forum thread for this question, where you can also provide more info
I have tried adding address as a parameterā¦ When I console.log āaccountā I get my wallet address (from the useMoralis importā¦ I then add it as a parameter and get the same issue