Skip to main content

pathfinder_unsubscribe RPC Method

Closes a websocket subscription.

Updated on
Jul 30, 2026

Deprecation Notice: This method was removed in pathfinder v0.23.0 and now returns -32601 Method not found. Use starknet_unsubscribe instead.

Parameters

subscriptionID
integer
REQUIRED

The subscription to close

Returns

result
boolean

Returns true if the unsubscription was successful, otherwise false

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free