AssetHub Westend
subscan
Runtime Modules / AssetRate
Spec Version:
Call Functions
Name
Lookup
Parameters
create5f002
update5f012
remove5f021
Events
Name
Lookup
Attributes
AssetRateCreated5f00["AssetKind","FixedU128"]
AssetRateRemoved5f01["AssetKind"]
AssetRateUpdated5f02["AssetKind","FixedU128","FixedU128"]
Storage Functions
Name
Type
ConversionRateToNative{"origin":"Map","n_map_type":{"hashers":["Blake2_128Concat"],"key_vec":["polkadot_runtime_common:impls:VersionedLocatableAsset"],"value":"U128","keys_id":476,"value_id":146}}
Error Types
Name
Docs
UnknownAssetKindThe given asset ID is unknown.
AlreadyExistsThe given asset ID already has an assigned conversion rate and cannot be re-created.
OverflowOverflow ocurred when calculating the inverse rate.