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

# GetVersion

> Lấy thông tin phiên bản của API LaserStream gRPC và node Solana mà API này kết nối đến.

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

  Các dịch vụ gRPC có sẵn 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>

## Xác thực

<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 điệp

Phương thức này nhận một yêu cầu trống và trả về thông tin phiên bản.

## Phản hồi

<ResponseField name="version" type="string">
  Một chuỗi JSON chứa thông tin phiên bản chi tiết với các trường sau:
</ResponseField>

<ResponseField name="version.package" type="string">
  Tên gói.
</ResponseField>

<ResponseField name="version.version" type="string">
  Phiên bản gói.
</ResponseField>

<ResponseField name="version.proto" type="string">
  Phiên bản giao thức.
</ResponseField>

<ResponseField name="version.proto_richat" type="string">
  Phiên bản giao thức Richat.
</ResponseField>

<ResponseField name="version.solana" type="string">
  Phiên bản Solana mà dịch vụ đang sử dụng.
</ResponseField>

<ResponseField name="version.git" type="string">
  Mã băm commit Git của bản dựng.
</ResponseField>

<ResponseField name="version.rustc" type="string">
  Phiên bản trình biên dịch Rust được dùng để xây dựng dịch vụ.
</ResponseField>

<ResponseField name="version.buildts" type="string">
  Dấu thời gian khi dịch vụ được xây dựng.
</ResponseField>

<ResponseField name="extra.hostname" type="string">
  Tên máy chủ của máy chủ đang xử lý yêu cầu.
</ResponseField>

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

<ResponseExample>
  ```json theme={"system"}
  {
    "version": "{\"version\":{\"package\":\"richat\",\"version\":\"2.1.0\",\"proto\":\"4.2.1\",\"proto_richat\":\"2.0.0\",\"solana\":\"2.1.14\",\"git\":\"cf5f498fe\",\"rustc\":\"1.85.0\",\"buildts\":\"2025-04-11T17:12:50.779748607Z\"},\"extra\":{\"hostname\":\"laserstream-prod-mainnet-fra-worker-1\"}}"
  }
  ```
</ResponseExample>
