Skip to main content

getClusterNodes RPC Method

Returns information about all the nodes participating in the cluster.

Updated on
Dec 7, 2023

getClusterNodes RPC Method

Parameters

This method does not accept any parameters

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
Request
1
curl https://docs-demo.solana-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0", "id":1, "method":"getClusterNodes"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free