Module alloy_consensus::transaction
source · Expand description
Transaction types.
Re-exports§
pub use pooled::PooledTransaction;
pub use eip4844::TxEip4844;
pub use eip4844::TxEip4844Variant;
pub use eip4844::TxEip4844WithSidecar;
Modules§
- [EIP-4844] constants, helpers, and types.
- Utilities for working with EIP-4844 field elements and implementing
SidecarCoder
. - Defines the exact transaction variant that are allowed to be propagated over the eth p2p protocol.
- Helper module for encoding signatures of transactions wrapped into
Signed
in legacy format.
Structs§
- This represents a set of blobs, and its corresponding commitments and proofs.
- Signed transaction with recovered signer.
- Build a
BlobTransactionSidecar
from an arbitrary amount of data. - Simple coder that only uses the last 31 bytes of each blob. This is the default coder for the
SidecarBuilder
. - Additional fields in the context of a (maybe) pending block that contains this transaction.
- Additional fields in the context of a block that contains this mined transaction.
- A transaction with a priority fee (EIP-1559).
- Transaction with an
AccessList
(EIP-2930). - A transaction with a priority fee (EIP-7702).
- Legacy transaction.
Enums§
- The Ethereum EIP-2718 Transaction Envelope.
- The TypedTransaction enum represents all Ethereum transaction request types.
Traits§
- A strategy for coding and decoding data into sidecars.
- A signable transaction.
- A type that can recover the signer of a transaction.
- Represents a minimal EVM transaction.
- A trait that helps to determine the type of the transaction.
Functions§
- Helper for decoding EIP-155
v
value intoy_parity
boolean and optionalchain_id
. - Helper for encoding
y_parity
boolean and optionalchain_id
into EIP-155v
value.
Type Aliases§
- A Blob serialized as 0x-prefixed hex string
- A commitment/proof serialized as 0x-prefixed hex string