reth_node_core::rpc::compat::transaction

Function from_recovered

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

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