> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Node Health

> Monitor node status, health checks, and cluster information

Monitor node status, health checks, cluster information, and validator details.

## getClusterNodes

Returns the cluster nodes.

**Result**

<ResponseField name="result" type="array<RpcContactInfo>">
  getClusterNodes - Returns cluster nodes information

  <Expandable title="properties" defaultOpen>
    <ResponseField name="featureSet" type="integer" />

    <ResponseField name="gossip" type="SocketAddrSchema" />

    <ResponseField name="pubkey" type="string" />

    <ResponseField name="pubsub" type="SocketAddrSchema" />

    <ResponseField name="rpc" type="SocketAddrSchema" />

    <ResponseField name="serveRepair" type="SocketAddrSchema" />

    <ResponseField name="shredVersion" type="integer" />

    <ResponseField name="tpu" type="SocketAddrSchema" />

    <ResponseField name="tpuForwards" type="SocketAddrSchema" />

    <ResponseField name="tpuForwardsQuic" type="SocketAddrSchema" />

    <ResponseField name="tpuQuic" type="SocketAddrSchema" />

    <ResponseField name="tpuVote" type="SocketAddrSchema" />

    <ResponseField name="tvu" type="SocketAddrSchema" />

    <ResponseField name="version" type="string" />

    <ResponseField name="clientId" type="string" />
  </Expandable>
</ResponseField>

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getClusterNodes",
    "params": []
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": [
    {
      "pubkey": "SUrFPooLSUrFPooLSUrFPooLSUrFPooLSUrFPooLSUr",
      "gossip": "127.0.0.1:8001",
      "tvu": null,
      "tpu": "127.0.0.1:8003",
      "tpuQuic": "127.0.0.1:8004",
      "tpuForwards": null,
      "tpuForwardsQuic": null,
      "tpuVote": null,
      "serveRepair": null,
      "rpc": "127.0.0.1:28919",
      "pubsub": "127.0.0.1:28920",
      "version": null,
      "clientId": null,
      "featureSet": null,
      "shredVersion": null
    }
  ]
}
```

## getHealth

Returns the health of the cluster.

**Result**

<ResponseField name="result" type="string">
  getHealth - Returns the health of the cluster
</ResponseField>

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getHealth",
    "params": []
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "ok"
}
```

## getIdentity

Returns the identity of the cluster.

**Result**

<ResponseField name="identity" type="string" />

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getIdentity",
    "params": []
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "identity": "SUrFPooLSUrFPooLSUrFPooLSUrFPooLSUrFPooLSUr"
  }
}
```

## getVoteAccounts

Returns the vote accounts.

**Parameters**

<ParamField body="config" type="object">
  Configuration object for the query.

  <Expandable title="properties" defaultOpen>
    <ParamField body="commitment" type="object">
      The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'.

      <Expandable title="properties">
        <ParamField body="commitment" type="&#x22;processed&#x22; | &#x22;confirmed&#x22; | &#x22;finalized&#x22;">
          The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
        </ParamField>
      </Expandable>
    </ParamField>

    <ParamField body="delinquentSlotDistance" type="integer">
      The distance in slots to consider a vote account delinquent.
    </ParamField>

    <ParamField body="keepUnstakedDelinquents" type="boolean">
      Whether to keep unstaked delinquent vote accounts.
    </ParamField>

    <ParamField body="votePubkey" type="string">
      Filter by vote account public key.
    </ParamField>
  </Expandable>
</ParamField>

**Result**

<ResponseField name="current" type="array<RpcVoteAccountInfo>">
  <Expandable title="properties" defaultOpen>
    <ResponseField name="activatedStake" type="integer" />

    <ResponseField name="commission" type="integer" />

    <ResponseField name="epochCredits" type="array<array>" />

    <ResponseField name="epochVoteAccount" type="boolean" />

    <ResponseField name="lastVote" type="integer" />

    <ResponseField name="nodePubkey" type="string" />

    <ResponseField name="rootSlot" type="integer" />

    <ResponseField name="votePubkey" type="string" />
  </Expandable>
</ResponseField>

<ResponseField name="delinquent" type="array<RpcVoteAccountInfo>">
  <Expandable title="properties" defaultOpen>
    <ResponseField name="activatedStake" type="integer" />

    <ResponseField name="commission" type="integer" />

    <ResponseField name="epochCredits" type="array<array>" />

    <ResponseField name="epochVoteAccount" type="boolean" />

    <ResponseField name="lastVote" type="integer" />

    <ResponseField name="nodePubkey" type="string" />

    <ResponseField name="rootSlot" type="integer" />

    <ResponseField name="votePubkey" type="string" />
  </Expandable>
</ResponseField>

```bash Request
curl http://127.0.0.1:8899 -s -X POST \
  -H "Content-Type: application/json" \
  -d '
  {
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getVoteAccounts",
    "params": [
      {
        "commitment": "confirmed"
      }
    ]
  }
'
```

```json Response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "current": [],
    "delinquent": []
  }
}
```
