Skip to main content

ContractToken

The ContractToken object represents an individual token within a smart contract.

Unlike the Token object which includes a contract reference, ContractToken is specifically used when querying tokens through a contract's token collection via Contract.tokens.

Schema Definition

type ContractToken {
tokenId: UInt256!
name: String
mintTransaction: AssetTransaction
burnTransaction: AssetTransaction
media: [Media!]!
metadata: Metadata
holders: HoldersList!
}

Fields

FieldTypeDescription
tokenIdUInt256! non-null scalarThe unique identifier for this token within the contract.
nameString scalarThe display name of the NFT.
mintTransactionAssetTransaction objectAn object representing the transaction in which this token was minted.
burnTransactionAssetTransaction objectAn object representing the transaction in which this token was burned. This field is null if the token has not been burned.
media[Media!]! non-null objectAn array of Media objects representing the media assets and data associated with this token.
metadataMetadata objectAn object representing the metadata associated with this token.
holdersHoldersList! non-null objectAn array of wallet addresses that currently hold this token.

Member Of

ContractTokenList object