Function pallet_uniques::source ·
pallet:: dispatchables:: burn
pub fn burn<T: Config<I>, I: 'static>( collection: T::CollectionId, item: T::ItemId, check_owner: Option<<<T as Config>::Lookup as StaticLookup>::Source> )
Destroy a single item.
Origin must be Signed and the signing account must be either:
the Admin of the
the Owner of the
collection: The collection of the item to be burned.
item: The item of the item to be burned.
Somethen the operation will fail with
WrongOwnerunless the item is owned by this value.
Burned with the actual amount burned.
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in