Skip to main content
Version: Current

Struct NFTView


_18
pub struct NFTView {
_18
_18
pub let id: UInt64
_18
_18
pub let uuid: UInt64
_18
_18
pub let display: Display?
_18
_18
pub let externalURL: ExternalURL?
_18
_18
pub let collectionData: NFTCollectionData?
_18
_18
pub let collectionDisplay: NFTCollectionDisplay?
_18
_18
pub let royalties: Royalties?
_18
_18
pub let traits: Traits?
_18
}

NFTView wraps all Core views along id and uuid fields, and is used to give a complete picture of an NFT. Most NFTs should implement this view.

Initializer


_10
init(id: UInt64, uuid: UInt64, display: Display?, externalURL: ExternalURL?, collectionData: NFTCollectionData?, collectionDisplay: NFTCollectionDisplay?, royalties: Royalties?, traits: Traits?)