Skip to main content

Resource Interface Provider


_10
pub resource interface Provider {
_10
}

Interface to mediate withdraws from the Collection

Functions

withdraw()


_10
fun withdraw(withdrawID: UInt64): NFT

Removes an NFT from the resource implementing it and moves it to the caller

Parameters:

  • withdrawID : The ID of the NFT that will be removed

Returns: The NFT resource removed from the implementing resource