Get Contract details

getcollections

Get Contract details for the specified transaction_gdn_id.

Basic Information

Property
Detail

URL

/api/v1/getcollections

Method

POST

Request parameter

Parameter
Type
Required
Detail

transaction_gdn_ids

array[string]

yes

transaction_gdn_id of target NFT

Sample requests

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

Example of successful response

{
  "requests": {
      "transaction_gdn_ids": [
          "cf7faf94-a5ec-462c-ad06-1bd772fefe21"
      ]
  },
  "collections": [
      {
          "transaction_gdn_ids": "cf7faf94-a5ec-462c-ad06-1bd772fefe21",
          "contract_address": "0x0000000000000000000000000000000000000000",
          "name": "contract name",
          "blockchain": "polygon",
          "wallet_address": "0x1111111111111111111111111111111111111111",
          "enable_api": true,
          "enable_transfer": true,
          "description": "",
          "image": ""
      }
  ]
}

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

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

Last updated