Return the NFT metadata of an ASA on Algorand
Swagger Doc | ReDoc
curl -X GET "https://0.0.0.0:7000/v2/nftkit/nft/Algorand/chain/{chain}/asset/{assetId}/metadata" -H "accept: application/json"
Path Params :
chain : chain to work with. Either ALGORAND_TESTNET , ALGORAND_BETANET, ALGORAND_MAINNET
chain
ALGORAND_TESTNET
ALGORAND_BETANET
ALGORAND_MAINNET
assetId : The id of the Asset
assetId
Example :
curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/Algorand/chain/ALGORAND_TESTNET/asset/257177850/metadata" -H "accept: application/json"
Response :
{ "name": "string", "description": "string", "image": "string", "decimals": 0, "unitName": "string", "properties": { "size": 0 } }
import id.walt.nftkit.services.AlgorandNftService import id.walt.nftkit.services.AlgorandChain val assetId = "257177850" val result = AlgorandNftService.getNftMetadata(assetId, AlgorandChain.TESTNET) println(result)
Last updated 1 year ago
Was this helpful?
This site uses cookies to deliver its service and to analyse traffic. By browsing this site, you accept the privacy policy.