NFT Garden NFT determination

getisgdnnft

Determines if the NFT with the specified nft_gdn_id was generated by the NFT Garden.

Basic Information

PropertyDetail

URL

/api/v1/getisgdnnft

Method

POST

Request parameter

ParameterTypeRequiredDetail

receiver_wallet_address

str

yes

NFT Owner

blockchain

str

yes

Blockchain to mint

nft_gdn_ids

str

yes

ID of the target NFT

Sample requests

{
    "nft_gdn_ids": ["cf7faf94-a5ec-462c-ad06-1bd772fefe21"],
    "blockchain": "polygon",
    "receiver_wallet_address": "0x1111111111111111111111111111111111111111"
}

Example of successful response

{
    "requests": {
        "receiver_wallet_address": "0x1111111111111111111111111111111111111111",
        "blockchain": "polygon",
        "nft_gdn_id": "cf7faf94-a5ec-462c-ad06-1bd772fefe21"
    },
    "response": {
        "isgdnnft": true,
        "nft": {
            "nft_gdn_id": "cf7faf94-a5ec-462c-ad06-1bd772fefe21",
            "token_id": "0",
            "contract_address": "0x0000000000000000000000000000000000000000",
            "receiver_wallet_address": "0x1111111111111111111111111111111111111111",
            "status": "deployed"
        }
    }
}

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

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

Last updated