Type Alias AlloyBlockB256

Source
pub type AlloyBlockB256 = Block<B256>;

Aliased Type§

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

Fields§

§header: Header

Header of the block.

§uncles: Vec<FixedBytes<32>>

Uncles’ hashes.

§transactions: BlockTransactions<FixedBytes<32>>

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 AlloyBlockB256

Source§

fn from(block: Block) -> Self

Converts to this type from the input type.