Get NFT by Asset id

API Doc

Swagger Doc | ReDoc

Curl call example

curl -X GET "https://0.0.0.0:7000/v2/nftkit/nft/Algorand/chain/{chain}/asset/{assetId}" 
-H  "accept: application/json"

Path Params :

  • chain : chain to work with. Either ALGORAND_TESTNET , ALGORAND_BETANET, ALGORAND_MAINNET

  • assetId : The id of the Asset

Example :

curl -X GET "http://0.0.0.0:7000/v2/nftkit/nft/Algorand/chain/ALGORAND_TESTNET/asset/262542054" 
-H  "accept: application/json"

Response :

{
  "Metadata": {
    "decimals": 0,
    "description": "waltid logo NFT",
    "image": "ipfs://bafkreihph3lc43efz44d5hgukfbdxib4bdkwp4lrdg3pdrtw57nh4nkbwy",
    "name": "Waltid",
    "properties": {
      "size": {
        "content": "9814",
        "isString": false
      }
    },
    "unitName": "Waltid"
  },
  "TokenParams": {
    "createdAtRound": null,
    "deleted": null,
    "destroyedAtRound": null,
    "index": 262542054,
    "params": {
      "clawback": "GYFVJLKGSWQDHFBHBLABUXYHHSU544RV3WH4ZCF3S6HONSDP73TK4VGY3Y",
      "creator": "GYFVJLKGSWQDHFBHBLABUXYHHSU544RV3WH4ZCF3S6HONSDP73TK4VGY3Y",
      "decimals": 0,
      "defaultFrozen": false,
      "freeze": "GYFVJLKGSWQDHFBHBLABUXYHHSU544RV3WH4ZCF3S6HONSDP73TK4VGY3Y",
      "manager": "GYFVJLKGSWQDHFBHBLABUXYHHSU544RV3WH4ZCF3S6HONSDP73TK4VGY3Y",
      "name": "WaltId",
      "reserve": "GYFVJLKGSWQDHFBHBLABUXYHHSU544RV3WH4ZCF3S6HONSDP73TK4VGY3Y",
      "total": 1,
      "unitName": "Waltid",
      "url": "ipfs://bafkreierprwpdih54puuu2bnk5vjmf2lx7jr2qtptad2ncuqnd2k6aouxi#arc3"
    }
  }
}

Last updated