New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

Method getBlockTime Solana (SOL)
connect with JSON-RPC protocol



Returns the estimated production time of a block.Each validator reports their UTC time to the ledger on a regularinterval by intermittently adding a timestamp to a Vote for a particularblock. A requested blocks time is calculated from the stake-weightedmean of the Vote timestamps in a set of recent blocks recorded on theledger.


block - u64

block, identified by Slot.


curl --location --request POST '' \ 
--header 'x-api-key: YOUR-API-KEY' \ 
--header 'Content-Type: application/json' \ 
--data-raw '{"jsonrpc": "2.0",
"method": "getBlockTime",
"params": [122791192],
"id": ""}'


    "id": "",
    "jsonrpc": "2.0",
    "result": 1646011316
banner icon

Start Building with GetBlock RPCs for Free