curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getVoteAccounts",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "getVoteAccounts",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}getVoteAccounts method returns the account info and associated stake for all voting validators in the current epoch.
This method is useful for querying validator information, monitoring network decentralization, and building staking analytics.
config (object, optional) — configuration object containing:
votePubkey (string) — filter results to a single validator vote address.commitment (string) — the commitment level.result object with:
current — an array of vote accounts that have voted in the current epoch. Each object contains:
votePubkey (string) — the vote account address.nodePubkey (string) — the validator identity.activatedStake (integer) — the stake in lamports delegated to this vote account and active in this epoch.epochVoteAccount (boolean) — whether the vote account is staked for this epoch.commission (integer) — the percentage (0–100) of rewards payout owed to the vote account.lastVote (integer) — the most recent slot voted on by this vote account.epochCredits — an array of [epoch, credits, previousCredits] tuples.rootSlot (integer) — the current root slot for this vote account.delinquent — an array of vote accounts that have not voted recently, with the same structure as current.getVoteAccounts is in staking dashboards and validator monitoring tools. You can use it to list all active validators, check their commission rates, and identify delinquent validators that may be underperforming.Was this page helpful?