/eth/v1/beacon/states/:state_id:/fork
Get Fork object for requested state
Provides the Fork object for the state with the supplied'stateId'.
Example Request and Result for /v1/beacon/states/:state_id:/fork
In this section, we provide an illustrative example of a request made to retrieve details contents using the /v1/beacon/states/{state_id}/fork
endpoint. Additionally, we present the resulting response containing information about the fork object for state with given 'stateId'.
Parameters
Field | Type | Description |
---|---|---|
state_id* | string | State identifier. Example : head |
info
The example in this section uses a non-existing project id.
Make sure you replace it with your Ethereum Holesky Beacon endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Curl Request example
curl -X 'GET' \
'https://eth-holesky-beacon.blastapi.io/<project-id>/eth/v1/beacon/states/head/fork' \
-H 'accept: application/json'