eth_unsubscribe RPC Method
To use the eth_unsubscribe method on the C-Chain, ensure that the end of your URL includes ext/bc/C/ws.
Parameters
subscription ID
string
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
1wscat -c ext/bc/C/ws \2# wait for connection3{"id":1,"jsonrpc":"2.0","method":"eth_unsubscribe","params":["0xe9549ac54eeec07f"]}
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free