[SOLVED] New Moralis Docs

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?

Old documentation is available at http://v1docs.moralis.io

Thanks @cryptokid - appreciate it

1 Like

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

Perfect thanks @cryptokid

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