Function pallet_example_authorization_tx_extension::pallet_assets::dispatchables::create_asset
source · pub fn create_asset<T: Config>(asset_id: AssetId)
Expand description
Simple call that just creates an asset with a specific AssetId
. This call will fail if
there is already an asset with the same AssetId
.
The origin is either a single account (traditionally signed origin) or a coowner origin.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::create_asset
.