assethub-polkadot
subscan
AssetHub Polkadot
Runtime Modules / AssetRate
Spec Version:
Call Functions
Name
Lookup
Parameters
create43002
update43012
remove43021
Events
Name
Lookup
Attributes
AssetRateCreated4300["AssetKind","FixedU128"]
AssetRateRemoved4301["AssetKind"]
AssetRateUpdated4302["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":206,"value_id":168}}
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.