getClusterNodes
Returns information about all the nodes participating in the cluster.
This method will use 30 Compute Units.
Parameters
None.
Returns
- featureSet. The unique identifier of the node's feature set.
- gossip. The gossip network address for the node.
- pubkey. The public key of the node encoded as base-58 string.
- rpc. The IP address and port number of the node's JSON-RPC service. Null if the JSON RPC service is not enabled.
- shredVersion. The version of the data structure used by this node to store and transmit blocks.
- tpu. The TPU network address for the node.
- version. The software version of the node. Null if the version information is not available.
// Result
{
	"jsonrpc": "2.0",
	"result": [
		{
			"featureSet": 3039680930,
			"gossip": "84.32.71.185:8000",
			"pubkey": "HnnWuaRUp63oBLNbxpo5wjAuazp2ukobyUvGsvMKX85d",
			"pubsub": null,
			"rpc": null,
			"serveRepair": "84.32.71.185:8011",
			"shredVersion": 50093,
			"tpu": "84.32.71.185:8003",
			"tpuForwards": "84.32.71.185:8004",
			"tpuForwardsQuic": "84.32.71.185:8010",
			"tpuQuic": "84.32.71.185:8009",
			"tpuVote": "84.32.71.185:8005",
			"tvu": "84.32.71.185:8001",
			"version": "2.1.11"
		},
		...
	],
	"id": 1
}curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0", "id":1, "method":"getClusterNodes"}'
    curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0", "id":1, "method":"getClusterNodes"}'
    Last updated
Was this helpful?