Runtime Pallets
Evm
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
api.tx.evm.call
function call(
source: H160,
target: H160,
input: Bytes,
value: U256,
gas_limit: u64,
max_fee_per_gas: U256,
max_priority_fee_per_gas: Option<U256>,
nonce: Option<U256>,
access_list: Vec<(H160,Vec<H256>)>
)
api.tx.evm.create
function create(
source: H160,
init: Bytes,
value: U256,
gas_limit: u64,
max_fee_per_gas: U256,
max_priority_fee_per_gas: Option<U256>,
nonce: Option<U256>,
access_list: Vec<(H160,Vec<H256>)>
)
api.tx.evm.create2
function create2(
source: H160,
init: Bytes,
salt: H256,
value: U256,
gas_limit: u64,
max_fee_per_gas: U256,
max_priority_fee_per_gas: Option<U256>,
nonce: Option<U256>,
access_list: Vec<(H160,Vec<H256>)>
)
api.tx.evm.withdraw
function withdraw(
address: H160,
value: u128
)
api.query.evm.accountCodes
function accountCodes(
H160
): Bytes
api.query.evm.accountStorages
function accountStorages(
H160,
H256
): H256
api.events.evm.Created
type Created = {
address: H160
}
api.events.evm.CreatedFailed
type CreatedFailed = {
address: H160
}
api.events.evm.Executed
type Executed = {
address: H160
}
api.events.evm.ExecutedFailed
type ExecutedFailed = {
address: H160
}
api.events.evm.Log
type Log = {
log: EthereumLog
}
api.errors.evm.BalanceLow
api.errors.evm.FeeOverflow
api.errors.evm.GasLimitTooHigh
api.errors.evm.GasLimitTooLow
api.errors.evm.GasPriceTooLow
api.errors.evm.InvalidNonce
api.errors.evm.PaymentOverflow
api.errors.evm.Reentrancy
api.errors.evm.Undefined
api.errors.evm.WithdrawFailed
Was this page helpful?