Skip to main content

eth_unsubscribe RPC Method

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

Updated on
Apr 29, 2026
To use the eth_unsubscribe method on the 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 a eth_subscribe RPC request

Returns

result
boolean

A boolean value indicating if the subscription was canceled successfully

Request
Response
1
{
2
"id": 1,
3
"jsonrpc": "2.0",
4
"result": true
5
}
1
{
2
"id": 1,
3
"jsonrpc": "2.0",
4
"result": true
5
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free