voteUnsubscribe

Cancel an existing voteSubscribe subscription.

This method is only available when vote subscriptions are enabled on the validator.

{
"jsonrpc": "2.0",
"id": 1,
"method": "voteUnsubscribe",
"params": [0]
}

params

integerrequired

Subscription id returned by voteSubscribe.

result

Response
{
"jsonrpc": "2.0",
"result": true,
"id": 1
}
boolean

Returns true if the subscription was removed. Returns an error if the subscription id is unknown.

Is this page helpful?

Managed by

© 2026 Solana Foundation.
All rights reserved.
Get connected