Skip to content
Alchemy Logo

/v1/beacon/headers

GET
https://eth-mainnetbeacon.g.alchemy.com/v2/docs-demo/eth/v1/beacon/headers

Retrieves block headers matching the given query. By default, it will fetch the current head slot blocks.

Query Parameters

stringoptional

Slot number. If provided, returns headers for this slot.

stringformat: "hex"optional

Parent root hash to filter block headers by.

Responses

200

Successfully retrieved block headers.

Was this page helpful?