/v1/beacon/headers
Retrieves block headers matching the given query. By default, it will fetch the current head slot blocks.
Query parameters
slot
Slot number. If provided, returns headers for this slot.
parent_root
Parent root hash to filter block headers by.
Response
Successfully retrieved block headers.
execution_optimistic
Whether the execution payload is optimistic.
finalized
Whether the block is finalized.
data
List of block headers.