pub fn from_recovered_with_block_context<Tx, T>(
tx: RecoveredTx<Tx>,
tx_info: TransactionInfo,
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 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.