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
Name | Type | Description | Required |
---|---|---|---|
code | String | Claim Code created for the Sale | Yes |
destAddr | String | EVM Compatible Wallet Address | Yes |
Fields
Name | Type | Description |
---|---|---|
redeemClaimableCode | Boolean | Provides status either in true or false for the claimable request |