eth_unsubscribe

Cancels an existing subscription so that no further events are sent. The API credit value for this method is 1.

  1. Parameters-

    subscription ID string- A subscription ID that was previously generated in a eth_subscribe RPC request

wscat -c wss://Krypc-End Point URL/ \
# wait for connection 
{"id":1,"jsonrpc":"2.0","method":"eth_unsubscribe","params":["0xe9549ac54eeec07f"]}
  1. Returns

    result- A boolean value indicating if the subscription was canceled successfully

Last updated