Skip to main content

Struct NFTCollectionData


_16
pub struct NFTCollectionData {
_16
_16
pub let storagePath: StoragePath
_16
_16
pub let publicPath: PublicPath
_16
_16
pub let providerPath: PrivatePath
_16
_16
pub let publicCollection: Type
_16
_16
pub let publicLinkedType: Type
_16
_16
pub let providerLinkedType: Type
_16
_16
pub let createEmptyCollection: ((): @NonFungibleToken.Collection)
_16
}

View to expose the information needed store and retrieve an NFT. This can be used by applications to setup a NFT collection with proper storage and public capabilities.

Initializer


_10
init(storagePath: StoragePath, publicPath: PublicPath, providerPath: PrivatePath, publicCollection: Type, publicLinkedType: Type, providerLinkedType: Type, createEmptyCollectionFunction: ((): @NonFungibleToken.Collection))