class_id associated with the nft
id is a unique identifier of the NFT
A successful response.
NFT defines the NFT.
pagination defines the pagination in the response.
const response = await fetch('https://tia-rest.nownodes.io/cosmos/nft/v1beta1/nfts/{class_id}/{id}', { method: 'GET', headers: {}, }); const data = await response.json();
{ "nft": { "class_id": "text", "id": "text", "uri": "text", "uri_hash": "text", "data": { "type_url": "text", "value": "Ynl0ZXM=" } } }
const response = await fetch('https://tia-rest.nownodes.io/cosmos/nft/v1beta1/nfts', { method: 'GET', headers: {}, }); const data = await response.json();
{ "nfts": [ { "class_id": "text", "id": "text", "uri": "text", "uri_hash": "text", "data": { "type_url": "text", "value": "Ynl0ZXM=" } } ], "pagination": { "next_key": "Ynl0ZXM=", "total": "text" } }