I’m using Moralis Solana API in my react app to fetch the NFTs from my phantom wallet and get their metadeta.
At first, I use account.nft API to fetch all the NFTs associated with the public key of the Phantom and then I iterate each result in the nft.getMetData API to get the uri.
Everything is working fine except when I switch to some older wallets, In the account.nft API, I’m receiving unidentified NFts which I dont own. They don’t even exist in my wallet currently or before yet they appear in the API. Any idea about why is it happening and how to solve this?