clear_metadata: TxDescriptor<{
    collection: number;
    item: number;
}>

Clear the metadata for an item.

Origin must be either ForceOrigin or Signed and the sender should be the Admin of the collection.

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 ItemMetadataCleared.

Weight: O(1)