anvil::eth::backend::mem

Function transaction_build

Source
pub fn transaction_build(
    tx_hash: Option<B256>,
    eth_transaction: MaybeImpersonatedTransaction,
    block: Option<&Block>,
    info: Option<TransactionInfo>,
    base_fee: Option<u64>,
) -> AnyRpcTransaction
Expand description

Creates a AnyRpcTransaction as it’s expected for the eth RPC api from storage data