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

# IsBlockhashValid

> Kiểm tra xem blockhash có còn hợp lệ trên blockchain Solana hay không bằng API LaserStream gRPC.

<hide>
  ## Điểm cuối

  Các dịch vụ gRPC khả dụng trên mainnet và devnet với các URL sau:

  * **Mainnet** `https://laserstream-mainnet.helius-rpc.com:443`
  * **Devnet** `https://laserstream-devnet.helius-rpc.com:443`
</hide>

## Ủy quyền

<ParamField query="x-token" type="string" required>
  Khóa API Helius của bạn. Bạn có thể nhận khóa miễn phí trong
  [bảng điều khiển](https://dashboard.helius.dev/api-keys).
</ParamField>

## Thông báo

<ParamField body="blockhash" type="string" required>
  Blockhash cần kiểm tra dưới dạng chuỗi được mã hóa base-58.
</ParamField>

## Phản hồi

<ResponseField name="valid" type="boolean">
  Cho biết blockhash vẫn còn hợp lệ (true) hay đã hết hạn (false).
</ResponseField>

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

<ResponseExample>
  ```json theme={"system"}
  {
      "slot": "333440972",
      "valid": false
  }
  ```
</ResponseExample>
