跳至主要內容

/eth/v2/debug/beacon/states/{state_id} REST API Endpoint

載入中...

更新於
2026年5月21日

/eth/v2/debug/beacon/states/{state_id} REST API Endpoint

SSZ Response Support

This endpoint also supports SSZ (SimpleSerialize) responses. Set Accept: application/octet-stream in the request header to receive an SSZ-encoded payload instead of JSON. SSZ responses are smaller and faster to parse, and are useful for consensus-layer clients and indexers. Note: full beacon state responses can be very large (hundreds of MB) — streaming the response directly to a file is recommended.

curl --location "YOUR_QUICKNODE_ETHEREUM_URL/eth/v2/debug/beacon/states/head" \
--header "Accept: application/octet-stream" \
--output state.ssz

路徑參數

state_id
字串
必填
載入中...

退貨

版本
字串
載入中...
execution_optimistic
布林值
載入中...
finalized
布林值
載入中...
資料
物件
載入中...
genesis_time
字串
載入中...
genesis_validators_root
字串
載入中...
插槽
字串
載入中...
fork
物件
載入中...
previous_version
字串
載入中...
current_version
字串
載入中...
時代
字串
載入中...
latest_block_header
物件
載入中...
插槽
字串
載入中...
proposer_index
字串
載入中...
parent_root
字串
載入中...
state_root
字串
載入中...
body_root
字串
載入中...
block_roots
陣列
載入中...
state_roots
陣列
載入中...
historical_roots
陣列
載入中...
eth1_data
物件
載入中...
deposit_root
字串
載入中...
deposit_count
字串
載入中...
block_hash
字串
載入中...
eth1_data_votes
陣列
載入中...
deposit_root
字串
載入中...
deposit_count
字串
載入中...
block_hash
字串
載入中...
eth1_deposit_index
字串
載入中...
驗證者
陣列
載入中...
pubkey
字串
載入中...
withdraw_credentials
字串
載入中...
effective_balance
字串
載入中...
slashed
布林值
載入中...
activation_elgibility_epoch
字串
載入中...
activation_epoch
字串
載入中...
exit_epoch
字串
載入中...
withdrawable_epoch
字串
載入中...
balances
陣列
載入中...
randao_mixes
陣列
載入中...
slashings
陣列
載入中...
previous_epoch_attestations
陣列
載入中...
aggregation_bits
字串
載入中...
資料
物件
載入中...
插槽
字串
載入中...
目錄
字串
載入中...
beacon_block_root
字串
載入中...
來源
字串
載入中...
時代
字串
載入中...
root
字串
載入中...
target
字串
載入中...
時代
字串
載入中...
root
字串
載入中...
inclusion_delay
字串
載入中...
proposer_index
字串
載入中...
current_epoch_attestations
陣列
載入中...
justification_bits
字串
載入中...
previous_justified_checkpoint
物件
載入中...
時代
字串
載入中...
root
字串
載入中...
current_justified_checkpoint
物件
載入中...
時代
字串
載入中...
root
字串
載入中...
finalized_checkpoint
物件
載入中...
時代
字串
載入中...
root
字串
載入中...
請求
回應
1
{
2
"version": "bellatrix",
3
"execution_optimistic": false,
4
"finalized": true,
5
"data": {
6
"genesis_time": "1606824023",
7
"genesis_validators_root": "0x4b363db94e286120d76eb905340fdd4e54bfe9f06bf33ff6cf5ad27f511bfe95",
8
"slot": "4903392",
9
"fork": {
10
"previous_version": "0x02000000",
11
"current_version": "0x03000000",
12
"epoch": "112260"
13
},
14
"latest_block_header": {
15
"slot": "4903391",
16
"proposer_index": "169",
17
"parent_root": "0x7c52d736a5bc2a6bc90958cf04b7ac5bd0e3bba8c3a21586f84b92ecfac34025",
18
"state_root": "0x3e3af6de006f32fb28a6f049bc4daa5cbe895b2badee473749c710e456c5cbe7",
19
"body_root": "0x0e7ab76514893a35ce5d578188214f4c7354001002d45a18f60ab144b2932acb"
20
},
21
"validators": [
22
{
23
"pubkey": "0x8a6aa2eb61ac6d62357b19969be8d4a4e034613aca7096c63667f5b590637af24692d148a4b82b855e1b74d9fc1be1c2",
24
"withdraw_credentials": "0x0100000000000000000000007e4aa755550152a5d0e121a40dc83c23ddb48764",
25
"effective_balance": "32000000000",
26
"slashed": false,
27
"activation_elgibility_epoch": "16083",
28
"activation_epoch": "16141",
29
"exit_epoch": "18446744073709551615",
30
"withdrawable_epoch": "18446744073709551615"
31
}
32
],
33
"balances": [
34
"32756234517"
35
],
36
"justification_bits": "0x0f",
37
"previous_justified_checkpoint": {
38
"epoch": "153230",
39
"root": "0x3e3af6de006f32fb28a6f049bc4daa5cbe895b2badee473749c710e456c5cbe7"
40
},
41
"current_justified_checkpoint": {
42
"epoch": "153231",
43
"root": "0x0e7ab76514893a35ce5d578188214f4c7354001002d45a18f60ab144b2932acb"
44
},
45
"finalized_checkpoint": {
46
"epoch": "153230",
47
"root": "0x4e3af6de006f32fb28a6f049bc4daa5cbe895b2badee473749c710e456c5cbe7"
48
}
49
}
50
}
1
{
2
"version": "bellatrix",
3
"execution_optimistic": false,
4
"finalized": true,
5
"data": {
6
"genesis_time": "1606824023",
7
"genesis_validators_root": "0x4b363db94e286120d76eb905340fdd4e54bfe9f06bf33ff6cf5ad27f511bfe95",
8
"slot": "4903392",
9
"fork": {
10
"previous_version": "0x02000000",
11
"current_version": "0x03000000",
12
"epoch": "112260"
13
},
14
"latest_block_header": {
15
"slot": "4903391",
16
"proposer_index": "169",
17
"parent_root": "0x7c52d736a5bc2a6bc90958cf04b7ac5bd0e3bba8c3a21586f84b92ecfac34025",
18
"state_root": "0x3e3af6de006f32fb28a6f049bc4daa5cbe895b2badee473749c710e456c5cbe7",
19
"body_root": "0x0e7ab76514893a35ce5d578188214f4c7354001002d45a18f60ab144b2932acb"
20
},
21
"validators": [
22
{
23
"pubkey": "0x8a6aa2eb61ac6d62357b19969be8d4a4e034613aca7096c63667f5b590637af24692d148a4b82b855e1b74d9fc1be1c2",
24
"withdraw_credentials": "0x0100000000000000000000007e4aa755550152a5d0e121a40dc83c23ddb48764",
25
"effective_balance": "32000000000",
26
"slashed": false,
27
"activation_elgibility_epoch": "16083",
28
"activation_epoch": "16141",
29
"exit_epoch": "18446744073709551615",
30
"withdrawable_epoch": "18446744073709551615"
31
}
32
],
33
"balances": [
34
"32756234517"
35
],
36
"justification_bits": "0x0f",
37
"previous_justified_checkpoint": {
38
"epoch": "153230",
39
"root": "0x3e3af6de006f32fb28a6f049bc4daa5cbe895b2badee473749c710e456c5cbe7"
40
},
41
"current_justified_checkpoint": {
42
"epoch": "153231",
43
"root": "0x0e7ab76514893a35ce5d578188214f4c7354001002d45a18f60ab144b2932acb"
44
},
45
"finalized_checkpoint": {
46
"epoch": "153230",
47
"root": "0x4e3af6de006f32fb28a6f049bc4daa5cbe895b2badee473749c710e456c5cbe7"
48
}
49
}
50
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用