Get NFT details

getnfts

Get NFT details for the specified nft_gdn_id.

Basic Information

PropertyDetail

URL

/api/v1/getnfts

Method

POST

Request parameter

ParameterTypeRequiredDetail

nft_gdn_ids

array[string]

yes

nft_gdn_id of target NFT

Sample requests

{
    "nft_gdn_ids": ["cf7faf94-a5ec-462c-ad06-1bd772fefe21"]
}

Example of successful response

{
  "requests": {
    "nft_gdn_ids": [
      "cf7faf94-a5ec-462c-ad06-1bd772fefe21"
    ]
  },
  "nfts": [
    {
      "nft_gdn_id": "cf7faf94-a5ec-462c-ad06-1bd772fefe21",
      "token_id": "1",
      "contract_address": "0x0000000000000000000000000000000000000000",
      "receiver_wallet_address": "0x1111111111111111111111111111111111111111",
      "status": "deployed",
      "request_metadata": {
        "title": "NFT Name",
        "description": "Description of NFT",
        "file_fields": [
          {
            "key": "image",
            "url": "https://my.nftgarden.app/image.png"
          }
        ]
      },
      "metadata_url": "ipfs://Q7NGFbQXgUbN7mTTmwhN9nPcdkrgYqkR6xvMkhoX5Faken"
    }
  ]
}

Example of response in case of failure(status code 400)

{
  "error": {
    "title": "Request Validation Error",
    "message": "Invalid request body"
  }
}

Last updated