Module alloy_consensus::transaction
source ยท Expand description
Transaction types.
Re-exportsยง
pub use eip4844::TxEip4844;
pub use eip4844::TxEip4844Variant;
pub use eip4844::TxEip4844WithSidecar;
Modulesยง
- eip1559 ๐
- eip2930 ๐
- [EIP-4844] constants, helpers, and types.
- Utilities for working with EIP-4844 field elements and implementing
SidecarCoder
. - envelope ๐
- legacy ๐
- typed ๐
Structsยง
- This represents a set of blobs, and its corresponding commitments and proofs.
- 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
. - A transaction with a priority fee (EIP-1559).
- Transaction with an [
AccessList
] (EIP-2930). - Legacy transaction.
Enumsยง
- An error that can occur when validating a BlobTransactionSidecar::validate.
- 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. Coder instances are responsible for encoding and decoding data into and from the sidecar. They are called by the
SidecarBuilder
during theingest
,take
, and (ifc_kzg
feature enabled)build
methods. - A signable transaction.
- Represents a minimal EVM transaction.
Type Aliasesยง
- A Blob serialized as 0x-prefixed hex string
- A commitment/proof serialized as 0x-prefixed hex string