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

# getClusterNodes

> クラスターに参加しているすべてのノードに関する情報を返します。



## OpenAPI

````yaml ja/openapi/rpc-http/getClusterNodes.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: getClusterNodes
      description: |
        Solanaネットワーク内のすべてのアクティブバリデータノードに関する詳細情報を取得します。
        このネットワークトポロジーAPIは、現在のバリデータの状況を完全にマッピングし、
        各参加ノードの基本的な接続詳細を返します。情報には、
        バリデータの公開鍵、さまざまなプロトコルのネットワークアドレス（ゴシップ、TPU、RPC）、
        ソフトウェアバージョン、および機能セットが含まれます。ネットワーク監視ツール、バリデータ
        統計ダッシュボード、知的なノード選択を実装するクライアントライブラリ、バリデータとの直接通信が必要なネットワーク
        ツール、およびSolanaバリデータネットワークの地理的およびバージョン分布を理解したいアプリケーションにとって重要です。
      operationId: getClusterNodes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
              properties:
                jsonrpc:
                  type: string
                  description: JSON-RPCプロトコルのバージョン。
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: リクエストの一意の識別子。
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: 呼び出すRPCメソッドの名前。
                  enum:
                    - getClusterNodes
                  example: getClusterNodes
                  default: getClusterNodes
      responses:
        '200':
          description: クラスターノード情報の取得に成功しました。
          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: array
                    description: 現在ネットワークに参加しているすべての検出可能なSolanaバリデータノードの包括的なリスト。
                    items:
                      type: object
                      properties:
                        pubkey:
                          type: string
                          description: Solanaネットワーク上のこのノードを識別する一意のバリデータ公開鍵（base-58エンコード）。
                          example: 9QzsJf7LPLj8GkXbYT3LFDKqsj2hHG7TA3xinJHu8epQ
                        gossip:
                          type: string
                          nullable: true
                          description: >-
                            ピアディスカバリーのためのこのバリデータのゴシッププロトコルエンドポイントに接続するためのIPアドレスとポート。
                          example: 10.239.6.48:8001
                        tpu:
                          type: string
                          nullable: true
                          description: クライアントが直接トランザクションをこのバリデータに送信できるトランザクション処理ユニットアドレス。
                          example: 10.239.6.48:8856
                        rpc:
                          type: string
                          nullable: true
                          description: >-
                            このバリデータが公共のRPCサービスを提供している場合のJSON-RPC
                            APIエンドポイントアドレス、または公開されていない場合はnull。
                          example: 10.239.6.48:8899
                        version:
                          type: string
                          nullable: true
                          description: このバリデータノード上で稼働しているSolanaソフトウェアバージョンおよびビルド識別子。
                          example: 1.0.0 c375ce1f
                        featureSet:
                          type: integer
                          nullable: true
                          description: プロトコル互換性を追跡するために使用される、このバリデータで有効化されている機能セットの数値識別子。
                        shredVersion:
                          type: integer
                          nullable: true
                          description: バリデータノード間のシュレッド処理およびルーティングのために使用されるネットワーク互換性バージョン番号。
        '400':
          description: Bad Request - 無効なリクエストパラメータまたは不正なリクエスト。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Invalid params
                id: '1'
        '401':
          description: Unauthorized - 無効または欠落したAPIキー。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Unauthorized
                id: '1'
        '429':
          description: Too Many Requests - レート制限超過。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32005
                  message: Too many requests
                id: '1'
        '500':
          description: Internal Server Error - サーバーでエラーが発生しました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32603
                  message: Internal error
                id: '1'
        '503':
          description: Service Unavailable - サービスは一時的に利用できません。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32002
                  message: Service unavailable
                id: '1'
        '504':
          description: Gateway Timeout - リクエストがタイムアウトしました。
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Gateway timeout
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  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: エラーコード。
            message:
              type: string
              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)から入手できます。

````