State Fork
此内容尚不支持你的语言。
Description
Section titled “Description”Returns the fork data (previous version, current version, epoch) for the given state.
Endpoint
Section titled “Endpoint”GET /eth/v1/beacon/states/{state_id}/forkPath Parameters
Section titled “Path Parameters”| Parameter | Type | Description |
|---|---|---|
state_id | string | State identifier: head, genesis, finalized, justified, slot number, or state root |
Request
Section titled “Request”curl https://eth-beacon.blockreq.com/v1/rpc/public/eth/v1/beacon/states/head/forkResponse
Section titled “Response”{ "data": { "previous_version": "0x04000000", "current_version": "0x05000000", "epoch": "269568" }}