> ## Documentation Index
> Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# GetLatestBlockhash

> Получите последний хеш блока из блокчейна Solana с помощью API LaserStream gRPC.

<hide>
  ## Конечные точки

  Сервисы gRPC доступны в основной и тестовой сетях по следующим URL:

  * **Основная сеть** `https://laserstream-mainnet.helius-rpc.com:443`
  * **Тестовая сеть** `https://laserstream-devnet.helius-rpc.com:443`
</hide>

## Авторизация

<ParamField query="x-token" type="string" required>
  Ваш ключ API Helius. Его можно бесплатно получить на
  [панели управления](https://dashboard.helius.dev/api-keys).
</ParamField>

## Сообщение

Этот метод принимает пустой запрос и возвращает последний хеш блока и соответствующую ему высоту последнего допустимого блока.

<RequestExample>
  ```json Empty Request theme={"system"}
  {}
  ```
</RequestExample>

## Ответ

<ResponseField name="slot" type="string">
  Номер текущего слота.
</ResponseField>

<ResponseField name="blockhash" type="string">
  Последний хеш блока в виде строки, закодированной в формате base-58.
</ResponseField>

<ResponseField name="last_valid_block_height" type="string">
  Последняя высота блока, на которой возвращенный хеш блока будет действителен.
</ResponseField>

<ResponseExample>
  ```json Latest Blockhash Response theme={"system"}
  {
    "slot": "333390974",
    "blockhash": "CiqX6nU67eVCFqxh6TJ3LF8bDqjtnD2wULRMME917QSY",
    "last_valid_block_height": "311630163"
  }
  ```
</ResponseExample>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.