logsSubscribe

logsSubscribe WebSocket Method

post
/

Subscribe to transaction logging to receive notifications when transactions occur that match specified filter criteria. This method establishes a persistent WebSocket connection that will send real-time log notifications whenever transactions matching your filters are processed by the network. You can filter by all transactions, transactions with votes, or transactions mentioning specific accounts.

Authorizations
Body

Request object for subscribing to transaction logs via WebSocket

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: logsSubscribePossible values:
Responses
chevron-right
200

Subscription successfully created

application/json
post
/

Last updated