AssetRegistry¶
Calls¶
register_asset¶
Attributes¶
Name | Type |
---|---|
metadata | AssetMetadata<T::Balance, T::CustomMetadata> |
asset_id | Option<T::AssetId> |
Python¶
call = substrate.compose_call(
'AssetRegistry', 'register_asset', {
'asset_id': (None, 'u32'),
'metadata': {
'additional': {
'coingecko_id': 'Bytes',
'fee_per_second': 'u128',
},
'decimals': 'u32',
'existential_deposit': 'u128',
'location': (
None,
{
None: None,
'V2': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'Bytes',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::67',
'scale_info::67',
),
'X3': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X4': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X5': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X6': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X7': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X8': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
},
'parents': 'u8',
},
'V3': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'InnerStruct',
'GlobalConsensus': 'scale_info::78',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::76',
'scale_info::76',
),
'X3': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X4': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X5': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X6': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X7': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X8': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
},
'parents': 'u8',
},
},
),
'name': 'Bytes',
'symbol': 'Bytes',
},
}
)
update_asset¶
Attributes¶
Name | Type |
---|---|
asset_id | T::AssetId |
decimals | Option<u32> |
name | Option<Vec<u8>> |
symbol | Option<Vec<u8>> |
existential_deposit | Option<T::Balance> |
location | Option<Option<VersionedMultiLocation>> |
additional | Option<T::CustomMetadata> |
Python¶
call = substrate.compose_call(
'AssetRegistry', 'update_asset', {
'additional': (
None,
{
'coingecko_id': 'Bytes',
'fee_per_second': 'u128',
},
),
'asset_id': 'u32',
'decimals': (None, 'u32'),
'existential_deposit': (
None,
'u128',
),
'location': (
None,
(
None,
{
None: None,
'V2': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'Bytes',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::67',
'scale_info::67',
),
'X3': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X4': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X5': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X6': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X7': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X8': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
},
'parents': 'u8',
},
'V3': {
'interior': {
'Here': None,
'X1': {
'AccountId32': 'InnerStruct',
'AccountIndex64': 'InnerStruct',
'AccountKey20': 'InnerStruct',
'GeneralIndex': 'u128',
'GeneralKey': 'InnerStruct',
'GlobalConsensus': 'scale_info::78',
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': 'InnerStruct',
},
'X2': (
'scale_info::76',
'scale_info::76',
),
'X3': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X4': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X5': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X6': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X7': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X8': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
},
'parents': 'u8',
},
},
),
),
'name': (None, 'Bytes'),
'symbol': (None, 'Bytes'),
}
)
Events¶
RegisteredAsset¶
Attributes¶
Name | Type | Composition |
---|---|---|
asset_id | T::AssetId |
u32 |
metadata | AssetMetadata<T::Balance, T::CustomMetadata> |
{'decimals': 'u32', 'name': 'Bytes', 'symbol': 'Bytes', 'existential_deposit': 'u128', 'location': (None, {None: None, 'V2': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::67', 'X2': ('scale_info::67', 'scale_info::67'), 'X3': ('scale_info::67', 'scale_info::67', 'scale_info::67'), 'X4': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X5': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X6': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X7': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X8': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67')}}, 'V3': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::76', 'X2': ('scale_info::76', 'scale_info::76'), 'X3': ('scale_info::76', 'scale_info::76', 'scale_info::76'), 'X4': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X5': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X6': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X7': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X8': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76')}}}), 'additional': {'fee_per_second': 'u128', 'coingecko_id': 'Bytes'}} |
UpdatedAsset¶
Attributes¶
Name | Type | Composition |
---|---|---|
asset_id | T::AssetId |
u32 |
metadata | AssetMetadata<T::Balance, T::CustomMetadata> |
{'decimals': 'u32', 'name': 'Bytes', 'symbol': 'Bytes', 'existential_deposit': 'u128', 'location': (None, {None: None, 'V2': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::67', 'X2': ('scale_info::67', 'scale_info::67'), 'X3': ('scale_info::67', 'scale_info::67', 'scale_info::67'), 'X4': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X5': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X6': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X7': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67'), 'X8': ('scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67', 'scale_info::67')}}, 'V3': {'parents': 'u8', 'interior': {'Here': None, 'X1': 'scale_info::76', 'X2': ('scale_info::76', 'scale_info::76'), 'X3': ('scale_info::76', 'scale_info::76', 'scale_info::76'), 'X4': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X5': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X6': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X7': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76'), 'X8': ('scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76', 'scale_info::76')}}}), 'additional': {'fee_per_second': 'u128', 'coingecko_id': 'Bytes'}} |
Storage functions¶
LastAssetId¶
The last processed asset id - used when assigning a sequential id.
Python¶
result = substrate.query(
'AssetRegistry', 'LastAssetId', []
)
Return value¶
'u32'
LocationToAssetId¶
Maps a multilocation to an asset id - useful when processing xcm messages.
Python¶
result = substrate.query(
'AssetRegistry', 'LocationToAssetId', [
{
'interior': {
'Here': None,
'X1': {
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
{
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
{
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
{
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': {
'denom': 'u32',
'nom': 'u32',
},
'Fraction': {
'denom': 'u32',
'nom': 'u32',
},
'Members': {
'count': 'u32',
},
'MoreThanProportion': {
'denom': 'u32',
'nom': 'u32',
},
'Voice': None,
},
},
},
'X2': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X3': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X4': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X5': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X6': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X7': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
'X8': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::78',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::78',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::78',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': {
'block_hash': '[u8; 32]',
'block_number': 'u64',
},
'ByGenesis': '[u8; 32]',
'Ethereum': {
'chain_id': 'u64',
},
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': {
'Administration': None,
'Defense': None,
'Executive': None,
'Index': 'u32',
'Judicial': None,
'Legislative': None,
'Moniker': '[u8; 4]',
'Technical': None,
'Treasury': None,
'Unit': None,
},
'part': {
'AtLeastProportion': 'InnerStruct',
'Fraction': 'InnerStruct',
'Members': 'InnerStruct',
'MoreThanProportion': 'InnerStruct',
'Voice': None,
},
},
},
),
},
'parents': 'u8',
},
]
)
Return value¶
'u32'
Metadata¶
The metadata of an asset, indexed by asset id.
Python¶
result = substrate.query(
'AssetRegistry', 'Metadata', ['u32']
)
Return value¶
{
'additional': {'coingecko_id': 'Bytes', 'fee_per_second': 'u128'},
'decimals': 'u32',
'existential_deposit': 'u128',
'location': (
None,
{
None: None,
'V2': {
'interior': {
'Here': None,
'X1': 'scale_info::67',
'X2': ('scale_info::67', 'scale_info::67'),
'X3': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X4': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X5': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X6': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X7': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
'X8': (
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
'scale_info::67',
),
},
'parents': 'u8',
},
'V3': {
'interior': {
'Here': None,
'X1': 'scale_info::76',
'X2': ('scale_info::76', 'scale_info::76'),
'X3': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X4': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X5': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X6': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X7': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
'X8': (
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
'scale_info::76',
),
},
'parents': 'u8',
},
},
),
'name': 'Bytes',
'symbol': 'Bytes',
}
Errors¶
AssetNotFound¶
Asset was not found.
BadVersion¶
The version of the VersionedMultiLocation
value used is not able
to be interpreted.
ConflictingAssetId¶
Another asset was already register with this asset id.
ConflictingLocation¶
Another asset was already register with this location.
InvalidAssetId¶
The asset id is invalid.