Skip to main content

Module tx

Module tx 

Available on crate feature evm only.
Expand description

This module contains TxEnv struct and implements Transaction trait for it.

Structs§

TxEnv
The Transaction Environment is a struct that contains all fields that can be found in all Ethereum transaction, including EIP-4844, EIP-7702, EIP-7873, etc. It implements the Transaction trait, which is used inside the EVM to execute a transaction.
TxEnvBuilder
Builder for constructing TxEnv instances

Enums§

DeriveTxTypeError
Error type for deriving transaction type used as error in TxEnv::derive_tx_type function.
TxEnvBuildError
Error type for building TxEnv