Return details about The Asset created using ASA on Algorand
Swagger Doc | ReDoc
curl -X GET "https://0.0.0.0:7000/v2/nftkit/nft/Algorand/chain/{chain}/asset/{assetId}/params" -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/params" -H "accept: application/json"
Response :
{ "index": 0, "createdAtRound": 0, "deleted": true, "destroyedAtRound": 0, "params": { "clawback": "string", "creator": "string", "decimals": 0, "defaultFrozen": true, "freeze": "string", "manager": "string", "name": "string", "reserve": "string", "total": 0, "unitName": "string", "url": "string" } }
import id.walt.nftkit.services.AlgorandNftService import id.walt.nftkit.services.AlgorandChain val assetId = "257177850" val result = AlgorandNftService.getAssetMeatadata(assetId, AlgorandChain.ALGORAND_TESTNET) println(result)
Last updated 6 months ago