NftDeployContractV2

To Deploy Redeemable Contract we need use this API

Sample mutation

mutation NftDeployContractV2($input:DeployContractInputV2){
  NftDeployContractV2( input:$input){
    id
  }
}

Sample variable

{
"input":{
"orgID": "8fb128bd-f55d-4bcc-8b6c-0beb684e4d4e",
"nftContractID": "20e6c4b0-1597-46dd-9ba4-796715413487",
"deploymentType":"REDEEM_SETUP"
}
}

Sample Response

{
  "data": {
    "NftDeployContractV2": {
      "id": "becae1e3-07f5-4ce3-91e3-780938984596",
      "__typename": "NFTContract"
    }
  }
}

Arguments

NameTypeDescriptionRequired
orgIDUUIDThe Organization IDYes
nftContractIDUUIDRedeemable NFT Contract IDYes
deploymentTypeContractDeploymentTypeThe Contract Deployment TypeYes

Field

NameTypeDescription
NFTContractObjectThe NFTContract Obejct will return ID, Contracttype, Name, Status of contracts Etc.

Example