NFT detail

getnfts

Get NFT details for the specified nft_whales_id.

Basic Information

Property
Detail

URL

/api/nfts/<contarct_address>/<token_id>?chainID=

Method

POST

Request parameter

Parameter
Type
Required
Detail

nft_whales_ids

array[string]

yes

nft_whales_id of target NFT

Sample requests

{
    "nft_whales_ids": ["645ca7bfed70ff001c0f5027"]
}

Example of successful response

{
  "requests": {
    "nft_whales_ids": [
      "645ca7bfed70ff001c0f5027"
    ]
  },
  "nfts": [
    {
      "nft_whales_id": "645ca7bfed70ff001c0f5027",
      "tokenID": "1",
      "chainID": "56",
      "contract_address": "0x0000000000000000000000000000000000000000",
      "owner":"0x0000000000000000000000000000000000000",
      "receiver_wallet_address": "0x1111111111111111111111111111111111111111",
      "status": "deployed",
      "request_metadata": {
        "title": "NFT Name",
        "description": "Description of NFT",
        "file_fields": [
          {
            "key": "image",
            "url": "https://api.mesea.io/erc721s/assets/56/1/image"
          }
        ]
      },
  ]
}

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

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

Last updated