slotUnsubscribe
Unsubscribe from slot notifications. This method cancels an existing slot subscription identified by the subscription ID that was returned from a previous slotSubscribe call. Once unsubscribed, you will no longer receive slotNotification messages when new slots are processed by the validator. This is useful for stopping high-frequency slot monitoring when no longer needed.
Authorizations
Body
Request object for unsubscribing from slot change notifications
jsonrpcstring · enumRequiredExample:
JSON-RPC protocol version
2.0Possible values: idone ofRequiredExample:
Request identifier that will be returned in the response
1stringOptional
numberOptional
methodstring · enumRequiredExample:
The WebSocket method name
slotUnsubscribePossible values: paramsinteger[] · min: 1 · max: 1RequiredExample:
Method parameters array containing the slot subscription ID to cancel
[0]Responses
200
Unsubscription successful
application/json
400
Bad Request - Invalid parameters
application/json
401
Unauthorized
text/plain
403
Forbidden
text/plain
429
Too Many Requests
text/plain
500
Internal Server Error
text/plain
post
/Last updated