Module tx

Module tx 

Available on crate feature evm only.
Expand description

Transaction abstractions for EVM execution.

This module provides traits and implementations for converting various transaction formats into a unified transaction environment (TxEnv) that the EVM can execute. The main purpose of these traits is to enable flexible transaction input while maintaining type safety.

Traitsยง

FromRecoveredTx
Helper trait for building a transaction environment from a recovered transaction.
FromTxWithEncoded
Helper trait for building a transaction environment from a transaction with its encoded form.
IntoTxEnv
Trait marking types that can be converted into a transaction environment.
RecoveredTx
Helper trait to abstract over different Recovered<T> implementations.
ToTxEnv
A helper trait to allow implementing IntoTxEnv for types that build transaction environment by cloning data.