logsUnsubscribe

logsUnsubscribe WebSocket Method

post
/

Unsubscribe from transaction log notifications. This method cancels an existing logs subscription identified by the subscription ID that was returned from a previous logsSubscribe call. Once unsubscribed, you will no longer receive logsNotification messages for the specified subscription.

Authorizations
Body

Request object for unsubscribing from transaction log notifications

jsonrpcstring · enumRequired

JSON-RPC protocol version

Example: 2.0Possible values:
idone ofRequired

Request identifier that will be returned in the response

Example: 1
stringOptional
or
numberOptional
methodstring · enumRequired

The WebSocket method name

Example: logsUnsubscribePossible values:
paramsinteger[] · min: 1 · max: 1Required

Method parameters array containing the logs subscription ID to cancel

Example: [24040]
Responses
chevron-right
200

Unsubscription successful

application/json
post
/

Last updated