On ThorNode
Forwarded to the upstream node with a 10 s timeout and one retry on a transport error. Returns the upstream node’s gossip view of the cluster.Parameters
This method takes no parameters.Response
List of all discoverable Solana validator nodes currently participating in the network.
Show item
Show item
IP address and port for connecting to this validator’s gossip protocol endpoint for peer discovery.
Transaction Processing Unit address where clients can directly submit transactions to this validator.
JSON-RPC API endpoint address if this validator offers public RPC services, or null if not publicly available.
Numeric identifier of the feature set enabled on this validator, used to track protocol compatibility.
curl --fail-with-body "$THORNODE_RPC_URL" \
--header 'content-type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "getClusterNodes"
}'
const body = {
"jsonrpc": "2.0",
"id": 1,
"method": "getClusterNodes"
};
const response = await fetch(process.env.THORNODE_RPC_URL, {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify(body),
});
const { result, error } = await response.json();
console.log(result ?? error);
{
"jsonrpc": "2.0",
"result": [
{
"clientId": "Frankendancer",
"featureSet": 565236538,
"gossip": "86.54.153.246:8001",
"pubkey": "JD549HsbJHeEKKUrKgg4Fj2iyv2RGjsV7NTZjZUrHybB",
"pubsub": null,
"rpc": null,
"serveRepair": "86.54.153.246:8045",
"shredVersion": 50093,
"tpu": null,
"tpuForwards": null,
"tpuForwardsQuic": "86.54.153.246:8037",
"tpuQuic": "86.54.153.246:8037",
"tpuVote": "86.54.153.246:8031",
"tvu": "86.54.153.246:8003",
"version": "0.1105.40200"
},
{
"clientId": "JitoLabs",
"featureSet": 4119855713,
"gossip": "64.34.87.167:8000",
"pubkey": "BCJN2vZFAHDYmufBDcbD5UAQHSyerXfc6UQkgX3mSWuh",
"pubsub": null,
"rpc": null,
"serveRepair": "64.34.87.167:8008",
"shredVersion": 50093,
"tpu": null,
"tpuForwards": null,
"tpuForwardsQuic": "64.34.87.167:8003",
"tpuQuic": "64.34.87.167:8002",
"tpuVote": "64.34.87.167:8004",
"tvu": "64.34.87.167:8001",
"version": "4.2.0-rc.1"
}
],
"id": 1
}