Trait Envelope

Source
pub trait Envelope: FromTxCompact<TxType: Compact> {
    // Required methods
    fn signature(&self) -> &Signature;
    fn tx_type(&self) -> Self::TxType;
}
Available on crate feature test-utils only.
Expand description

A trait for types convertible from a compact transaction type.

Required Methods§

Source

fn signature(&self) -> &Signature

Returns the signature

Source

fn tx_type(&self) -> Self::TxType

Returns the tx type

Implementations on Foreign Types§

Source§

impl Envelope for OpTxEnvelope

Available on crate feature op only.
Source§

fn signature(&self) -> &Signature

Source§

fn tx_type(&self) -> Self::TxType

Source§

impl Envelope for SeismicTxEnvelope

Source§

fn signature(&self) -> &Signature

Source§

fn tx_type(&self) -> Self::TxType

Source§

impl<Eip4844: Compact + Transaction + RlpEcdsaEncodableTx> Envelope for EthereumTxEnvelope<Eip4844>

Source§

fn signature(&self) -> &Signature

Source§

fn tx_type(&self) -> Self::TxType

Implementors§