getVoteAccounts
Returns the account info and associated stake for all the voting accounts in the current bank.
Last updated
Was this helpful?
Returns the account info and associated stake for all the voting accounts in the current bank.
Last updated
Was this helpful?
The JSON-RPC protocol version.
2.0
Possible values: A unique identifier for the request.
1
The name of the RPC method to invoke.
getVoteAccounts
Possible values: POST / HTTP/1.1
Host: mainnet.helius-rpc.com
Content-Type: application/json
Accept: */*
Content-Length: 124
{
"jsonrpc": "2.0",
"id": 1,
"method": "getVoteAccounts",
"params": [
{
"votePubkey": "3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw"
}
]
}
Successfully retrieved vote accounts.
{
"jsonrpc": "2.0",
"id": "1",
"result": {
"current": [
{
"votePubkey": "3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw",
"nodePubkey": "B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD",
"activatedStake": 42,
"epochVoteAccount": true,
"commission": 0,
"lastVote": 147,
"epochCredits": [
[
1,
64,
0
]
],
"rootSlot": 42
}
],
"delinquent": [
{
"votePubkey": "3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw",
"nodePubkey": "B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD",
"activatedStake": 0,
"epochVoteAccount": false,
"commission": 0,
"lastVote": 147,
"epochCredits": [
[
1,
64,
0
]
],
"rootSlot": 42
}
]
}
}