pub type TypedTransaction = EthereumTypedTransaction<TxEip4844Variant>;
Expand description
Basic typed transaction which can contain both TxEip4844
and TxEip4844WithSidecar
.
Aliased Type§
enum TypedTransaction {
Legacy(TxLegacy),
Eip2930(TxEip2930),
Eip1559(TxEip1559),
Eip4844(TxEip4844Variant),
Eip7702(TxEip7702),
}
Variants§
Legacy(TxLegacy)
Legacy transaction
Eip2930(TxEip2930)
EIP-2930 transaction
Eip1559(TxEip1559)
EIP-1559 transaction
Eip4844(TxEip4844Variant)
EIP-4844 transaction
Eip7702(TxEip7702)
EIP-7702 transaction
Trait Implementations§
Source§impl From<TxEnvelope> for TypedTransaction
impl From<TxEnvelope> for TypedTransaction
Source§fn from(envelope: TxEnvelope) -> Self
fn from(envelope: TxEnvelope) -> Self
Converts to this type from the input type.
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: 224 bytes
Size for each variant:
Legacy
: 128 bytesEip2930
: 128 bytesEip1559
: 144 bytesEip4844
: 224 bytesEip7702
: 160 bytes