Skip to main content

getBlockTime RPC Method

Returns the estimated production time of a block.

Updated on
Sep 20, 2024

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