Skip to main content

eth_unsubscribe RPC Method

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

Updated on
Apr 09, 2026

Parameters

subscription ID
string
REQUIRED

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