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

# getVoteAccounts | Solana

> The Solana getVoteAccounts method returns the account info and associated stake for all voting validators in the current epoch. On Solana.

The Solana `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.

## Parameters

1. `config` (object, optional) — configuration object containing:
   * `votePubkey` (string) — filter results to a single validator vote address.
   * `commitment` (string) — the commitment level.

## Response

The response includes a `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`.

## Use case

A common use case for `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.


## OpenAPI

````yaml openapi/solana_node_api/getVoteAccounts.json POST /9de47db917d4f69168e3fed02217d15b
openapi: 3.0.0
info:
  title: getVoteAccounts example
  version: 1.0.0
  description: This is an API example for Solana's getVoteAccounts.
servers:
  - url: https://nd-326-444-187.p2pify.com
security: []
paths:
  /9de47db917d4f69168e3fed02217d15b:
    post:
      tags:
        - query
      summary: getVoteAccounts
      operationId: getVoteAccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: getVoteAccounts
                params:
                  type: array
                  default: []
      responses:
        '200':
          description: Vote account information
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object

````