Readonly
symbol: stringThe on-chain symbol of the asset, stored in the Metadata account. E.g. "MYNFT"
Readonly
json: Option<JsonMetadata<string>>The JSON metadata associated with the metadata account.
Readonly
collection: Option<{ The parent collection the asset belongs to.
Readonly
creators: Creator[]The creators of the asset. Each object within the array contains the address, the shares in percent (i.e. 5 is 5%) and whether or not the creator is verified (i.e. they signed the asset).
Readonly
name: stringThe on-chain name of the asset, stored in the Metadata account. E.g. "My NFT #123"
Readonly
sellerThe royalties in percent basis point (i.e. 250 is 2.5%) that should be paid to the creators on each secondary sale.
Readonly
uri: stringThe URI that points to the JSON metadata of the asset.
This URI is used to load the json
property of this object.
Readonly
updateThe address of the authority that is allowed to make changes to the Metadata account.
Readonly
jsonWhether or not the JSON metadata was loaded in the first place.
When this is false
, the json
property is should be ignored.
Readonly
isWhether or not the asset is mutable.
When set to false
no one can update the Metadata account,
not even the update authority.
Readonly
primaryWhether or not the asset has already been sold to its first buyer.
When set to false
, all royalties should be paid to the creators.
When set to true
, royalties should be calculate as usual.
Readonly
editionStores the bump of the edition PDA.
Readonly
tokenThis enum indicates which type of asset we are dealing with. It can be an NFT, a limited edition of an original NFT, a fungible asset (i.e. it has zero decimals) or a fungible token (i.e. it has more than zero decimals).
Readonly
collectionWhen this field is not null
, it indicates that
the asset is a collection. Every time an asset is
verified/unverified as part of this collection,
the size
field inside this object will be updated accordingly.
Readonly
uses: Option<{ When this field is not null
, it indicates that the asset
can be "used" by its owner or any approved "use authorities".
Readonly
programmableProgrammable configuration for the asset.
Readonly
model: "nft"A model identifier to distinguish models in the SDK.
Readonly
address: PublicKeyThe mint address of the NFT.
Readonly
metadataThe metadata address of the NFT.
Readonly
mint: MintThe mint account of the NFT.
Readonly
edition: NftEditionDefines whether the NFT is an original edition or a printed edition and provides additional information accordingly.
Optional
Readonly
compression?: undefined | ReadApiCompressionMetadataGenerated using TypeDoc
This model captures all the relevant information about an NFT in the Solana blockchain. That includes the NFT's metadata account, its mint account, its edition account and its off-chain JSON metadata.