v1
latestOpenAPI 3.0.02026-07-26541677.9 KBPubSub API
eth_unsubscribe
Cancels an existing subscription.
post/eth_unsubscribe
Request body
Example request
{
"params": [
"0x9cef478923ff08bf67fde6c64013158d"
],
"id": 1
}Response
Boolean indicating if the subscription was successfully cancelled
Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": true
}