Resource Interface CollectionPublic
_10pub resource interface CollectionPublic {_10}
Interface that an account would commonly publish for their collection
Functions​
deposit()
​
_10fun deposit(token: NFT)
getIDs()
​
_10fun getIDs(): [UInt64]
borrowNFT()
​
_10fun borrowNFT(id: UInt64): &NFT
borrowNFTSafe()
​
_10fun borrowNFTSafe(id: UInt64): &NFT?