Metadata missing on some NFTs

When querying for NFTs some return no metadata at all:

curl -X 'GET' \
  'https://deep-index.moralis.io/api/v2/0xbFCF685360ccA98A35F79a1AbD25193143b972Fd/nft?chain=eth&format=decimal&order=name.DESC' \
  -H 'accept: application/json' \
  -H 'X-API-Key: xxxx'

partial result:

"result": [
    {
      "token_address": "0xd07dc4262bcdbf85190c01c996b4c06a461d2430",
      "token_id": "268820",
      "amount": "1",
      "owner_of": "0xbfcf685360cca98a35f79a1abd25193143b972fd",
      "block_number": "12020003",
      "block_number_minted": "12019816",
      "contract_type": "ERC1155",
      "token_uri": null,
      "metadata": null,
      "synced_at": null,
      "name": "Rarible",
      "symbol": "RARI"
    },

Is Metadata stored in blockchain?

Metadata can be stored seperate (centralized), and hash of that metadata can be sored in the blockchain in stead to keep blockchain data part small and keep integrity.

Why not use the Moralis GET nft/{address}/metadata functionality ?
Log in to a Moralis server (https://poc.moralis.io/) -> Web3 API

Please be more clear about your issue…

1 Like

I’m having this same issue, most NFTs have metadata but some are simply NULL when using the API, is there a reason for this or fix for this? Thanks so much.

Could you give some examples of the null NFTs so that we can check from our end? Thanks.

Thanks for the quick response, you guys are great, I’ve seen a few but one example is Holy Cows NFT, if you do a /{address}/nft in the web3 api for ETH address 0x9a87a59040f86b5879cd21cf0b0c42a0c3e2a2ad for example you’ll see NULL ones.

Will update this thread after we have checked it out as discussed on discord. Thank you for your patience.

Glad you are finally addressing my problem :slight_smile:

Apologies, We must’ve missed out your post that time. If you need an issue to be solved that doesn’t get addressed here, you can remind us on Discord or through support email. We are active in all these channels.

Sounds good, thx. Appreciate it

Hi all, any update about the issue?
I’m building a dapp that need to list all user’s NFTs but calling getNFTs returns a lot of NFT with metadata null. That happens even If I call the api nft/{address}/{token_id} endpoint

Here’s a test example:
Token Address:0x75cdc17e42e1d82a3fdb38c1b8509842f0fcbe20
Token ID: 1279

If I query the token URI via etherscan I get the result correctly
https://api-glestudios.vercel.app/api/1279

Thanks!

we expect to get that metadata synced today

that’s great, many thanks!