checkRedeemStatus

The query retrieves information about whether a specific auction is eligible for claiming and the time frame in which it can be claimed.

Sample query

query checkRedeemStatus(
  $contractAddress:String!
  $tokenId: BigInt!
	$orgId: UUID1!
	$networkId: UUID1!
){
  checkRedeemStatus(
    contractAddress: $contractAddress
    tokenId:   $tokenId
    orgId: $orgId
    networkId: $networkId
  ){
    isTokenRedeemed
    redeemableTxHash
    redeemStatus
    isEligible
    eligibleTokens
  }
}


Sample variable

{
  "contractAddress": "0x959E967883891df8C857cF9E261eE672cffD644d",
    "tokenId": "2",
   "orgId": "5eb26a32-2a2f-4f4a-88fa-e92fad02b67d",
    "networkId": "b260424b-bb37-4a3e-86d0-0866175e5e68"

}

Sample response

{
  "data": {
    "checkRedeemStatus": {
      "isTokenRedeemed": true,
      "redeemableTxHash": "0x2576ed9755e7b90500b1c890d3c7dac8b042017b75d4641788ebf3c2b1775278",
      "redeemStatus": "COMPLETED",
      "isEligible": false,
      "eligibleTokens": 0
    }
  }
}

Arguments

NameTypeDescriptionRequired
contractAddressStringRedeem Contract AddressYes
tokenIdBigIntToken IDYes
orgIdUUIDOrganization ID.Yes
networkIdUUIDNetwork ID.Yes

Feilds

NameTypeDescription
isTokenRedeemedBooleanToken Redeem Status
redeemableTxHashStringToken Redeem Hash
redeemStatusStringToken Status
isEligibleBooleanWill return the Eligibility of token id passed
eligibleTokensIntegerCount of Eligible token can be redeem