nftContract

This query loads the information about the NFT contract.

General Pattern

query{
  nftContract(id:"bb701729-d5a9-44a3-8337-3ca413f1c5d8"){
    id
    nftContractType{
      id
      name
    }
    symbol
    wallet{
      id
      name
      address
      parentType
      parentID
      network{
        id
        name
        chainID
        rpcURL
        openSeaProxyAddress
        wethAddress
        safeMasterContractAddress
        safeFactoryAddress
        safeFallbackHandler
      }
      networkId
      deploymentTxHash
      gnosisSafeURL
    }
    contractAddress
    marketplaceAddress
    activationTxHash
    deploymentTxHash
    mediaTxHash
    arweavePathManifest
    transferOwnershipHash
    nftTokens{
      id
      name
      metadataArweaveTxId
      metadataArweaveTxLink
      onChainId
      ethereumTxId
      editions
    }
  }
}

Sample query

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

Sample response

{
  "data": {
    "nftContract": {
      "id": "bb701729-d5a9-44a3-8337-3ca413f1c5d8",
      "nftContractType": {
        "id": "dac53439-6f45-4874-b499-a981b63c093d",
        "name": "ERC721Creator"
      },
      "symbol": "",
      "wallet": {
        "id": "79a18c5c-15ee-4451-b670-e7fde42223db",
        "name": "abcd",
        "address": "0x552BeD96BFC5A7c8b3a8aD18e70630f2F33D5D89",
        "parentType": "organization",
        "parentID": "a1dc174d-abf4-47d3-be3c-9281c6eba456",
        "network": {
          "id": "ee800f19-d924-405a-9189-c561dad8af29",
          "name": "Rinkeby Testnet",
          "chainID": 4,
          "rpcURL": "https://eth-rinkeby.alchemyapi.io/v2/N_B27MNYWLRXcrpQpa-E5b5Sd67v1_wW",
          "openSeaProxyAddress": "0xf57b2c51ded3a29e6891aba85459d600256cf317",
          "wethAddress": "0xc778417E063141139Fce010982780140Aa0cD5Ab",
          "safeMasterContractAddress": "0x6851D6fDFAfD08c0295C392436245E5bc78B0185",
          "safeFactoryAddress": "0x76E2cFc1F5Fa8F6a5b3fC4c8F4788F0116861F9B",
          "safeFallbackHandler": "0xd5d82b6addc9027b22dca772aa68d5d74cdbdf44"
        },
        "networkId": "ee800f19-d924-405a-9189-c561dad8af29",
        "deploymentTxHash": "0xcdfe3506e07f5a2d76f633a1b2e5a505e24cce6336cf7d8729d49f2646c4fb96",
        "gnosisSafeURL": "https://gnosis-safe.io/app/rin:0x552BeD96BFC5A7c8b3a8aD18e70630f2F33D5D89"
      },
      "contractAddress": "0xA8E88996Ae0b781ab0A68EC6B2EFd3cFE563d7c8",
      "marketplaceAddress": "",
      "activationTxHash": "0x1ac3477836c308f364b22ec36ccfa27c407a1e927e9f108b24d43d4437b376a1",
      "deploymentTxHash": "0x8be9ee622eb288b333f378e276fa20305c2096c34f25766d78f2df6a81b7a433",
      "mediaTxHash": "",
      "arweavePathManifest": "",
      "transferOwnershipHash": "",
      "nftTokens": [
        {
          "id": "847ac3ca-973f-48ff-b906-bad515edac86",
          "name": "movie ",
          "metadataArweaveTxId": null,
          "metadataArweaveTxLink": null,
          "onChainId": null,
          "ethereumTxId": null,
          "editions": null
        }
      ]
    }
  }
}

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: