> ## Documentation Index
> Fetch the complete documentation index at: https://chainstack-docs-polygon-erigon-trace-deprecation.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# getClusterNodes | Solana

> The Solana getClusterNodes method returns information about all the nodes participating in the cluster. Chainstack Solana reference.

# Solana `getClusterNodes` method

The Solana `getClusterNodes` method returns information about all the nodes participating in the cluster.

This method provides detailed information about each node, including its identity public key, gossip address, TPU address, version of Solana core software, and more. It is useful for getting a snapshot of the network's current state.

## Parameters

This method does not require any parameters.

## Response

* `value` — an array of objects, each representing a node in the cluster. Each object includes:
  * `pubkey` — the identity public key of the node.
  * `gossip` — the gossip address of the node.
  * `tpu` — the Transaction Processing Unit (TPU) address for the node.
  * `rpc` — the JSON RPC web service address for the node.
  * `version` — the version of Solana core software running on the node.

## Use case

A practical use case for `getClusterNodes` is to get a snapshot of the network's current state. This can be useful for network monitoring tools or other applications that need to display or make use of this information.


## OpenAPI

````yaml openapi/solana_node_api/getClusterNodes.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getClusterNodes example
  version: 1.0.0
  description: This is an API example for Solana's getClusterNodes.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getClusterNodes
      operationId: getClusterNodes
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getClusterNodes
      responses:
        '200':
          description: Cluster nodes details
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: array
                    items:
                      type: object
                      properties:
                        pubkey:
                          type: string
                        gossip:
                          type: string
                        tpu:
                          type: string
                        rpc:
                          type: string
                        version:
                          type: string

````