Function pallet_nfts::pallet::dispatchables::transfer
source · pub fn transfer<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId,
dest: <<T as SystemConfig>::Lookup as StaticLookup>::Source,
)
Expand description
Move an item from the sender account to another.
Origin must be Signed and the signing account must be either:
- the Owner of the
item
; - the approved delegate for the
item
(in this case, the approval is reset).
Arguments:
collection
: The collection of the item to be transferred.item
: The item to be transferred.dest
: The account to receive ownership of the item.
Emits Transferred
.
Weight: O(1)
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::transfer
.