Skip to main content

NftID

Represents an NFT on the Ledger.
FieldTypeDescription
tokenIDTokenIDThe (non-fungible) token of which this NFT is an instance
serialNumberint64The unique identifier of this instance

TokenGetNftInfoQuery

Applicable only to tokens of type NON_FUNGIBLE_UNIQUE. Gets info on a NFT for a given TokenID (of type NON_FUNGIBLE_UNIQUE) and serial number.
FieldTypeDescription
headerQueryHeaderStandard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither)
nftIDNftIDThe ID of the NFT

TokenNftInfo

FieldTypeDescription
nftIDNftIDThe ID of the NFT
accountIDAccountIDThe current owner of the NFT
creationTimeTimestampThe effective consensus timestamp at which the NFT was minted
metadatabytesRepresents the unique metadata of the NFT
ledger_idbytesThe ledger ID the response was returned from; please see HIP-198 for the network-specific IDs
spender_idAccountIDIf an allowance is granted for the NFT, its corresponding spender account

TokenGetNftInfoResponse

FieldTypeDescription
headerResponseHeaderStandard response from node to client, including the requested fields: cost, or state proof, or both, or neither
nftTokenNftInfoThe information about this NFT