---
title: "GetDebugForkChoice"
method: GET
path: "/{apiKey}/eth/v1/debug/fork_choice"
---

# GetDebugForkChoice

`GET /{apiKey}/eth/v1/debug/fork_choice`

Get fork choice array. Retrieves all current fork choice context.

## 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 array

- object — Debugging context of fork choice
  - `justified_checkpoint` object, required — The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint
    - `epoch` string, required
    - `root` string, hex, required
  - `finalized_checkpoint` object, required — The [`Checkpoint`](https://github.com/ethereum/consensus-specs/blob/v1.3.0/specs/phase0/beacon-chain.md#checkpoint
    - `epoch` string, required
    - `root` string, hex, required
  - `fork_choice_nodes` object[] — Fork choice nodes
    - `slot` string, required — The slot to which this block corresponds.
    - `block_root` string, hex, required — The signing merkle root of the `BeaconBlock`.
    - `parent_root` string, hex, required — The signing merkle root of the parent `BeaconBlock`.
    - `justified_epoch` string, required
    - `finalized_epoch` string, required
    - `weight` string, required
    - `validity` 'valid' | 'invalid' | 'optimistic', required
    - `execution_block_hash` string, hex, required — The `block_hash` from the `execution_payload` of the `BeaconBlock`
    - `extra_data` object — Optional extra data that clients may provide, which could differ from client to client.
  - `extra_data` object — Optional extra data that clients may provide, which could differ from client to client.

---

[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)
