# NFT Garden NFT determination

## getisgdnnft <a href="#getisgdnnft" id="getisgdnnft"></a>

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

## Basic Information <a href="#basic-info" id="basic-info"></a>

<table><thead><tr><th width="134">Property</th><th width="260">Detail</th></tr></thead><tbody><tr><td>URL</td><td><code>/api/v1/getisgdnnft</code></td></tr><tr><td>Method</td><td>POST</td></tr></tbody></table>

## Request parameter <a href="#request" id="request"></a>

<table><thead><tr><th width="243">Parameter</th><th width="79">Type</th><th width="104">Required</th><th width="243">Detail</th></tr></thead><tbody><tr><td>receiver_wallet_address</td><td>str</td><td>yes</td><td>NFT Owner</td></tr><tr><td>blockchain</td><td>str</td><td>yes</td><td>Blockchain to mint</td></tr><tr><td>nft_gdn_ids</td><td>str</td><td>yes</td><td>ID of the target NFT</td></tr></tbody></table>

## Sample requests <a href="#sample-request" id="sample-request"></a>

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

## Example of successful response <a href="#response" id="response"></a>

```json
{
    "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) <a href="#error" id="error"></a>

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