Function pallet_assets::pallet::dispatchables::clear_metadata
source · pub fn clear_metadata<T: Config<I>, I: 'static>(id: T::AssetIdParameter)
Expand description
Clear the metadata for an asset.
Origin must be Signed and the sender should be the Owner of the asset id
.
Any deposit is freed for the asset owner.
id
: The identifier of the asset 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
.