pub type EthBlockHeader = RlpHeader<Header>;
Expand description
EvmBlockHeader for Ethereum.
Aliased Type§
struct EthBlockHeader { /* private fields */ }
Trait Implementations§
Source§impl EvmBlockHeader for EthBlockHeader
impl EvmBlockHeader for EthBlockHeader
Source§fn parent_hash(&self) -> &B256
fn parent_hash(&self) -> &B256
Returns the hash of the parent block’s header.
Source§fn state_root(&self) -> &B256
fn state_root(&self) -> &B256
Returns the state root hash.
Source§fn receipts_root(&self) -> &B256
fn receipts_root(&self) -> &B256
Returns the receipts root hash of the block.
Source§fn logs_bloom(&self) -> &Bloom
fn logs_bloom(&self) -> &Bloom
Returns the logs bloom filter of the block
Source§fn to_block_env(&self, spec: SpecId) -> BlockEnv
fn to_block_env(&self, spec: SpecId) -> BlockEnv
Returns the EVM block environment equivalent to this block header.