For the Web3 API getTokenIdMetadata
, one of my tokens is listing the metadata
in the token_uri
field, and leaving metadata
null.
contract address: 0xda22422592ee3623c8d3c40fe0059cdecf30ca79
token id: 13807
https://deep-index.moralis.io/api/v2/nft/0xda22422592ee3623c8d3c40fe0059cdecf30ca79/13807?chain=eth&format=decimal
This returns the following:
{
"token_address": "0xda22422592ee3623c8d3c40fe0059cdecf30ca79",
"token_id": "13807",
"block_number_minted": "14160906",
"owner_of": "0x868e166c09399c6174d2920e5744ae4c99ce10e8",
"block_number": "14160906",
"amount": "1",
"contract_type": "ERC721",
"name": "Censored",
"symbol": "ββββββββ",
"token_uri": "data:application/json;utf8,{\"name\":\"Censored #13807\", \"description\":\"TO THE TOP\", \"created_by\":\"Pak\", \"image\":\"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1000' height='1000' viewBox='0 0 1000 1000'><style>@font-face {font-family: 'C';src: url('data:font/woff2;charset=utf-8;base64,d09GMgABAAAAAAhYAA4AAAAAEaAAAAgAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GYACCUggEEQgKjXyKNQtAAAE2AiQDRgQgBYxYB2AbpA5RVJOqIfsiwTY1W/APIgxtajFaoUqBxftg5H7wSPuhL7n7lNwvEA+EIgZX2862bp7UHAk1YTZFJFzlHP3ANvvHdMW6WIUsutRl+md9wENc5FWVF3LZzQP/h/v7Rm3gTsfTLJ6cSDSmTssyGf9/0g+yAV+N/xfOsv/PvarZ/i04L3A8wQ0YwT/2y+hcg6ofuGNpaU7B4gTtKRap2jIWu4jnIJ/pLvFFAQL4uMxbD4B31OxVAH55zqcAAQl0AJQQAxARKNA4IZOoQD90DFhWXpV8CvETqLwBqHjEmyLApgAA8GDd1A5JMJVx3/++aO2jD3gEQP4jC4YgIODUF2NgDwnLcK3VSv04BUN4KkvflDy5cq0chtA6pAoim6IBCk8UBCGiiqxajBzl0aR8wNTvB5pzODKUS9nk1kHzOv9xIF9A74DVtFqFCvZqots1g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WwEMXwslCkRE6xCHZrPIQipHrSh118ObxNKyC87XVFZEyP7wIoJxwsFR5GIEChyrpGBV24zjg29Sjk9VAPwPFQcQWmZwAeLxTTx48uLNhy8//gLw4ALHnQ8NESpMuAiRokSLEStOPAAA') format('woff2');font-weight: 500; font-style: normal; font-display: swap;}.f { width: 100%; height: 100%; }.b { fill: whitesmoke; }.a { animation: o 2s ease-out forwards; }@keyframes o { 10% { opacity: 1; } 100% { opacity: 0; } }tspan { fill: black; font-family: 'C'; font-size: 70px; text-transform: uppercase; text-anchor: middle; }</style><rect class='b f' /><svg y='525' overflow='visible'><text><tspan x='500'>to the top</tspan></text><text><tspan x='500'>----------</tspan></text></svg><rect class='b f a' /></svg>\",\"attributes\":[{\"trait_type\":\"Censored\",\"value\":\"True\"},{\"trait_type\":\"Initial Price\",\"value\":0.0000}]}",
"metadata": null,
"synced_at": "2022-02-07T19:44:36.534Z",
"is_valid": 0,
"syncing": 2,
"frozen": 0
}