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
Response
1{2"id": 1,3"jsonrpc": "2.0",4"result": true5}
1{2"id": 1,3"jsonrpc": "2.0",4"result": true5}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free