Skip to main content

getBlockTime RPC Method

Returns the estimated production time of a block.

Updated on
Apr 30, 2025

getBlockTime RPC Method

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
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free