[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”,

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