Type Alias OpTransactionSigned

Source
pub type OpTransactionSigned = OpTxEnvelope;
Expand description

Signed transaction.

Aliased Type§

pub enum OpTransactionSigned {
    Legacy(Signed<TxLegacy>),
    Eip2930(Signed<TxEip2930>),
    Eip1559(Signed<TxEip1559>),
    Eip7702(Signed<TxEip7702>),
    Deposit(Sealed<TxDeposit>),
}

Variants§

§

Legacy(Signed<TxLegacy>)

An untagged [TxLegacy].

§

Eip2930(Signed<TxEip2930>)

A [TxEip2930] tagged with type 1.

§

Eip1559(Signed<TxEip1559>)

A [TxEip1559] tagged with type 2.

§

Eip7702(Signed<TxEip7702>)

A [TxEip7702] tagged with type 4.

§

Deposit(Sealed<TxDeposit>)

A [TxDeposit] tagged with type 0x7E.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 320 bytes

Size for each variant:

  • Legacy: 256 bytes
  • Eip2930: 272 bytes
  • Eip1559: 288 bytes
  • Eip7702: 304 bytes
  • Deposit: 224 bytes