AnyRpcHeader

Type Alias AnyRpcHeader 

Source
pub type AnyRpcHeader = Header<AnyHeader>;
Expand description

A catch-all header type for handling headers on multiple networks.

Aliased Type§

pub struct AnyRpcHeader {
    pub hash: FixedBytes<32>,
    pub inner: AnyHeader,
    pub total_difficulty: Option<Uint<256, 4>>,
    pub size: Option<Uint<256, 4>>,
}

Fields§

§hash: FixedBytes<32>

Hash of the block

§inner: AnyHeader

Inner consensus header.

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

Total difficulty

Note: This field is now effectively deprecated: https://github.com/ethereum/execution-apis/pull/570

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

Integer the size of this block in bytes.

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 840 bytes