stratus::alias

Type Alias AlloyTransaction

Source
pub type AlloyTransaction = Transaction;

Aliased Type§

struct AlloyTransaction {
    pub inner: Recovered<EthereumTxEnvelope<TxEip4844Variant>>,
    pub block_hash: Option<FixedBytes<32>>,
    pub block_number: Option<u64>,
    pub transaction_index: Option<u64>,
    pub effective_gas_price: Option<u128>,
}

Fields§

§inner: Recovered<EthereumTxEnvelope<TxEip4844Variant>>

The inner transaction object

§block_hash: Option<FixedBytes<32>>

Hash of block where transaction was included, None if pending

§block_number: Option<u64>

Number of block where transaction was included, None if pending

§transaction_index: Option<u64>

Transaction Index

§effective_gas_price: Option<u128>

Deprecated effective gas price value.

Trait Implementations§

Source§

impl From<TransactionInput> for AlloyTransaction

Source§

fn from(value: TransactionInput) -> Self

Converts to this type from the input type.
Source§

impl From<TransactionMined> for AlloyTransaction

Source§

fn from(value: TransactionMined) -> Self

Converts to this type from the input type.