Skip to main content
Version: Next

Resource Interface CollectionPublic


_10
pub resource interface CollectionPublic {
_10
}

Interface that an account would commonly publish for their collection

Functions

deposit()


_10
fun deposit(token: NFT)


getIDs()


_10
fun getIDs(): [UInt64]


borrowNFT()


_10
fun borrowNFT(id: UInt64): &NFT


borrowNFTSafe()


_10
fun borrowNFTSafe(id: UInt64): &NFT?