Skip to main content
Version: Next

Resource Interface ExampleNFTCollectionPublic

resource interface ExampleNFTCollectionPublic {
}

Defines the methods that are particular to this NFT contract collection

Functions

fun deposit()

func deposit(token NonFungibleToken.NFT)

fun getIDs()

func getIDs(): [UInt64]

fun borrowNFT()

func borrowNFT(id UInt64): &NonFungibleToken.NFT

fun borrowExampleNFT()

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