On ThorNode
The upstream node does not enable vote subscriptions; the request returns-32601 Method not found.
Parameters
array
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
Response
integer
Subscription id (needed to unsubscribe)