Skip to content

Currency


Constants


GetNativeCurrencyId

Native currency e.g. INTR/KINT

Value

{'Token': 'KINT'}

Python

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

GetRelayChainCurrencyId

Relay chain currency e.g. DOT/KSM

Value

{'Token': 'KSM'}

Python

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

GetWrappedCurrencyId

Wrapped currency e.g. IBTC/KBTC

Value

{'Token': 'KBTC'}

Python

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

Errors


InvalidCurrency


TryIntoIntError