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
| Field | Type | Description |
|---|---|---|
tokenId | UInt256! non-null scalar | The unique identifier for this token within the contract. |
name | String scalar | The display name of the NFT. |
mintTransaction | AssetTransaction object | An object representing the transaction in which this token was minted. |
burnTransaction | AssetTransaction object | An 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 object | An array of Media objects representing the media assets and data associated with this token. |
metadata | Metadata object | An object representing the metadata associated with this token. |
holders | HoldersList! non-null object | An array of wallet addresses that currently hold this token. |
Member Of
ContractTokenList object