getNftDraftContract

This query fetches the contract details from the database

Sample query

query ($id: UUID1!) {
  getNftDraftContract(id: $id) {
    nftContractId
    nftName
    nftSymbol
    artistEmailAddress
    isContractRedeemable
    network {
      id
      name
      chainID
      __typename
    }
    contractV2
    walletId
    contractAddress
    contractType {
      id
      name
      type
      __typename
    }
    royalties {
      royaltyWalletAddress
      royaltyPercentage
      __typename
    }
    nftDeployContract {
      isDelayedReveal
      emailNotifyFlag
      artistWalletAddress
      artistApprovalStatus
      maxEdition
      totalSupply
      redeemMaxLimit
      id
      nftContractId
      asset {
        id
        currentVersion {
          cdnUrl
          name
          id
          assetID
          __typename
        }
        __typename
      }
      nftContract {
        contractAddress
        redeemContractID
        deploymentTxHash
        isContractNftDynamic
        id
        isExternal
        isImported
        nftTokens {
          id
          name
          editions
          thumbnailImageCdnURL
          deployed
          tokenMetadata {
            name
            description
            image
            __typename
          }
          asset {
            currentVersion {
              cdnUrl
              __typename
            }
            __typename
          }
          onChainId
          __typename
        }
        nftContractType {
          id
          name
          type
          __typename
        }
        name
        symbol
        wallet {
          id
          name
          address
          network {
            name
            __typename
          }
          __typename
        }
        networkId
        __typename
      }
      dateDeployed
      collectionType
      collectionDescription
      status
      asciiMark
      deploymentType
      mintingMethod
      delayedRevealImageId
      delayedRevealDescription
      delayedRevealTriggerTime
      baseContractJobId
      baseContractStatus
      extensionContractJobId
      extensionContractStatus
      registerExtensionJobId
      registerExtensionStatus
      hotWalletApprovalStatus
      delayedRevealJobId
      delayedRevealStatus
      deploymentFlag
      royaltiesStatus
      royaltiesJobId
      baseDeploymentTxHash
      extensionContractDeploymentTxHash
      delayedRevealDeploymentTxHash
      royaltiesDeploymentTxHash
      delayedRevealName
      isRedeemable
      redeemableStatus
      redeemableDeploymentTxHash
      redeemableCollectionName
      redeemableCollectionSymbol
      tokenHoldingAddress
      newCollectionContractAddress
      __typename
    }
    __typename
  }
}

Sample Variable


{
  "id": "3c1fb2d9-b7cb-461e-be52-79e05491cbe0"
}

Sample response

{
  "data": {
    "getNftDraftContract": {
      "nftContractId": "3c1fb2d9-b7cb-461e-be52-79e05491cbe0",
      "nftName": "primary-col-redeem",
      "nftSymbol": "KLSS",
      "artistEmailAddress": null,
      "isContractRedeemable": false,
      "network": {
        "id": "b260424b-bb37-4a3e-86d0-0866175e5e68",
        "name": "Sepolia Testnet",
        "chainID": 11155111,
        "__typename": "Network"
      },
      "contractV2": true,
      "walletId": "7ff1774c-afa3-495e-9e0c-3f41fb6eda75",
      "contractAddress": "0xbe4B40ce20e320F43190c2BFdC122Cea88aCeB60",
      "contractType": {
        "id": "000d78c8-0902-4477-a947-8d0aec7a4d7a",
        "name": "ERC721Creator",
        "type": "ERC721",
        "__typename": "NFTContractType"
      },
      "royalties": [],
      "nftDeployContract": {
        "isDelayedReveal": false,
        "emailNotifyFlag": false,
        "artistWalletAddress": "0x2276D5184fc30d356946dF3e9FaA7558f3904Cc2",
        "artistApprovalStatus": "NOT_REQUIRED",
        "maxEdition": 0,
        "totalSupply": 10000,
        "redeemMaxLimit": 1000,
        "id": "60deb917-1c99-4e97-87b3-66db310ceaf9",
        "nftContractId": "3c1fb2d9-b7cb-461e-be52-79e05491cbe0",
        "asset": {
          "id": "00000000-0000-0000-0000-000000000000",
          "currentVersion": null,
          "__typename": "Asset"
        },
        "nftContract": {
          "contractAddress": "0xbe4B40ce20e320F43190c2BFdC122Cea88aCeB60",
          "redeemContractID": "",
          "deploymentTxHash": "",
           "isContractNftDynamic":true,
          "id": "3c1fb2d9-b7cb-461e-be52-79e05491cbe0",
          "isExternal": false,
          "isImported": false,
          "nftTokens": [
            {
              "id": "e94ae934-453c-402a-9fbc-8a03b3a0d0c0",
              "name": "ICE",
              "editions": 1,
              "thumbnailImageCdnURL": "https://gateway.arweave.net/bStmc1m16aBza0mtLMaf63SeuD8hBhwZy3vrSCqZcuc",
              "deployed": true,
              "tokenMetadata": {
                "name": "ICE",
                "description": "LOSPS",
                "image": "https://gateway.arweave.net/bStmc1m16aBza0mtLMaf63SeuD8hBhwZy3vrSCqZcuc",
                "__typename": "ERC721Metadata"
              },
              "asset": {
                "currentVersion": {
                  "cdnUrl": "https://storage.googleapis.com/mojito-dev-public/organizations/8fb128bd-f55d-4bcc-8b6c-0beb684e4d4e/images/db9aa9a4-c733-4b33-ad62-0221791e902a.jpg?z=1",
                  "__typename": "AssetVersion"
                },
                "__typename": "Asset"
              },
              "onChainId": 1,
              "__typename": "NFTToken"
            }
          ],
          "nftContractType": {
            "id": "000d78c8-0902-4477-a947-8d0aec7a4d7a",
            "name": "ERC721Creator",
            "type": "ERC721",
            "__typename": "NFTContractType"
          },
          "name": "primary-col-redeem",
          "symbol": "KLSS",
          "wallet": {
            "id": "7ff1774c-afa3-495e-9e0c-3f41fb6eda75",
            "name": "redeemWallet",
            "address": "0x2276D5184fc30d356946dF3e9FaA7558f3904Cc2",
            "network": {
              "name": "Sepolia Testnet",
              "__typename": "Network"
            },
            "__typename": "Wallet"
          },
          "networkId": "b260424b-bb37-4a3e-86d0-0866175e5e68",
          "__typename": "NFTContract"
        },
        "dateDeployed": "2023-08-07T05:59:13Z",
        "collectionType": "LimitedEdition",
        "collectionDescription": "",
        "status": "DEPLOYED",
        "asciiMark": "",
        "deploymentType": "HOT_WALLET",
        "mintingMethod": "PRE_MINT",
        "delayedRevealImageId": null,
        "delayedRevealDescription": "",
        "delayedRevealTriggerTime": null,
        "baseContractJobId": "9d6106a5-9d94-4b1f-9da1-937b0e008ff1",
        "baseContractStatus": "DEPLOYED",
        "extensionContractJobId": null,
        "extensionContractStatus": "NOT_REQUIRED",
        "registerExtensionJobId": null,
        "registerExtensionStatus": "NOT_REQUIRED",
        "hotWalletApprovalStatus": "NOT_REQUIRED",
        "delayedRevealJobId": null,
        "delayedRevealStatus": "NOT_REQUIRED",
        "deploymentFlag": true,
        "royaltiesStatus": "NOT_REQUIRED",
        "royaltiesJobId": null,
        "baseDeploymentTxHash": "0xe24154def2836e1caf17fe999c0b992efdd94f4017c8095de04f79c1261f6ec9",
        "extensionContractDeploymentTxHash": "",
        "delayedRevealDeploymentTxHash": "",
        "royaltiesDeploymentTxHash": "",
        "delayedRevealName": "",
        "isRedeemable": true,
        "redeemableStatus": "DEPLOYED",
        "redeemableDeploymentTxHash": "0x4c9a97a58fedceb81977e961238fa36d680c32b90d840489bb59d8006d748488",
        "redeemableCollectionName": "secondary-col-redeem-link",
        "redeemableCollectionSymbol": "red-link",
        "tokenHoldingAddress": "0x8240264caB8e2e05097BA91106C28801D921fE98",
        "newCollectionContractAddress": "0x603D6045a774D243b56Ca4D77E7e82f40f07C5f9",
        "__typename": "NFTContractDeployments"
      },
      "__typename": "NFTContractDeploymentDetails"
    }
  }
}

Arguments

NameTypeDescription
IDUUIDThe Token ID

Fields

NameTypeDescription
NFTContractDeploymentDetailsObjectContains all the information from NFTContractDeploymentDetails