PubSub API

eth_unsubscribe

Cancels an existing subscription.

post/eth_unsubscribe

Request

  • Base URL
    https://api.mainnet.abs.xyz
  • URL
    https://api.mainnet.abs.xyz/eth_unsubscribe
  • Auth
    none declared

Request body

jsonrpcstring required

JSON-RPC version

methodstring required

The method to call

paramsstring[]

Parameters for unsubscribing

idinteger required

Request identifier

Example request

{
  "params": [
    "0x9cef478923ff08bf67fde6c64013158d"
  ],
  "id": 1
}

Response

Boolean indicating if the subscription was successfully cancelled

jsonrpcstring
idinteger
resultboolean

Success status

Example response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": true
}

Changes

No recorded changes to this operation across all 2 revisions of this API.