Trait frame_support::traits::tokens::nonfungible_v2::Transfer
source · pub trait Transfer<AccountId>: Inspect<AccountId> {
// Required method
fn transfer(item: &Self::ItemId, destination: &AccountId) -> DispatchResult;
}
Expand description
Trait for transferring a non-fungible item.
Required Methods§
sourcefn transfer(item: &Self::ItemId, destination: &AccountId) -> DispatchResult
fn transfer(item: &Self::ItemId, destination: &AccountId) -> DispatchResult
Transfer item
into destination
account.