Skip to main content

eth_unsubscribe RPC Method

Cancels an existing subscription so that no further events are sent.

Updated on
May 14, 2024
To use the eth_subscribe method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/ws.

Parameters

subscription ID
string

A subscription ID that was previously generated in an eth_subscribe RPC request

Returns

result
boolean

A boolean value indicating if the subscription was canceled successfully

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