Skip to content

Currency


Constants


GetRelayChainCurrencyId

Relay chain currency e.g. DOT/KSM

Value

{'XCM': 0}

Python

constant = substrate.get_constant('Currency', 'GetRelayChainCurrencyId')

Errors


AssetConversionError


BalanceConversionError


CompatibleRoundingFailed


IncompatibleAmount


InvalidCurrency


TryIntoIntError