Skip to main content

Overview

BlockHeader contains all metadata for a block including Merkle roots, gas limits, timestamps, and consensus-related fields. The block hash is computed from RLP(header).

Type Definition

Creating BlockHeader

from

Universal constructor with all header fields.

Header Fields by Fork

Genesis (All Blocks)

EIP-1559 (London Fork)

Shanghai Fork

EIP-4844 (Cancun Fork)

Post-Merge Changes

After The Merge, several fields are deprecated but still present:

See Also