voteSubscribe
All the specifications for voteSubscribe Websocket Method on Solana
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.
Parameters required for this RPC call
No parameters required.
{
"jsonrpc": "2.0",
"id": 1,
"method": "voteSubscribe"
}{
"jsonrpc": "2.0",
"result": 0,
"id": 1
}Notification Format:
The notification will be an object with the following fields:
hash: <string>- The vote hashslots: <array>- The slots covered by the vote, as an array of u64 integerstimestamp: <i64|null>- The timestamp of the votesignature: <string>- The signature of the transaction that contained this votevotePubkey: <string>- The public key of the vote account, as base-58 encoded string
Last updated