[SOLVED] getWalletNFTs API returning incomplete data

This code returns only 33 NFTs but should be >50 !
What is not correct ?!

const response = await Moralis.EvmApi.nft.getWalletNFTs({
“chain”: “0x89”,
“format”: “decimal”,
“disableTotal”: false,
“tokenAddresses”: [
“0x2953399124F0cBB46d2CbACD8A89cF0599974963”
],
“mediaItems”: false,
“address”: “0xc2a8c7363b43a37f3828db6f4807de2dff6ad46d”
});

https://polygonscan.com/token/0x2953399124f0cbb46d2cbacd8a89cf0599974963?a=0xc2a8c7363b43a37f3828db6f4807de2dff6ad46d#inventory

=> A total of 33 tokens found

Hmmm, got it.
But e.g. this one is not counted:

Probably because it was a lazy mint and therefore not on polyscan ?!

we don’t have lazy minted nfts because they are not on chain

Yep, got that now ;- )
Thanks so much !

1 Like