reth::core::rpc::compat::transaction

Function from_recovered

pub fn from_recovered<T>(
    tx: TransactionSignedEcRecovered,
    resp_builder: &T,
) -> Result<<T as TransactionCompat>::Transaction, <T as TransactionCompat>::Error>
Expand description

Create a new rpc transaction result for a pending signed transaction, setting block environment related fields to None.