Type Alias TypedTransaction

Source
pub type TypedTransaction = EthereumTypedTransaction<TxEip4844Variant>;
Expand description

Basic typed transaction which can contain both TxEip4844 and TxEip4844WithSidecar.

Aliased Type§

pub enum TypedTransaction {
    Legacy(TxLegacy),
    Eip2930(TxEip2930),
    Eip1559(TxEip1559),
    Eip4844(TxEip4844Variant),
    Eip7702(TxEip7702),
}

Variants§

§

Legacy(TxLegacy)

An untagged TxLegacy.

§

Eip2930(TxEip2930)

A TxEip2930 tagged with type 1.

§

Eip1559(TxEip1559)

A TxEip1559 tagged with type 2.

§

Eip4844(TxEip4844Variant)

A TxEip4844 tagged with type 3. An EIP-4844 transaction has two network representations: 1 - The transaction itself, which is a regular RLP-encoded transaction and used to retrieve historical transactions..

2 - The transaction with a sidecar, which is the form used to send transactions to the network.

§

Eip7702(TxEip7702)

A TxEip7702 tagged with type 4.