---
title: "GetDebugBeaconHeadsV2"
method: GET
path: "/{apiKey}/eth/v2/debug/beacon/heads"
---

# GetDebugBeaconHeadsV2

`GET /{apiKey}/eth/v2/debug/beacon/heads`

Get fork choice leaves. Retrieves all possible chain heads (leaves of fork choice tree).

## Path parameters

- `apiKey` string, required — <style> .custom-style { color: #048FF4; } </style> For higher throughput, please <span class="custom-style"><a href="../docs/quick-start-guide#-creating-your-api-key-on-the-zan-platform" target="_blank">create your own API key</a></span>.

## Response `200`

Fork choice leaves

- object
  - `data` object[], required
    - `root` string, hex, required
    - `slot` string, required
    - `execution_optimistic` boolean, required — True if the response references an unverified execution payload. Optimistic information may be invalidated at a later time. If the field is not present, assume the False value.

---

[API](https://skmtc.net/zan/apis/zan-getnftmetadata.md) · [All operations](https://skmtc.net/zan/apis/zan-getnftmetadata/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zan/zan-getnftmetadata/versions/be8fa2338895/schema)
