Terp Network Docs
APIsOpenapiQuery
GET
/cosmos/nft/v1beta1/nfts/{class_id}/{id}

Path Parameters

class_id*string

class_id associated with the nft

id*string

id is a unique identifier of the NFT

Response Body

application/json

application/json

curl -X GET "http://localhost:1317/cosmos/nft/v1beta1/nfts/string/string"
{
  "nft": {
    "class_id": "string",
    "id": "string",
    "uri": "string",
    "uri_hash": "string",
    "data": {
      "type_url": "string",
      "value": "string"
    }
  }
}
{
  "error": "string",
  "code": 0,
  "message": "string",
  "details": [
    {
      "type_url": "string",
      "value": "string"
    }
  ]
}