Skip to main content

slotsUpdatesUnsubscribe RPC Method

Unsubscribe from slot-update notifications.

Updated on
Nov 14, 2023

slotsUpdatesUnsubscribe RPC Method

Parameters

subscriptionID
integer
REQUIRED
The subscription id to cancel, ensuring it matches the previously generated subscription ID from the 'slotsUpdatesSubscribe' method

Returns

result
boolean
The unsubscribe success message
Request
1
wscat -c \
2
# wait for connection
3
{"id":1,"jsonrpc":"2.0","method": "slotsUpdatesUnsubscribe", "params": [SUBSCRIPTION_ID]}
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free