跳转到内容

State Fork

此内容尚不支持你的语言。

Returns the fork data (previous version, current version, epoch) for the given state.

GET /eth/v1/beacon/states/{state_id}/fork
ParameterTypeDescription
state_idstringState identifier: head, genesis, finalized, justified, slot number, or state root
Terminal window
curl https://eth-beacon.blockreq.com/v1/rpc/public/eth/v1/beacon/states/head/fork
{
"data": {
"previous_version": "0x04000000",
"current_version": "0x05000000",
"epoch": "269568"
}
}