Expand description
Compatibility functions for rpc Transaction
type.
Traits§
- Transaction
Compat - Builds RPC transaction w.r.t. network.
Functions§
- from_
recovered - Create a new rpc transaction result for a pending signed transaction, setting block
environment related fields to
None
. - from_
recovered_ with_ block_ context - 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.
- transaction_
to_ call_ request - Convert [
RecoveredTx
] to [TransactionRequest
]