eth_unsubscribe

Cancel subscriptions.

This method is only available when using a WebSocket connection.

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
}

Last updated