Function reth::core::rpc::compat::transaction::from_recovered_with_block_context
pub fn from_recovered_with_block_context(
tx: TransactionSignedEcRecovered,
block_hash: FixedBytes<32>,
block_number: u64,
base_fee: Option<u64>,
tx_index: usize,
) -> Transaction
Expand description
Create a new rpc transaction result for a mined transaction, using the given block hash, number, and tx index fields to populate the corresponding fields in the rpc result.
The block hash, number, and tx index fields should be from the original block where the transaction was mined.