MessageTransact¶
Calls¶
message_transact¶
This call can only be called by the lcmp message layer and is not available to normal users.
Attributes¶
Name | Type |
---|---|
transaction | Box<Transaction> |
Python¶
call = substrate.compose_call(
'MessageTransact', 'message_transact', {
'transaction': {
'EIP1559': {
'access_list': [
{
'address': '[u8; 20]',
'storage_keys': [
'[u8; 32]',
],
},
],
'action': {
'Call': '[u8; 20]',
'Create': None,
},
'chain_id': 'u64',
'gas_limit': '[u64; 4]',
'input': 'Bytes',
'max_fee_per_gas': '[u64; 4]',
'max_priority_fee_per_gas': '[u64; 4]',
'nonce': '[u64; 4]',
'odd_y_parity': 'bool',
'r': '[u8; 32]',
's': '[u8; 32]',
'value': '[u64; 4]',
},
'EIP2930': {
'access_list': [
{
'address': '[u8; 20]',
'storage_keys': [
'[u8; 32]',
],
},
],
'action': {
'Call': '[u8; 20]',
'Create': None,
},
'chain_id': 'u64',
'gas_limit': '[u64; 4]',
'gas_price': '[u64; 4]',
'input': 'Bytes',
'nonce': '[u64; 4]',
'odd_y_parity': 'bool',
'r': '[u8; 32]',
's': '[u8; 32]',
'value': '[u64; 4]',
},
'Legacy': {
'action': {
'Call': '[u8; 20]',
'Create': None,
},
'gas_limit': '[u64; 4]',
'gas_price': '[u64; 4]',
'input': 'Bytes',
'nonce': '[u64; 4]',
'signature': {
'r': '[u8; 32]',
's': '[u8; 32]',
'v': 'u64',
},
'value': '[u64; 4]',
},
},
}
)
Errors¶
MessageTransactError¶
EVM validation errors.