ConfirmOnchainRedeemToken

This API used to Confirm the Onchain Redeem Token

Sample mutation

mutation ConfirmOnchainRedeemToken($redeemCollectionAddress:String!,
  $tokenId:BigInt!,
  $walletAddress:String!,
  $quantity:BigInt,
  $orgId:UUID1!,
  $networkId:UUID1!,
	$txHash:String!){
  ConfirmOnchainRedeemToken(
    redeemCollectionAddress: $redeemCollectionAddress
    tokenId: $tokenId
    walletAddress: $walletAddress
    quantity: $quantity
    orgId: $orgId
    networkId: $networkId
  	txHash:$txHash)
}

Sample variable

{
    "redeemCollectionAddress": "0x9e90b5eFA76487Ac803572AE92AfA1e622145FD5",
    "tokenId": "2",
    "walletAddress": "0x825e6ce1855ed046F19A384ea6F1498e47fD405F",
    "quantity": "0",
    "orgId": "8fb128bd-f55d-4bcc-8b6c-0beb684e4d4e",
    "networkId": "b260424b-bb37-4a3e-86d0-0866175e5e68",
  	"txHash": "0xd1d9a8658f833fe2029f3a81903cde9f74c475946ec1b7579d76afe46324c9ae"
}

Sample Response

{
  "data": {
    "ConfirmOnchainRedeemToken": {
      "Redeem Completed Successfully"
    }
  }
}

Arguments

NameTypeDescriptionRequired
redeemCollectionAddressStringRedeem Collection AddressYes
tokenIdBigIntToken ID to be RedeemedYes
walletAddressStringWallet AddressYes
quantityBigIntQuantity of tokenNo
tokenURIStringToken URINo
orgIDUUIDThe Organization IDYes
networkIdUUIDRedeemable NFT Contract IDYes
tokenTypeTokenTypeThe Contract Deployment TypeYes
gatingGateInputGating Rule InputNo

Field

NameTypeDescription
statusStringWill return the status of redeem token process on completion otherwise error message
signerInfoSignerResponseWill return the Signer details which needed to pass it to blockchain Transaction