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

> Mengembalikan versi Solana saat ini yang berjalan pada node.



## OpenAPI

````yaml id/openapi/rpc-http/getVersion.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: >-
    API informasi runtime untuk mengambil detail versi perangkat lunak
    blockchain Solana dan pengidentifikasi kumpulan fitur guna memverifikasi
    kompatibilitas.
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: Endpoint RPC Mainnet
  - url: https://devnet.helius-rpc.com
    description: Endpoint RPC Devnet
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getVersion
      description: >
        Ambil informasi versi perangkat lunak node Solana dan kumpulan fitur
        saat ini.

        API penting ini menyediakan detail tentang lingkungan runtime
        blockchain,

        yang membantu pengembang memastikan kompatibilitas antara aplikasi
        mereka dan jaringan.

        Informasi versi mencakup nomor rilis perangkat lunak inti Solana dan

        pengidentifikasi kumpulan fitur unik yang mewakili kemampuan tertentu
        yang diaktifkan pada

        node. Hal ini sangat penting bagi pengembang DApp, operator node, dan
        alat yang perlu

        memverifikasi kompatibilitas jaringan atau menerapkan perilaku khusus
        versi.
      operationId: getVersion
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: Versi protokol JSON-RPC.
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: Pengidentifikasi unik untuk permintaan.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getVersion
                  description: Nama metode RPC yang akan dipanggil.
                  example: getVersion
                  default: getVersion
                params:
                  type: array
                  description: Tidak memerlukan parameter.
                  maxItems: 0
      responses:
        '200':
          description: Berhasil mengambil detail versi Solana.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: Versi protokol JSON-RPC.
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: Pengidentifikasi yang cocok dengan permintaan.
                    example: '1'
                  result:
                    type: object
                    description: Detail versi Solana.
                    properties:
                      solana-core:
                        type: string
                        description: >-
                          Versi rilis perangkat lunak node blockchain Solana
                          yang berjalan pada validator ini.
                        example: 1.16.7
                      feature-set:
                        type: integer
                        description: >-
                          Pengidentifikasi numerik unik yang mewakili kumpulan
                          fitur Solana tertentu yang saat ini aktif.
                        example: 2891131721
              examples:
                default:
                  $ref: '#/components/examples/getVersionResponse'
        '400':
          description: >-
            Permintaan Buruk - Parameter permintaan tidak valid atau format
            permintaan salah.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: Tidak Diotorisasi - Kunci API tidak valid atau tidak tersedia.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Terlalu Banyak Permintaan - Batas laju terlampaui.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: Kesalahan Server Internal - Terjadi kesalahan pada server.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: Layanan Tidak Tersedia - Layanan untuk sementara tidak tersedia.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: Waktu Tunggu Gateway Habis - Waktu tunggu permintaan telah habis.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Gateway timeout
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  examples:
    getVersionResponse:
      value:
        jsonrpc: '2.0'
        id: '1'
        result:
          solana-core: 1.16.7
          feature-set: 2891131721
  schemas:
    ErrorResponse:
      type: object
      properties:
        jsonrpc:
          type: string
          description: Versi protokol JSON-RPC.
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: Kode kesalahan.
              example: -32602
            message:
              type: string
              description: Pesan kesalahan.
            data:
              type: object
              description: Data tambahan tentang kesalahan.
        id:
          type: string
          description: Pengidentifikasi yang cocok dengan permintaan.
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        Kunci API Helius Anda. Anda dapat memperolehnya secara gratis di
        [dasbor](https://dashboard.helius.dev/api-keys).

````