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

Name

Type

Description

Required

nftContractId

UUID

The NFT contract ID.

Yes

extensionAddress

String

The NFT contract registered extension address.

Yes

tokenId

Integer

The token ID.

Yes

Field

Name

Type

Description

N/A

Boolean

A confirmation if the token has already been redeemed.

Example

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