reth_rpc_types_compat::transaction

Function from_recovered

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

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