Skip to content

eth::codec::BlockHeader

#include <objects.hpp>

Public Attributes

Name
Hash256 parent_hash
Hash256 ommers_hash
Address beneficiary
Hash256 state_root
Hash256 transactions_root
Hash256 receipts_root
Bloom logs_bloom
intx::uint256 difficulty
uint64_t number
uint64_t gas_limit
uint64_t gas_used
uint64_t timestamp
ByteBuffer extra_data
Hash256 mix_hash
std::array< uint8_t, 8 > nonce
std::optional< intx::uint256 > base_fee_per_gas

Public Attributes Documentation

variable parent_hash

Hash256 parent_hash {};

variable ommers_hash

Hash256 ommers_hash {};

variable beneficiary

Address beneficiary {};

variable state_root

Hash256 state_root {};

variable transactions_root

Hash256 transactions_root {};

variable receipts_root

Hash256 receipts_root {};

variable logs_bloom

Bloom logs_bloom {};

variable difficulty

intx::uint256 difficulty {};

variable number

uint64_t number = 0;

variable gas_limit

uint64_t gas_limit = 0;

variable gas_used

uint64_t gas_used = 0;

variable timestamp

uint64_t timestamp = 0;

variable extra_data

ByteBuffer extra_data;

variable mix_hash

Hash256 mix_hash {};

variable nonce

std::array< uint8_t, 8 > nonce {};

variable base_fee_per_gas

std::optional< intx::uint256 > base_fee_per_gas;

Updated on 2026-04-13 at 23:22:46 -0700