صحة العقدة

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

getClusterNodes

Returns the cluster nodes.

Result
FieldTypeDescription
result
array<RpcContactInfo>getClusterNodes - Returns cluster nodes information
└[]
objectArray item
└featureSet
integer
└gossip
object
└ip
string
└port
integer
└pubkey
string
└pubsub
object
└ip
string
└port
integer
└rpc
object
└ip
string
└port
integer
└serveRepair
object
└ip
string
└port
integer
└shredVersion
integer
└tpu
object
└ip
string
└port
integer
└tpuForwards
object
└ip
string
└port
integer
└tpuForwardsQuic
object
└ip
string
└port
integer
└tpuQuic
object
└ip
string
└port
integer
└tpuVote
object
└ip
string
└port
integer
└tvu
object
└ip
string
└port
integer
└version
string
Example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getClusterNodes",
  "params": []
}

getHealth

Returns the health of the cluster.

Result
FieldTypeDescription
result
stringgetHealth - Returns the health of the cluster
Example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getHealth",
  "params": []
}

getIdentity

Returns the identity of the cluster.

Result
FieldTypeDescription
identity
string
Example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getIdentity",
  "params": []
}

getVoteAccounts

Returns the vote accounts.

Parameters
NameTypeDescription
config
objectConfiguration object for the query.
└commitment
objectThe commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'.
└commitment
"processed" | "confirmed" | "finalized"The commitment describes how finalized a block is at that point in time. Options are 'processed', 'confirmed', or 'finalized'
└delinquentSlotDistance
integerThe distance in slots to consider a vote account delinquent.
└keepUnstakedDelinquents
booleanWhether to keep unstaked delinquent vote accounts.
└votePubkey
stringFilter by vote account public key.
Result
FieldTypeDescription
current
array<RpcVoteAccountInfo>
└[]
objectArray item
└activatedStake
integer
└commission
integer
└epochCredits
array<array>
└epochVoteAccount
boolean
└lastVote
integer
└nodePubkey
string
└rootSlot
integer
└votePubkey
string
delinquent
array<RpcVoteAccountInfo>
└[]
objectArray item
└activatedStake
integer
└commission
integer
└epochCredits
array<array>
└epochVoteAccount
boolean
└lastVote
integer
└nodePubkey
string
└rootSlot
integer
└votePubkey
string
Example
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getVoteAccounts",
  "params": [
    {
      "commitment": {
        "commitment": "processed"
      },
      "delinquentSlotDistance": 123456789,
      "keepUnstakedDelinquents": true,
      "votePubkey": "83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"
    }
  ]
}

Is this page helpful?

جدول المحتويات

تعديل الصفحة