Skip to main content

eth_unsubscribe

Cancel subscriptions.

warning

This method is only available when using a WebSocket connection.

warning

eth_unsubscribe() method call is not available within the Public API.

Parameters

  1. Subscription ID

Example

>> {
"jsonrpc": "2.0",
"id": 1,
"method": "eth_unsubscribe",
"params": [
"0x20b6b348ddfa17b5ba707431dc8da988"
]
}
<< {
"jsonrpc": "2.0",
"id": 1,
"result": true
}