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

> ノードで稼働している現在のSolanaバージョンを返します。



## OpenAPI

````yaml ja/openapi/rpc-http/getVersion.yaml POST /
openapi: 3.1.0
info:
  title: Solana RPC API
  version: 1.0.0
  description: Solanaブロックチェーンソフトウェアのバージョン詳細および機能セット識別子を取得して互換性を確認するためのランタイム情報API。
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
  - url: https://mainnet.helius-rpc.com
    description: メインネットRPCエンドポイント
  - url: https://devnet.helius-rpc.com
    description: Devnet RPCエンドポイント
security: []
paths:
  /:
    post:
      tags:
        - RPC
      summary: getVersion
      description: |
        現在のSolanaノードのソフトウェアバージョンと機能セット情報を取得します。
        この重要なAPIは、ブロックチェーンのランタイム環境の詳細を提供し、
        開発者がアプリケーションとネットワークの互換性を確認するのに役立ちます。
        バージョン情報には、Solanaコアソフトウェアのリリース番号と、ノード上で
        有効化された特定の機能を表すユニークな機能セット識別子が含まれます。
        DApp開発者、ノードオペレーター、およびネットワークの互換性を確認する必要のある
        ツールやバージョン固有の動作を実装するために重要です。
      operationId: getVersion
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  type: string
                  enum:
                    - '2.0'
                  description: JSON-RPCプロトコルのバージョン。
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: リクエストのためのユニークな識別子。
                  example: '1'
                  default: '1'
                method:
                  type: string
                  enum:
                    - getVersion
                  description: 呼び出すRPCメソッドの名前。
                  example: getVersion
                  default: getVersion
                params:
                  type: array
                  description: パラメータは必要ありません。
                  maxItems: 0
      responses:
        '200':
          description: Solanaバージョンの詳細を正常に取得しました。
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                    description: JSON-RPCプロトコルのバージョン。
                    enum:
                      - '2.0'
                    example: '2.0'
                  id:
                    type: string
                    description: リクエストに一致する識別子。
                    example: '1'
                  result:
                    type: object
                    description: Solanaバージョンの詳細。
                    properties:
                      solana-core:
                        type: string
                        description: このバリデーターで実行されているSolanaブロックチェーンノードソフトウェアのリリースバージョン。
                        example: 1.16.7
                      feature-set:
                        type: integer
                        description: 現在アクティブな特定のSolana機能セットを表すユニークな数値識別子。
                        example: 2891131721
              examples:
                default:
                  $ref: '#/components/examples/getVersionResponse'
        '400':
          description: 不正なリクエスト - 無効なリクエストパラメータまたは不正なリクエスト。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: 無効なパラメータ
                id: '1'
        '401':
          description: 認証エラー - 無効または不足しているAPIキー。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: 認証エラー
                id: '1'
        '429':
          description: リクエストが多すぎます - レート制限を超過しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: リクエストが多すぎます
                id: '1'
        '500':
          description: サーバー内部エラー - サーバーでエラーが発生しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: 内部エラー
                id: '1'
        '503':
          description: サービス利用不可 - サービスは一時的に利用できません。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: サービス利用不可
                id: '1'
        '504':
          description: ゲートウェイタイムアウト - リクエストがタイムアウトしました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: ゲートウェイタイムアウト
                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: JSON-RPCプロトコルのバージョン。
          enum:
            - '2.0'
          example: '2.0'
        error:
          type: object
          properties:
            code:
              type: integer
              description: エラーコード。
              example: -32602
            message:
              type: string
              description: エラーメッセージ。
            data:
              type: object
              description: エラーに関する追加データ。
        id:
          type: string
          description: リクエストに一致する識別子。
          example: '1'
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api-key
      description: >-
        あなたのHelius
        APIキー。無料で[ダッシュボード](https://dashboard.helius.dev/api-keys)から取得できます。

````