Skip to main content

voteSubscribe RPC Method

(Subscription Websocket) Subscribe to receive notification anytime a new vote is observed in gossip. These votes are pre-consensus therefore there is no guarantee these votes will enter the ledger.

Updated on
May 01, 2026
As of May 1, 2026, this WebSocket method is billed based on metered data usage: 0.1 MB = 15 API credits. Learn more about WebSocket billing.
The Solana Kit example uses createSolanaRpcSubscriptions_UNSTABLE because the Kit API for vote subscriptions is currently experimental and the implementation may change. The voteSubscribe method itself is fully supported by the Quicknode WebSocket API.

Parameters

This method does not accept any parameters

Returns

result
integer

The subscription id (needed to unsubscribe)

voteNotification
object

The notification object with the following fields:

votePubkey
string

The vote account address, as base-58 encoded string

slots
array

The slots covered by this vote, as an array of u64 integers

hash
string

The vote hash, as base-58 encoded string

timestamp
integer|null

The timestamp of the vote

signature
string

The signature of the transaction that contained this vote

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"result": 0,
4
"id": 1
5
}
1
{
2
"jsonrpc": "2.0",
3
"result": 0,
4
"id": 1
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free