跳转至主要内容

qn_getBlockFromTimestamp RPC Method - Block Timestamp Lookup

正在加载...

更新于
Aug 09, 2026

qn_getBlockFromTimestamp 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.

参数

时间戳
整数
必填
正在加载...

退货

结果
对象
正在加载...
网络
字符串
正在加载...
blockNumber
整数
正在加载...
时间戳
整数
正在加载...
请求
回复
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"network": "ethereum",
6
"blockNumber": 29402654,
7
"timestamp": 1730000000
8
}
9
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"network": "ethereum",
6
"blockNumber": 29402654,
7
"timestamp": 1730000000
8
}
9
}
还没有账号吗?
endpoint 几秒钟endpoint 创建您的Quicknode endpoint ,并开始构建
免费开始使用