Skip to main content

getBlockTime RPC Method

Returns the estimated production time of a block.

Updated on
Oct 19, 2026

Parameters

u64
integer
REQUIRED

The block number, identified by Slot

Returns

result

The response can be either of one value:

i64

The estimated production time, as Unix timestamp (seconds since the Unix epoch)

null

If timestamp is not available for the block

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": 1630351521,
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": 1630351521,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free