Expand description
Enumerations of well-known SS58 account types and tokens used in the Polkadot ecosystem.
Structs§
- Parse
Error - Error encountered while parsing
Ss58AddressFormat
from &’_ str unit struct for now. - Ss58
Address Format - A custom address format. See also
Ss58AddressFormatRegistry
- Token
- Name and decimals of a given token.
- Token
Amount - A given amount of token. Can be used for nicely formatted output and token-aware comparison of different amounts.
Enums§
- Ss58
Address Format Registry - A known address (sub)format/network ID for SS58.
- Token
Registry - List of well-known tokens used on some network in the ecosystem.
Functions§
- from_
address_ format - const function to convert
Ss58AddressFormat
to u16 - from_
known_ address_ format - const function to convert
Ss58AddressFormat
to u16