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 State API

The State API from Chainstack — 10 operation(s) for state.

Chainstack State 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 State. 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 10 operations across 10 paths, and defines 17 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}.

10 operations 10 paths 17 schemas 10 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 10

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

State 10
GET
/getBeaconBlockRootByBlockId
Get the root of the beacon block by blockid
getBeaconBlockRootByBlockId 1 param → 200404500
GET
/getBeaconBlocksByBlockId
Get beacon blocks by blockid
getBeaconBlocksByBlockId 1 param → 200404500
GET
/getBeaconHeadersByBlockId
Get beacon headers by blockid
getBeaconHeadersByBlockId 1 param → 200404500
GET
/getBeaconHeadersBySlotAndParentRoot
Get beacon headers by slot and parent root
getBeaconHeadersBySlotAndParentRoot 2 params → 200404500
GET
/getBlobsByBlockId
Get blobs by blockid
getBlobsByBlockId 1 param → 200404500
GET
/getCommitteesByStateIdEpochIndexAndSlot
Get committees by state, epoch, index, and slot
getCommitteesByStateIdEpochIndexAndSlot 4 params → 200404500
GET
/getFinalityCheckpoints
Get finality checkpoints for a given state
getFinalityCheckpoints 1 param → 200400
GET
/getStateRoot
Get the root of a given state
getStateRoot 1 param → 200400
GET
/getSyncCommitteeContribution
Get sync committee contribution for a given slot, subcommittee index, and beacon block root
getSyncCommitteeContribution 3 params → 200400500
GET
/getSyncCommitteesByStateIdAndEpoch
Get sync committees by state and epoch
getSyncCommitteesByStateIdAndEpoch 2 params → 200404500

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are BlobItem (5 properties), SyncCommitteeContribution (5 properties), Header (4 properties), Block (4 properties). Each schema is shown below with its type and property counts.

FinalityCheckpoints
object
3 properties
Block
object
4 properties 4 required
SyncCommitteeContribution
object
5 properties 5 required
BeaconHeaders
object
1 property 1 required
BlobItem
object
5 properties 4 required
CommitteeData
object
1 property 1 required
BeaconBlockItem
object
2 properties 2 required
StateRoot
object
1 property
BeaconHeader
object
3 properties 3 required
BlobsResponse
object
1 property 1 required
Error
object
2 properties 2 required
SyncCommitteeData
object
1 property 1 required
Header
object
4 properties 4 required
SyncCommittee
object
2 properties 2 required
BeaconHeaderItem
object
3 properties 3 required
CommitteeItem
object
3 properties 3 required
BeaconBlockRootItem
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

chainstack-state-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 Debug API
Chainstack Deployment Options API
Chainstack Events API
Chainstack Execute Transactions API