Developers Forum for XinFin XDC Network

qwerty101
qwerty101

Posted on

NFT details (XRC721) do not appear on block explorer

https://explorer.apothem.network/nft/xdc5f2c8e9d37c0bfef5b05791071050ddbd7b17544/9 - I noticed that if the metadata.json in the tokenURI doesn't contain an image, the details for the NFT will not appear. Is it built that way or is this a bug? This is the tokenURI - https://ipfs.io/ipfs/bafybeicjk7rtoezgrmkkahajzvy5i6krdopzinzzlrtd2fdrrmxxxijbmi/metadata.json

For instance, this displays all the details - https://explorer.apothem.network/nft/xdc5f2c8e9d37c0bfef5b05791071050ddbd7b17544/3

Discussion (5)

Collapse
blocksscanio profile image
BlocksScan Explorer

Hello,

Kindly note that NFT contract should contains tokenURI to visible on Explorer and its always recommend to verify your contract source code.

explorer.apothem.network/contracts...

Collapse
qwerty101 profile image
qwerty101 Author

Yes, I do have a tokenURI but the metadata in the URI is not an image but a txt file. But nothing is shown on the explorer token page.

Collapse
ruslan_wing profile image
ruslan wing

You can check it out at explorer.xinfin.network/tokens/nft where you will be able to see all the NFT explorer.xinfin.network/tokentxs/n... you can also find the tx

Collapse
qwerty101 profile image
qwerty101 Author

Yes, but I'm now still developing under testnet. Could I currently view it under testnet?

Collapse
ruslan_wing profile image
ruslan wing

Yes for apothem network you can find it at xdc.dev/qwerty101/nft-details-xrc7...