Skip to main content

getClusterNodes RPC Method

Returns information about all the nodes participating in the cluster.

Parameters

None

Code Sample

Response

Result Details

The result field will be an array of JSON objects, each containing:
  • pubkey: <string>
    • Node public key
    • Encoded as a base-58 string
  • gossip: <string|null>
    • Gossip network address for the node
    • null if not available
  • tpu: <string|null>
    • TPU (Transaction Processing Unit) network address
    • null if not available
  • rpc: <string|null>
    • JSON RPC network address
    • null if JSON RPC service is not enabled
  • version: <string|null>
    • Software version of the node
    • null if version information is unavailable
  • featureSet: <u32|null>
    • Unique identifier of the node’s feature set
    • null if not available
  • shredVersion: <u16|null>
    • Shred version configured for the node
    • null if not available