跳至主要內容

getBlocks RPC Method

載入中...

更新於
Sep 22, 2025

getBlocks RPC Method

Please note: For this RPC method, the block range defined by the start and end slots is limited to a maximum of 5 slots for a free trial account and 1,005 slots for paid accounts.

參數

start_slot
字串
必填
載入中...
end_slot
字串
載入中...
物件
物件
載入中...
commitment
字串
載入中...
finalized
字串
載入中...
confirmed
字串
載入中...

退貨

結果
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
「結果」: [
4
5,
5
6,
6
7,
7
8,
8
9,
9
10
10
],
11
"id": 1
12
}
1
{
2
"jsonrpc": "2.0",
3
「結果」: [
4
5,
5
6,
6
7,
7
8,
8
9,
9
10
10
],
11
"id": 1
12
}
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用