getBlockTime
Solana node API
getBlockTime | Solana
The Solana getBlockTime method returns the estimated production time of a block. Available on Solana via Chainstack JSON-RPC nodes.
POST
getBlockTime
Documentation Index
Fetch the complete documentation index at: https://docs.chainstack.com/llms.txt
Use this file to discover all available pages before exploring further.
Per-method rate limit: 500 RPS across all regions. Archive data: this method supports fetching historical data on Global Nodes. See Solana method limits.
getBlockTime method returns the estimated production time of a block.
Note that you need to use the slot number as a parameter here, not the block number. See also Understanding the difference between blocks and slots on Solana.
This method provides the Unix timestamp at which the block was produced. It is useful for tracking the timing of transactions and events on the blockchain.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
block— the height of the slot to retrieve the block production time for.
Response
value— the estimated Unix timestamp at which the block was produced.
Use case
A practical use case forgetBlockTime is to track the timing of transactions and events on the blockchain. This can be useful for block explorers, wallets, or other applications that need to display or make use of this information.Last modified on May 18, 2026