eth_unsubscribe
Subscriptions are cancelled with a regular RPC call with eth_unsubscribe as a method and the subscription id as the first parameter. It returns a bool indicating if the subscription was cancelled.
Parameters:
SUBSCRIPTION ID
Returns:
UNSUBSCRIBED FLAG - true if the subscription was canceled successfully.
Example:
Last updated