Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Chainstack Debug API

The Debug API from Chainstack — 3 operation(s) for debug.

Chainstack Debug API is one of 32 APIs that Chainstack publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Debug. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a JSON-LD context, an AsyncAPI specification, and 2 JSON Schemas.

This API exposes 3 operations across 3 paths, and defines 7 schemas. It is described by OpenAPI 3.0.3, at version 1.0.0.

Requests are made against a single base URL, https://{node_id}.p2pify.com/{api_key}.

3 operations 3 paths 7 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
1.0.0
Server
https://{node_id}.p2pify.com/{api_key}
Resource Areas
1

Paths & Operations 3

Across 3 paths, the API surfaces 3 operations — 3 GET. Each is listed below with its method, path, parameters, and response codes.

Debug 3
GET
/getDebugBeaconHeadsV2
Get fork choice leaves
getDebugBeaconHeadsV2 → 200500
GET
/getDebugBeaconStateV2
Get full BeaconState object
getDebugBeaconStateV2 1 param → 200400404500
GET
/getDebugForkChoice
Get fork choice array
getDebugForkChoice → 200500

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are ForkChoiceNode (9 properties), GetForkChoiceResponse (4 properties), GetStateV2Response (4 properties), ChainHead (3 properties). Each schema is shown below with its type and property counts.

ChainHead
object
3 properties 3 required
Checkpoint
object
2 properties 2 required
GetStateV2Response
object
4 properties 4 required
Error
object
2 properties 2 required
ForkChoiceNode
object
Fork choice node attributes
9 properties 8 required
GetDebugChainHeadsResponse
object
1 property 1 required
GetForkChoiceResponse
object
Debugging context of fork choice
4 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chainstack-debug-api-openapi.yml Raw ↑

Other APIs Chainstack publishes across the network.

Chainstack Faucet API
Chainstack Account Info API
Chainstack Accounts Info API
Chainstack Blocks Info API
Chainstack Chain Info API
Chainstack Client Info API
Chainstack Configuration Info API
Chainstack Debug And Trace API
Chainstack Deployment Options API
Chainstack Events API
Chainstack Execute Transactions API
Chainstack Filter Handling API