Skip to main content

eth_unsubscribe RPC Method

Cancels an active WebSocket subscription.

Updated on
Dec 02, 2026

Parameters

subscription ID
string
REQUIRED

An active subscription ID returned by eth_subscribe on the same WebSocket connection.

Returns

result
boolean

True when the subscription was canceled.

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