Monitor node status, health checks, cluster information, and validator details.
getClusterNodes
Returns the cluster nodes.
Result
getClusterNodes - Returns cluster nodes informationShow propertiesHide properties
curl http://127.0.0.1:8899 -s -X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getClusterNodes",
"params": []
}
'
{
"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
getHealth - Returns the health of the cluster
curl http://127.0.0.1:8899 -s -X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getHealth",
"params": []
}
'
{
"jsonrpc": "2.0",
"id": 1,
"result": "ok"
}
getIdentity
Returns the identity of the cluster.
Result
curl http://127.0.0.1:8899 -s -X POST \
-H "Content-Type: application/json" \
-d '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getIdentity",
"params": []
}
'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"identity": "SUrFPooLSUrFPooLSUrFPooLSUrFPooLSUrFPooLSUr"
}
}
getVoteAccounts
Returns the vote accounts.
Parameters
Configuration object for the query.Show propertiesHide properties
The commitment describes how finalized a block is at that point in time. Options are ‘processed’, ‘confirmed’, or ‘finalized’.Show propertiesHide properties
The commitment describes how finalized a block is at that point in time. Options are ‘processed’, ‘confirmed’, or ‘finalized’
The distance in slots to consider a vote account delinquent.
Whether to keep unstaked delinquent vote accounts.
Filter by vote account public key.
Result
Show propertiesHide properties
Show propertiesHide properties
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"
}
]
}
'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"current": [],
"delinquent": []
}
}