reth_rpc_types_compat

Module transaction

Source
Expand description

Compatibility functions for rpc Transaction type.

Traits§

Functions§

  • Create a new rpc transaction result for a pending signed transaction, setting block environment related fields to None.
  • 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.
  • Convert [RecoveredTx] to [TransactionRequest]