Skip to main content
Cancels a subscription created with eth_subscribe. The subscription ID is no longer valid after this call.

Parameters

string
required
The subscription ID returned by eth_subscribe.

Returns

boolean
true if the subscription was successfully cancelled, false if the subscription ID was not found.

Example