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

# getFirstAvailableBlock | Solana

> The Solana getFirstAvailableBlock method returns the slot of the lowest confirmed block that has not been purged from the ledger. On Solana.

# Solana `getFirstAvailableBlock` method

The Solana `getFirstAvailableBlock` method returns the slot of the lowest confirmed block that has not been purged from the ledger.

This method provides the earliest block that is still available for retrieval from the ledger. It is useful for determining the range of historical data that is available.

## Parameters

This method does not require any parameters.

## Response

* `value` — the slot of the lowest confirmed block that has not been purged from the ledger.

## Use case

A practical use case for `getFirstAvailableBlock` is to determine the range of historical data that is available. 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/getFirstAvailableBlock.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getFirstAvailableBlock example
  version: 1.0.0
  description: This is an API example for Solana's getFirstAvailableBlock.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getFirstAvailableBlock
      operationId: getFirstAvailableBlock
      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: getFirstAvailableBlock
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: First available block details
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: integer

````