New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
Returns the account info and associated stake for all the voting accounts in the current bank.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--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": []
}
}The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getVoteAccounts "getVoteAccounts"
Optional configuration object for filtering vote accounts.
Show child attributes
The commitment level for the request.
confirmed, finalized, processed "finalized"
Specific validator vote account address to filter results (base-58 encoded).
"3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw"
Include validators that have fallen behind but have no stake delegated to them.
true
Custom threshold of slots behind to mark validators as delinquent or underperforming.
128
Successfully retrieved vote accounts.
The JSON-RPC protocol version.
2.0 "2.0"
Identifier matching the request.
"1"
List of current and delinquent vote accounts.
Show child attributes
Active validators participating properly in Solana network consensus.
Show child attributes
Unique Solana vote account address associated with this validator.
"3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw"
Validator identity address that controls the vote account.
"B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD"
Total SOL delegated to this validator in lamports, determining their consensus weight.
42
Whether this validator is eligible for rewards in the current epoch.
true
Validator commission percentage (0-100) taken from staking rewards.
0
Most recent Solana slot this validator voted on, indicating activity.
147
Latest history of earned credits for up to five epochs.
Credits history [epoch, credits, previousCredits].
[1, 64, 0]Current root slot for this vote account.
42
Underperforming validators that have fallen behind in consensus participation.
Show child attributes
Vote account address.
"3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw"
Validator identity.
"B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD"
Stake delegated to this vote account (lamports).
0
Whether the vote account is staked for this epoch.
false
Percentage (0-100) of rewards payout owed to the vote account.
0
Most recent slot voted on by this vote account.
147
Latest history of earned credits for up to five epochs.
Credits history [epoch, credits, previousCredits].
[1, 64, 0]Current root slot for this vote account.
42
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--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": []
}
}