Skip to main content

eth_unsubscribe RPC Method

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

Updated on
May 01, 2026

Parameters

subscription ID
string
REQUIRED

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

Returns

result

A boolean value indicating if the subscription was canceled successfully

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