stratus::alias

Type Alias AlloyBlockAlloyTransaction

Source
pub type AlloyBlockAlloyTransaction = Block<Transaction>;

Aliased Type§

struct AlloyBlockAlloyTransaction {
    pub header: Header,
    pub uncles: Vec<FixedBytes<32>>,
    pub transactions: BlockTransactions<Transaction>,
    pub withdrawals: Option<Withdrawals>,
}

Fields§

§header: Header

Header of the block.

§uncles: Vec<FixedBytes<32>>

Uncles’ hashes.

§transactions: BlockTransactions<Transaction>

Block Transactions. In the case of an uncle block, this field is not included in RPC responses, and when deserialized, it will be set to [BlockTransactions::Uncle].

§withdrawals: Option<Withdrawals>

Withdrawals in the block.

Trait Implementations§

Source§

impl From<Block> for AlloyBlockAlloyTransaction

Source§

fn from(block: Block) -> Self

Converts to this type from the input type.