isTokenRedeemed

This query confirms if the token has already been redeemed.

General Pattern

query{
    isTokenRedeemed(nftContractId: UUID1!
extensionAddress: String!
tokenId: Int!){
    field_1
    field_2 {
       nested_field_1
       ...
    }
  }
}

Sample Query

query{
  isTokenRedeemed(nftContractId:"666505bb-9f77-4b39-b2e2-ac903c7515fd"
  extensionAddress:"0x09273d05f660f8072ed82787bc60155b2dea5e06"
  tokenId:1)
}

Arguments

NameTypeDescriptionRequired
nftContractIdUUIDThe NFT contract ID.Yes
extensionAddressStringThe NFT contract registered extension address.Yes
tokenIdIntegerThe token ID.Yes

Field

NameTypeDescription
N/ABooleanA confirmation if the token has already been redeemed.

Example

Affirm the redeemed token by the NFT contract ID, extension address, and token ID: