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

> Mengembalikan informasi tentang semua node yang berpartisipasi dalam klaster.



## OpenAPI

````yaml id/openapi/rpc-http/getClusterNodes.yaml POST /
openapi: 3.1.0
info:
  title: API RPC Solana
  version: 1.0.0
  description: >-
    API penemuan jaringan untuk mengambil daftar lengkap node validator Solana
    aktif beserta alamat jaringan, versi, dan endpoint konektivitasnya.
  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: getClusterNodes
      description: >
        Ambil informasi terperinci tentang semua node validator aktif di
        jaringan Solana.

        API topologi jaringan ini menyediakan pemetaan lengkap lanskap validator
        saat ini,

        dengan mengembalikan detail konektivitas penting untuk setiap node yang
        berpartisipasi. Informasi mencakup

        kunci publik validator, alamat jaringan untuk berbagai protokol (gossip,
        TPU, RPC),

        versi perangkat lunak, dan kumpulan fitur. Penting untuk alat pemantauan
        jaringan, dasbor

        statistik validator, pustaka klien yang menerapkan pemilihan node
        cerdas, alat jaringan

        yang memerlukan komunikasi langsung dengan validator, dan aplikasi yang
        ingin memahami

        distribusi geografis dan versi jaringan validator Solana.
      operationId: getClusterNodes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - jsonrpc
                - id
                - method
              properties:
                jsonrpc:
                  type: string
                  description: Versi protokol JSON-RPC.
                  enum:
                    - '2.0'
                  example: '2.0'
                  default: '2.0'
                id:
                  type: string
                  description: Pengidentifikasi unik untuk permintaan.
                  example: '1'
                  default: '1'
                method:
                  type: string
                  description: Nama metode RPC yang akan dipanggil.
                  enum:
                    - getClusterNodes
                  example: getClusterNodes
                  default: getClusterNodes
      responses:
        '200':
          description: Informasi node klaster berhasil diambil.
          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: array
                    description: >-
                      Daftar lengkap semua node validator Solana yang dapat
                      ditemukan dan saat ini berpartisipasi dalam jaringan.
                    items:
                      type: object
                      properties:
                        pubkey:
                          type: string
                          description: >-
                            Kunci publik identitas validator unik (dikodekan
                            dalam base-58) yang mengidentifikasi node ini di
                            jaringan Solana.
                          example: 9QzsJf7LPLj8GkXbYT3LFDKqsj2hHG7TA3xinJHu8epQ
                        gossip:
                          type: string
                          nullable: true
                          description: >-
                            Alamat IP dan port untuk terhubung ke endpoint
                            protokol gossip validator ini guna menemukan peer.
                          example: 10.239.6.48:8001
                        tpu:
                          type: string
                          nullable: true
                          description: >-
                            Alamat Unit Pemrosesan Transaksi tempat klien dapat
                            mengirimkan transaksi secara langsung ke validator
                            ini.
                          example: 10.239.6.48:8856
                        rpc:
                          type: string
                          nullable: true
                          description: >-
                            Alamat endpoint API JSON-RPC jika validator ini
                            menawarkan layanan RPC publik, atau null jika tidak
                            tersedia untuk publik.
                          example: 10.239.6.48:8899
                        version:
                          type: string
                          nullable: true
                          description: >-
                            Versi perangkat lunak Solana dan pengidentifikasi
                            build yang berjalan pada node validator ini.
                          example: 1.0.0 c375ce1f
                        featureSet:
                          type: integer
                          nullable: true
                          description: >-
                            Pengidentifikasi numerik kumpulan fitur yang
                            diaktifkan pada validator ini, yang digunakan untuk
                            melacak kompatibilitas protokol.
                        shredVersion:
                          type: integer
                          nullable: true
                          description: >-
                            Nomor versi kompatibilitas jaringan yang digunakan
                            untuk pemrosesan dan perutean shred antar-node
                            validator.
        '400':
          description: >-
            Permintaan Tidak Valid - Parameter permintaan tidak valid atau
            format permintaan salah.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32602
                  message: Parameter tidak valid
                id: '1'
        '401':
          description: Tidak Diotorisasi - Kunci API tidak valid atau tidak ada.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32001
                  message: Tidak diotorisasi
                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: Terlalu banyak permintaan
                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: Kesalahan internal
                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: Layanan tidak tersedia
                id: '1'
        '504':
          description: Batas Waktu Gateway - Waktu permintaan habis.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
              example:
                jsonrpc: '2.0'
                error:
                  code: -32003
                  message: Waktu gateway habis
                id: '1'
      security:
        - ApiKeyQuery: []
components:
  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.
            message:
              type: string
              description: Pesan 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).

````