cURL
curl --request POST \ --url 'https://rpc-mainnet.solanatracker.io/?api_key=' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": "db16f277-1a22-41ff-9f85-f37e2cd77900", "method": "getVoteAccounts", "params": [ { "votePubkey": "3ZT31jkAGhUaw8jsy4bTknwBMP8i4Eueh52By4zXcsVw" } ] } '
{ "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": [] } }
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
Successfully retrieved vote accounts.
Identifier matching the request.
List of current and delinquent vote accounts.
Was this page helpful?