nftContract

This query loads the information about the NFT contract.

General Pattern

query{
    nftContract(id: "UUID1"){
    field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample query

query{
  nftContract(id:"de828c4f-ef34-41be-9491-8447d5fd50f1"){
    id
    nftContractType{
      id
      name
    }
    name
    symbol
  }
}

Sample response

{
  "data": {
    "nftContract": {
      "id": "de828c4f-ef34-41be-9491-8447d5fd50f1",
      "nftContractType": {
        "id": "dac53439-6f45-4874-b499-a981b63c093d",
        "name": "ERC721Creator"
      },
      "name": "",
      "symbol": ""
    }
  }
}

Arguments

Name

Type

Description

id

UUID

The NFT contract ID

Fields

Name

Type

Description

NFTContract

Object

Contains all the information from NFTContract that includes the NFT contract id, the NFT contract type, wallet, contract address, etc.

Example

Load the NFT contract data using its ID: