stratus::alias

Type Alias AlloyBlockH256

Source
pub type AlloyBlockH256 = Block<H256>;

Aliased Type§

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

Fields§

§header: Header

Header of the block.

§uncles: Vec<FixedBytes<32>>

Uncles’ hashes.

§transactions: BlockTransactions<H256>

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 AlloyBlockH256

Source§

fn from(block: Block) -> Self

Converts to this type from the input type.