getClusterNodes - Solana
getClusterNodes. Retrieves information about all the nodes
getClusterNodes - solana [Value: 23CU]
Retrieves information about all the nodes
Use cases
- Retrieve active cluster nodes for network status monitoring
- Analyze node distribution for improving network topology
- Identify and track Solana node availability
Constraints
- Requires connection to a functional Solana node
- Network issues may delay node data retrieval
- Frequent requests can trigger rate limiting
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"
}
'
Response
200
{
"id": 0,
"jsonrpc": "string",
"result": [
{
"pubkey": "string",
"gossip": "string",
"tpu": "string",
"rpc": "string",
"version": "string",
"featureSet": 0,
"shredVersion": 0
}
]
}
Request params
idinteger
jsonrpcstring
methodstring
Response
200
An array of objects where each object contains details about a nodeResponse 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.