Skip to main content

qn_getBlocksInTimestampRange RPC Method - Block Timestamp Lookup

Loading...

Updated on
May 12, 2025

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.

Parameters

startTimestamp
integer
REQUIRED
Loading...
endTimestamp
integer
REQUIRED
Loading...
pageSize
integer
Loading...
lastTimestamp
integer
Loading...
lastBlockNumber
integer
Loading...

Returns

result
object
Loading...
blocks
array
Loading...
blockNumber
integer
Loading...
network
string
Loading...
timestamp
integer
Loading...
pagination
object
Loading...
hasNextPage
boolean
Loading...
nextPageParams
object
Loading...
lastBlockNumber
integer
Loading...
lastTimestamp
integer
Loading...
pageSize
integer
Loading...
Request
Response
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free