in-solana by Supanode

voteSubscribe — Solana WebSocket Method

voteSubscribe sends a notification every time a vote transaction is observed by the validator. Vote transactions are how validators confirm slots.

Subscribe request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "voteSubscribe"
}

No parameters are required.

Notification format

{
  "jsonrpc": "2.0",
  "method": "voteNotification",
  "params": {
    "result": {
      "hash": "8Rshv2oMkPu5E4opXTRyHirKaGVQkNb...",
      "slots": [123456789],
      "timestamp": 1700000000,
      "votePubkey": "Vote111111111111111111111111111111111111111"
    },
    "subscription": 42
  }
}
FieldDescription
hashThe vote hash
slotsSlots being voted on
timestampVote timestamp
votePubkeyValidator’s vote account public key

Important notes

  • voteSubscribe is an unstable method. It may not be available on all providers.
  • Vote transactions account for the majority of all Solana transactions. This subscription generates extremely high message volume — hundreds of messages per second.
  • This method is intended for validators and infrastructure monitoring, not general application use.

FAQ

How much data does voteSubscribe produce? Validators submit votes every slot (~400ms), and there are ~1,500+ active validators. Expect hundreds to thousands of messages per second. This is not suitable for browser-based applications.

Can I filter votes by validator? No. voteSubscribe has no filter parameters. To track a specific validator, filter client-side by votePubkey.

Why would I use this instead of getVoteAccounts? getVoteAccounts returns a snapshot of vote account state. voteSubscribe gives real-time visibility into vote activity as it happens — useful for monitoring consensus health and validator behavior.

Updated: