Skip to main content
Version: Current

Resource Interface Provider

pub resource interface Provider {
}

Interface to mediate withdraws from the Collection

Functions

withdraw()

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