getClusterNodes - Solana

getClusterNodes. Retrieves information about all the nodes

getClusterNodes - solana [Value: 23CU]
Retrieves information about all the nodes
Use cases

Use cases

  • Retrieve active cluster nodes for network status monitoring
  • Analyze node distribution for improving network topology
  • Identify and track Solana node availability
Constraints

Constraints

  • Requires connection to a functional Solana node
  • Network issues may delay node data retrieval
  • Frequent requests can trigger rate limiting
Get started
Unlock Access to 50+ chains
Boost your app's speed and reliability with dRPC - get your access API key

Language

Request
Examples
curl --request POST \
     --url https://solana.drpc.org \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --data '
{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "getClusterNodes"
}
'
Copy
Response
200
{
  "id": 0,
  "jsonrpc": "string",
  "result": [
    {
      "pubkey": "string",
      "gossip": "string",
      "tpu": "string",
      "rpc": "string",
      "version": "string",
      "featureSet": 0,
      "shredVersion": 0
    }
  ]
}
Copy

Request params

idinteger
jsonrpcstring
methodstring
ParametersThis method does not accept any parameters.

Response

200
An array of objects where each object contains details about a node

Response params

array of objects
idinteger
jsonrpcstring
resultstring
array of objects
pubkeystring
The node's public key, encoded in base-58.
rpcstring
The RPC (Remote Procedure Call) address of the node.
pubkeystring
The node's public key, encoded in base-58.
versionstring
The version of the Solana software the node is running.
featureSetstring
The set of features supported by the node.
shredVersionstring
The shred version the node is using.