AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

eth_unsubscribe RPC Method

Parameters:

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

Returns:

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

Code Examples:

wscat -c wss://sample-endpoint-name.network.quiknode.pro/token-goes-here/ \ 
# wait for connection 
{"id":1,"jsonrpc":"2.0","method":"eth_unsubscribe","params":["0xe9549ac54eeec07f"]}
Ready to get started? Create a free account