eth_unsubscribe RPC Method
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
1wscat -c \2# wait for connection3{"id":1,"jsonrpc":"2.0","method":"eth_unsubscribe","params":["SUBSCRIPTION_ID"]}
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free