POST
/
getVoteAccounts
curl --request POST \
  --url https://mainnet.helius-rpc.com/ \
  --header 'Content-Type: application/json' \
  --data '{
  "jsonrpc": "2.0",
  "id": "1",
  "method": "getVoteAccounts",
  "params": [
    {
      "votePubkey": "3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw"
    }
  ]
}'
{
  "jsonrpc": "2.0",
  "id": "1",
  "result": {
    "current": [
      {
        "votePubkey": "3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw",
        "nodePubkey": "B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD",
        "activatedStake": 42,
        "epochVoteAccount": true,
        "commission": 0,
        "lastVote": 147,
        "epochCredits": [
          [
            1,
            64,
            0
          ],
          [
            2,
            192,
            64
          ]
        ],
        "rootSlot": 42
      }
    ],
    "delinquent": []
  }
}

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:getVoteAccounts

The name of the RPC method to invoke.

Available options:
getVoteAccounts
Example:

"getVoteAccounts"

params
object[]

Optional configuration object for filtering vote accounts.

Response

Successfully retrieved vote accounts.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
object

List of current and delinquent vote accounts.