Skip to main content
Version: Current

Struct NFTCollectionDisplay


_14
pub struct NFTCollectionDisplay {
_14
_14
pub let name: String
_14
_14
pub let description: String
_14
_14
pub let externalURL: ExternalURL
_14
_14
pub let squareImage: Media
_14
_14
pub let bannerImage: Media
_14
_14
pub let socials: {String: ExternalURL}
_14
}

View to expose the information needed to showcase this NFT's collection. This can be used by applications to give an overview and graphics of the NFT collection this NFT belongs to.

Initializer


_10
init(name: String, description: String, externalURL: ExternalURL, squareImage: Media, bannerImage: Media, socials: {String: ExternalURL})