XcmHelper¶
Calls¶
update_xcm_weight_fee¶
Update xcm fees amount to be used in xcm.Withdraw message
Attributes¶
Name | Type |
---|---|
xcm_call | XcmCall |
xcm_weight_fee_misc | XcmWeightFeeMisc<Weight, BalanceOf<T>> |
Python¶
call = substrate.compose_call(
'XcmHelper', 'update_xcm_weight_fee', {
'xcm_call': {
'AddMemo': None,
'AddProxy': None,
'Bond': None,
'BondExtra': None,
'Contribute': None,
'Nominate': None,
'Proxy': None,
'Rebond': None,
'RemoveProxy': None,
'TransferToSiblingchain': {
'interior': {
'Here': None,
'X1': {
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'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,
},
},
},
'X2': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X3': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X4': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X5': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X6': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X7': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X8': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
},
'parents': 'u8',
},
'Unbond': None,
'Withdraw': None,
'WithdrawUnbonded': None,
},
'xcm_weight_fee_misc': {
'fee': 'u128',
'weight': {
'proof_size': 'u64',
'ref_time': 'u64',
},
},
}
)
Events¶
XcmWeightFeeUpdated¶
Xcm fee and weight updated
Attributes¶
Name | Type | Composition |
---|---|---|
None | XcmWeightFeeMisc<Weight, BalanceOf<T>> |
{'weight': {'ref_time': 'u64', 'proof_size': 'u64'}, 'fee': 'u128'} |
Storage functions¶
XcmWeightFee¶
Python¶
result = substrate.query(
'XcmHelper', 'XcmWeightFee', [
{
'AddMemo': None,
'AddProxy': None,
'Bond': None,
'BondExtra': None,
'Contribute': None,
'Nominate': None,
'Proxy': None,
'Rebond': None,
'RemoveProxy': None,
'TransferToSiblingchain': {
'interior': {
'Here': None,
'X1': {
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'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,
},
},
},
'X2': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X3': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X4': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X5': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X6': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X7': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
'X8': (
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
{
'AccountId32': {
'id': '[u8; 32]',
'network': (
None,
'scale_info::65',
),
},
'AccountIndex64': {
'index': 'u64',
'network': (
None,
'scale_info::65',
),
},
'AccountKey20': {
'key': '[u8; 20]',
'network': (
None,
'scale_info::65',
),
},
'GeneralIndex': 'u128',
'GeneralKey': {
'data': '[u8; 32]',
'length': 'u8',
},
'GlobalConsensus': {
'BitcoinCash': None,
'BitcoinCore': None,
'ByFork': 'InnerStruct',
'ByGenesis': '[u8; 32]',
'Ethereum': 'InnerStruct',
'Kusama': None,
'Polkadot': None,
'Rococo': None,
'Westend': None,
'Wococo': None,
},
'OnlyChild': None,
'PalletInstance': 'u8',
'Parachain': 'u32',
'Plurality': {
'id': 'scale_info::68',
'part': 'scale_info::69',
},
},
),
},
'parents': 'u8',
},
'Unbond': None,
'Withdraw': None,
'WithdrawUnbonded': None,
},
]
)
Return value¶
{'fee': 'u128', 'weight': {'proof_size': 'u64', 'ref_time': 'u64'}}
Constants¶
NotifyTimeout¶
Notify call timeout
Value¶
100
Python¶
constant = substrate.get_constant('XcmHelper', 'NotifyTimeout')
PalletId¶
Pallet account for collecting xcm fees
Value¶
'0x7061722f66656573'
Python¶
constant = substrate.get_constant('XcmHelper', 'PalletId')
RefundLocation¶
Account on relaychain for receiving refunded fees
Value¶
'hJKfSZCBUmsiNKUSXAUfE3zdsP6pUFnPNS4Y2NjAhE2eVfm2v'
Python¶
constant = substrate.get_constant('XcmHelper', 'RefundLocation')
RelayCurrency¶
Relay currency
Value¶
100
Python¶
constant = substrate.get_constant('XcmHelper', 'RelayCurrency')
RelayNetwork¶
Relay network
Value¶
'Kusama'
Python¶
constant = substrate.get_constant('XcmHelper', 'RelayNetwork')
Errors¶
ConvertAccountError¶
Can not convert account success
InsufficientXcmFees¶
Insufficient xcm fees
MultiLocationNotInvertible¶
MultiLocation
value ascend more parents than known ancestors of local location.
SendFailure¶
The message and destination was recognized as being reachable but the operation could not be completed.
ZeroXcmFees¶
Xcm fees cannot be zero
ZeroXcmWeightMisc¶
XcmWeightMisc cannot have zero value