Returns network endpoints, shred version, feature set, and software version for known cluster nodes.
Source
$ curl https://api.devnet.solana.com -s -X \> POST -H "Content-Type: application/json" -d '> {> "jsonrpc": "2.0",> "id": 1,> "method": "getClusterNodes"> }> '
params
Noneresult
Response
{"jsonrpc": "2.0","result": [{"featureSet": 3073396398,"gossip": "10.239.6.48:8001","pubkey": "9QzsJf7LPLj8GkXbYT3LFDKqsj2hHG7TA3xinJHu8epQ","pubsub": "10.239.6.48:8900","rpc": "10.239.6.48:8899","serveRepair": "10.239.6.48:8002","shredVersion": 2405,"tpu": "10.239.6.48:8856","tpuForwards": "10.239.6.48:8857","tpuForwardsQuic": "10.239.6.48:8863","tpuQuic": "10.239.6.48:8862","tpuVote": "10.239.6.48:8858","tvu": "10.239.6.48:8000","version": "1.0.0 c375ce1f"}],"id": 1}
array
The result field will be an array of JSON objects, each with the following sub fields:
Is this page helpful?