logsUnsubscribe

Unsubscribe from transaction logging

Parameters

integer (required)

Subscription ID to cancel.


Result

Returns a <bool> indicating whether the unsubscribe operation was successful:

  • true: Unsubscribe operation succeeded.

  • false: Unsubscribe operation failed.


Code Sample

Request Example:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "logsUnsubscribe",
  "params": [0]
}

Response Example:

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

Last updated