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
Name | Type | Description | Required |
---|---|---|---|
orgID | UUID | The Organization ID | Yes |
nftContractID | UUID | Redeemable NFT Contract ID | Yes |
deploymentType | ContractDeploymentType | The Contract Deployment Type | Yes |
Field
Name | Type | Description |
---|---|---|
NFTContract | Object | The NFTContract Obejct will return ID, Contracttype, Name, Status of contracts Etc. |