Parameters
SUBSCRIPTION ID
Returns
boolean
, true if the subscription was cancelled successful.
Example
check out the example below:
Request
$ wscat -c wss://opt-mainnet.nodereal.io/ws/v1/your-api-key
> {"id": 1, "method": "eth_unsubscribe", "params": ["0x9cef478923ff08bf67fde6c64013158d"]}
Result
< {"jsonrpc":"2.0","id":1,"result":true}