redeemClaimableCode

This mutation allows users to claim a specific NFT by passing the wallet address and a valid claim code for the NFT contract that is configured with a Claim Code. The Claim code can be passed as a one-time generated code or a dynamic code provided, allowing users to claim multiple NFTs at once.

Sample query

mutation RedeemClaimableCode($code: String!, $destAddr: String) {
  redeemClaimableCode(code: $code, destAddr: $destAddr)
}

Sample variable

{
  "code": "EXAMPLE_CODE1",
  "destAddr": "0xd605E300B81147d02Abd70E922390475220f6746"
}

Sample response

{
  "data": {
    "redeemClaimableCode": true
  }
}

Arguments

NameTypeDescriptionRequired
codeStringClaim Code created for the SaleYes
destAddrStringEVM Compatible Wallet AddressYes

Fields

NameTypeDescription
redeemClaimableCodeBooleanProvides status either in true or false for the claimable request