Skip to main content
Version: Next

Resource Interface ExampleNFTCollectionPublic


_10
resource interface ExampleNFTCollectionPublic {
_10
}

Defines the methods that are particular to this NFT contract collection

Functions

fun deposit()


_10
func deposit(token NonFungibleToken.NFT)


fun getIDs()


_10
func getIDs(): [UInt64]


fun borrowNFT()


_10
func borrowNFT(id UInt64): &NonFungibleToken.NFT


fun borrowExampleNFT()


_10
func borrowExampleNFT(id UInt64): &ExampleNFT.NFT?