> ## 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.

# getBlockTime | Solana

> The Solana getBlockTime method returns the estimated production time of a block. Available on Solana via Chainstack JSON-RPC nodes.

<Note>
  **Per-method rate limit:** 500 RPS across all regions. **Archive data:** this method supports fetching historical data on [Global Nodes](/docs/global-elastic-node). See [Solana method limits](/docs/limits#solana-method-limits).
</Note>

The Solana `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](/docs/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.

## 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 for `getBlockTime` 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.


## OpenAPI

````yaml openapi/solana_node_api/getBlockTime.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getBlockTime example
  version: 1.0.0
  description: This is an API example for Solana's getBlockTime.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getBlockTime
      operationId: getBlockTime
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getBlockTime
                params:
                  type: array
                  items:
                    type: integer
                    description: The slot of the block
                    default: 166974442
                  default:
                    - 166974442
      responses:
        '200':
          description: Block time details
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: integer

````