Function pallet_nfts::pallet::dispatchables::burn
source · pub fn burn<T: Config<I>, I: 'static>(
collection: T::CollectionId,
item: T::ItemId,
)
Expand description
Destroy a single item.
The origin must conform to ForceOrigin
or must be Signed and the signing account must
be the owner of the item
.
collection
: The collection of the item to be burned.item
: The item to be burned.
Emits Burned
.
Weight: O(1)
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::burn
.