メインコンテンツへスキップ

qn_getBlocksInTimestampRange RPC Method - Block Timestamp Lookup

読み込み中...

更新日:
2026年1月21日

qn_getBlocksInTimestampRange RPC Method - Block Timestamp Lookup

Please note that this RPC method requires the Block Timestamp Lookup add-on enabled on your Quicknode endpoint. This method is available for mainnet only.

パラメータ

オブジェクト
必須
startTimestamp
整数
必須
読み込み中...
endTimestamp
整数
必須
読み込み中...
pageSize
整数
読み込み中...
lastTimestamp
整数
読み込み中...
lastBlockNumber
整数
読み込み中...

返品

結果
オブジェクト
読み込み中...
ブロック
配列
読み込み中...
ブロック番号
整数
読み込み中...
ネットワーク
文字列
読み込み中...
タイムスタンプ
整数
読み込み中...
pagination
オブジェクト
読み込み中...
hasNextPage
ブール値
読み込み中...
nextPageParams
オブジェクト
読み込み中...
lastBlockNumber
整数
読み込み中...
lastTimestamp
整数
読み込み中...
pageSize
整数
読み込み中...
リクエスト
回答
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blocks": [
6
{
7
"blockNumber": 29402654,
8
"network": "ethereum",
9
"timestamp": 1730000000
10
},
11
{
12
"blockNumber": 29402655,
13
"network": "ethereum",
14
"timestamp": 1730000012
15
},
16
{
17
"blockNumber": 29402656,
18
"network": "ethereum",
19
"timestamp": 1730000024
20
},
21
{
22
"blockNumber": 29402657,
23
"network": "ethereum",
24
"timestamp": 1730000036
25
},
26
{
27
"blockNumber": 29402658,
28
"network": "ethereum",
29
"timestamp": 1730000048
30
}
31
],
32
"pagination": {
33
"hasNextPage": true,
34
"nextPageParams": {
35
"lastBlockNumber": 29402658,
36
"lastTimestamp": 1730000048,
37
"pageSize": 5
38
}
39
}
40
}
41
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"blocks": [
6
{
7
"blockNumber": 29402654,
8
"network": "ethereum",
9
"timestamp": 1730000000
10
},
11
{
12
"blockNumber": 29402655,
13
"network": "ethereum",
14
"timestamp": 1730000012
15
},
16
{
17
"blockNumber": 29402656,
18
"network": "ethereum",
19
"timestamp": 1730000024
20
},
21
{
22
"blockNumber": 29402657,
23
"network": "ethereum",
24
"timestamp": 1730000036
25
},
26
{
27
"blockNumber": 29402658,
28
"network": "ethereum",
29
"timestamp": 1730000048
30
}
31
],
32
"pagination": {
33
"hasNextPage": true,
34
"nextPageParams": {
35
"lastBlockNumber": 29402658,
36
"lastTimestamp": 1730000048,
37
"pageSize": 5
38
}
39
}
40
}
41
}
まだアカウントをお持ちではありませんか?
わずか数秒でQuicknodeのエンドポイントを作成し、開発を始めましょう
今すぐ無料で始めましょう