getVoteAccounts

Returns the account info and associated stake for all the voting accounts in the current bank.

POST Category: stake

Example Request

curl "https://eu.fluxrpc.com?key=<your-API-key>" -s -X POST -H "Content-Type: application/json" -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getVoteAccounts"
}'

Example Response

{
  "jsonrpc": "2.0",
  "result": {
    "current": [
      {
        "commission": 0,
        "epochVoteAccount": true,
        "epochCredits": [[1, 64, 0], [2, 192, 64]],
        "nodePubkey": "B97CCUW3AEZFGy6uUg6zUdnNYvnVq5VG8PUtb2HayTDD",
        "lastVote": 147,
        "activatedStake": 42,
        "votePubkey": "3ZT31jkAGhUaw8jsy4bTknwBKodePJQ4Hmb8kXhSk1Jk"
      }
    ],
    "delinquent": []
  },
  "id": 1
}

← Back to all methods