eth_unsubscribe
POST
Unsubscribe from different Ethereum event types with a regular RPC call with eth_unsubscribe as the method and the subscriptionId as the first parameter.
Connection URL:
Copied!
wss://avax.nownodes.io/wss/{{api_key}}Open the connection, then send the message below as a text frame.
Example:
Copied!
wscat -c 'wss://avax.nownodes.io/wss/YOUR_API_KEY'
> {"jsonrpc":"2.0","id":1,"method":"eth_unsubscribe","params":["0x120ac69196e4f4b0aa9fbb251a4addd1"]}Body
application/json
object
Parameters
api_keystringrequiredpathYour NOWNodes API key.
Response
200OK
A successful response.