Marketplace has launched, further enabling blockchain developers! Learn more


eth_unsubscribe RPC method

The eth_unsubscribe EVM method is only supported on the Avalanche C-Chain.


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


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

Code Examples:

To use the eth_unsubscribe EVM method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

wscat -c wss:// \ 
# wait for connection 
Ready to get started? Create a free account