/ apis / debug / heads.yaml
heads.yaml
 1  get:
 2    operationId: getDebugChainHeads
 3    summary: Get fork choice leaves
 4    description: Retrieves all possible chain heads (leaves of fork choice tree).
 5    tags:
 6      - Debug
 7    responses:
 8      "200":
 9        description: Success
10        content:
11          application/json:
12            schema:
13              title: GetDebugChainHeadsResponse
14              type: object
15              properties:
16                data:
17                  type: array
18                  items:
19                    type: object
20                    properties:
21                      root:
22                        $ref: "../../beacon-node-oapi.yaml#/components/schemas/Root"
23                      slot:
24                        $ref: "../../beacon-node-oapi.yaml#/components/schemas/Uint64"
25      "500":
26        $ref: "../../beacon-node-oapi.yaml#/components/responses/InternalError"