Clear an attribute for a collection or item.
Origin must be either ForceOrigin or Signed and the sender should be the Owner of the collection.
ForceOrigin
collection
Any deposit is freed for the collection's owner.
maybe_item
key
Emits AttributeCleared.
AttributeCleared
Weight: O(1)
O(1)
Clear an attribute for a collection or item.
Origin must be either
ForceOrigin
or Signed and the sender should be the Owner of thecollection
.Any deposit is freed for the collection's owner.
collection
: The identifier of the collection whose item's metadata to clear.maybe_item
: The identifier of the item whose metadata to clear.key
: The key of the attribute.Emits
AttributeCleared
.Weight:
O(1)