Clear an attribute for a collection or item.
Origin must be either ForceOrigin or Signed and the sender should be the Owner of the attribute.
ForceOrigin
Any deposit is freed for the collection's owner.
collection
maybe_item
namespace
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 the attribute.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.namespace
: Attribute's namespace.key
: The key of the attribute.Emits
AttributeCleared
.Weight:
O(1)