referrerpolicy=no-referrer-when-downgrade
pallet_revive::pallet::dispatchables

Function eth_transact

Source
pub fn eth_transact<T: Config>(payload: Vec<u8>)
Expand description

A raw EVM transaction, typically dispatched by an Ethereum JSON-RPC server.

§Parameters

  • payload: The encoded crate::evm::TransactionSigned.
  • gas_limit: The gas limit enforced during contract execution.
  • storage_deposit_limit: The maximum balance that can be charged to the caller for storage usage.

§Note

This call cannot be dispatched directly; attempting to do so will result in a failed transaction. It serves as a wrapper for an Ethereum transaction. When submitted, the runtime converts it into a [sp_runtime::generic::CheckedExtrinsic] by recovering the signer and validating the transaction.

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::eth_transact.