Skip to main content
Version: Next

Resource Interface Provider

pub resource interface Provider {

Interface to mediate withdraws from the Collection



fun withdraw(withdrawID: UInt64): NFT

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


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

Returns: The NFT resource removed from the implementing resource