getClusterNodes
Returns information about all the nodes participating in the cluster

Parameters

None

Result

  • pubkey: <base-58 encoded string> - Node public key
  • gossip: <string | null> - Node gossip network address
  • tpu: <string | null> - Node TPU network address
  • rpc: <string | null> - JSON RPC network address for the node, or null if the JSON RPC service is not enabled
  • version: <string | null> - The software version of the node, or null if the version information is not available
  • featureSet: <u32 | null > - The unique identifier of the node's feature set
  • shredVersion: <u16 | null> - The configured shred version for the node

Example

Request

cURL
1
curl --location --request POST 'https://solana-mainnet.g.alchemy.com/v2/demo' \
2
--header 'Content-Type: application/json' \
3
--data-raw '{"jsonrpc":"2.0", "id":1, "method":"getClusterNodes"}'
Copied!

Response

1
{
2
"jsonrpc": "2.0",
3
"result": [
4
{
5
"featureSet": 2945818700,
6
"gossip": "34.200.236.16:8001",
7
"pubkey": "DeroCnnoUKvK1MdC7RCJw9YwAeegTNzcUzqYuQEomFsh",
8
"rpc": "34.200.236.16:8545",
9
"shredVersion": 3247,
10
"tpu": "34.200.236.16:8004",
11
"version": "1.9.21"
12
},
13
{
14
"featureSet": 1070292356,
15
"gossip": "147.28.133.51:8000",
16
"pubkey": "fishfishrD9BwrQQiAcG6YeYZVUYVJf3tb9QGQPMJqF",
17
"rpc": null,
18
"shredVersion": 3247,
19
"tpu": "147.28.133.51:8003",
20
"version": "1.9.18"
21
},
22
{
23
"featureSet": 2945818700,
24
"gossip": "85.10.193.135:8001",
25
"pubkey": "8XbwT1nJ8h4uP6t44X89ceXGaSTQ855tuzRGQHXC4ta",
26
"rpc": null,
27
"shredVersion": 3247,
28
"tpu": "85.10.193.135:8004",
29
"version": "1.9.22"
30
}
31
..........
32
]
33
}
Copied!