Type Alias reth_node_core::rpc::eth::types::RpcBlock

pub type RpcBlock<T> = Block<<T as Network>::TransactionResponse, <T as Network>::HeaderResponse>;
Expand description

Adapter for network specific block type.

Aliased Type§

struct RpcBlock<T> {
    pub header: <T as Network>::HeaderResponse,
    pub uncles: Vec<FixedBytes<32>>,
    pub transactions: BlockTransactions<<T as Network>::TransactionResponse>,
    pub size: Option<Uint<256, 4>>,
    pub withdrawals: Option<Vec<Withdrawal>>,
}

Fields§

§header: <T as Network>::HeaderResponse

Header of the block.

§uncles: Vec<FixedBytes<32>>

Uncles’ hashes.

§transactions: BlockTransactions<<T as Network>::TransactionResponse>

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.

§size: Option<Uint<256, 4>>

Integer the size of this block in bytes.

§withdrawals: Option<Vec<Withdrawal>>

Withdrawals in the block.

Layout§

Note: Encountered an error during type layout; the type failed to be normalized.