Check out our new component library - build.abs.xyz!
cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/eth_unsubscribe \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "method": "eth_unsubscribe", "params": [ "0x9cef478923ff08bf67fde6c64013158d" ], "id": 1 }'
{ "jsonrpc": "2.0", "id": 1, "result": true }
Cancels an existing subscription.
JSON-RPC version
The method to call
Request identifier
1
Parameters for unsubscribing
The ID of the subscription to cancel
["0x9cef478923ff08bf67fde6c64013158d"]
Boolean indicating if the subscription was successfully cancelled
"2.0"
Success status
true
Was this page helpful?