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

# getVoteAccounts

> Runs the Solana RPC `getVoteAccounts` method.



## OpenAPI

````yaml getvoteaccounts post /
openapi: 3.1.0
info:
  title: Solana RPC
  version: 1.0.0
  description: Solana RPC HTTP method reference.
servers:
  - url: https://rpc-mainnet.solanatracker.io
    description: Mainnet RPC endpoint
security: []
paths:
  /:
    post:
      summary: Run `getVoteAccounts`
      description: Runs the Solana RPC `getVoteAccounts` method.
      operationId: getvoteaccounts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                jsonrpc:
                  allOf:
                    - type: string
                      enum:
                        - '2.0'
                      description: The JSON-RPC protocol version.
                      example: '2.0'
                      default: '2.0'
                id:
                  allOf:
                    - type: string
                      description: A unique identifier for the request.
                      example: '1'
                      default: '1'
                method:
                  allOf:
                    - type: string
                      enum:
                        - getVoteAccounts
                      description: The name of the RPC method to invoke.
                      example: getVoteAccounts
                      default: getVoteAccounts
                params:
                  allOf:
                    - type: array
                      description: >-
                        Optional configuration object for filtering vote
                        accounts.
                      items:
                        type: object
                        properties:
                          commitment:
                            type: string
                            description: The commitment level for the request.
                            enum:
                              - confirmed
                              - finalized
                              - processed
                            example: finalized
                          votePubkey:
                            type: string
                            description: >-
                              Specific validator vote account address to filter
                              results (base-58 encoded).
                            example: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                          keepUnstakedDelinquents:
                            type: boolean
                            description: >-
                              Include validators that have fallen behind but
                              have no stake delegated to them.
                            example: true
                          delinquentSlotDistance:
                            type: integer
                            description: >-
                              Custom threshold of slots behind to mark
                              validators as delinquent or underperforming.
                            example: 128
              required:
                - jsonrpc
                - id
                - method
                - params
            examples:
              example:
                value:
                  jsonrpc: '2.0'
                  id: db16f277-1a22-41ff-9f85-f37e2cd77900
                  method: getVoteAccounts
                  params:
                    - votePubkey: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
      responses:
        '200':
          description: Successfully retrieved vote accounts.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    allOf:
                      - type: string
                        enum:
                          - '2.0'
                        description: The JSON-RPC protocol version.
                        example: '2.0'
                  id:
                    allOf:
                      - type: string
                        description: Identifier matching the request.
                        example: '1'
                  result:
                    allOf:
                      - type: object
                        description: List of current and delinquent vote accounts.
                        properties:
                          current:
                            type: array
                            description: >-
                              Active validators participating properly in Solana
                              network consensus.
                            items:
                              type: object
                              properties:
                                votePubkey:
                                  type: string
                                  description: >-
                                    Unique Solana vote account address
                                    associated with this validator.
                                  example: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                                nodePubkey:
                                  type: string
                                  description: >-
                                    Validator identity address that controls the
                                    vote account.
                                  example: B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD
                                activatedStake:
                                  type: integer
                                  description: >-
                                    Total SOL delegated to this validator in
                                    lamports, determining their consensus
                                    weight.
                                  example: 42
                                epochVoteAccount:
                                  type: boolean
                                  description: >-
                                    Whether this validator is eligible for
                                    rewards in the current epoch.
                                  example: true
                                commission:
                                  type: integer
                                  description: >-
                                    Validator commission percentage (0-100)
                                    taken from staking rewards.
                                  example: 0
                                lastVote:
                                  type: integer
                                  description: >-
                                    Most recent Solana slot this validator voted
                                    on, indicating activity.
                                  example: 147
                                epochCredits:
                                  type: array
                                  description: >-
                                    Latest history of earned credits for up to
                                    five epochs.
                                  items:
                                    type: array
                                    description: >-
                                      Credits history [epoch, credits,
                                      previousCredits].
                                    items:
                                      type: integer
                                    example:
                                      - 1
                                      - 64
                                      - 0
                                rootSlot:
                                  type: integer
                                  description: Current root slot for this vote account.
                                  example: 42
                          delinquent:
                            type: array
                            description: >-
                              Underperforming validators that have fallen behind
                              in consensus participation.
                            items:
                              type: object
                              properties:
                                votePubkey:
                                  type: string
                                  description: Vote account address.
                                  example: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                                nodePubkey:
                                  type: string
                                  description: Validator identity.
                                  example: B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD
                                activatedStake:
                                  type: integer
                                  description: >-
                                    Stake delegated to this vote account
                                    (lamports).
                                  example: 0
                                epochVoteAccount:
                                  type: boolean
                                  description: >-
                                    Whether the vote account is staked for this
                                    epoch.
                                  example: false
                                commission:
                                  type: integer
                                  description: >-
                                    Percentage (0-100) of rewards payout owed to
                                    the vote account.
                                  example: 0
                                lastVote:
                                  type: integer
                                  description: >-
                                    Most recent slot voted on by this vote
                                    account.
                                  example: 147
                                epochCredits:
                                  type: array
                                  description: >-
                                    Latest history of earned credits for up to
                                    five epochs.
                                  items:
                                    type: array
                                    description: >-
                                      Credits history [epoch, credits,
                                      previousCredits].
                                    items:
                                      type: integer
                                    example:
                                      - 1
                                      - 64
                                      - 0
                                rootSlot:
                                  type: integer
                                  description: Current root slot for this vote account.
                                  example: 42
              examples:
                default:
                  value:
                    jsonrpc: '2.0'
                    id: db16f277-1a22-41ff-9f85-f37e2cd77900
                    result:
                      current:
                        - votePubkey: 3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw
                          nodePubkey: B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD
                          activatedStake: 42
                          epochVoteAccount: true
                          commission: 0
                          lastVote: 147
                          epochCredits:
                            - - 1
                              - 64
                              - 0
                            - - 2
                              - 192
                              - 64
                          rootSlot: 42
                      delinquent: []
      security:
        - ApiKeyQuery: []
components:
  securitySchemes:
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key

````