pub fn clear_metadata<T: Config<I>, I: 'static>(
    collection: T::CollectionId,
    item: T::ItemId
Expand description

Clear the metadata for an item.

Origin must be either ForceOrigin or Signed and the sender should be the Owner of the item.

Any deposit is freed for the collection’s owner.

  • collection: The identifier of the collection whose item’s metadata to clear.
  • item: The identifier of the item whose metadata to clear.

Emits MetadataCleared.

Weight: O(1)

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::clear_metadata.