Skip to main content
Subscribe to transaction logging.

On ThorNode

Send over the complete wss:// URL copied from the dashboard. Each active subscription counts toward the per-token cap; over the cap the request is answered with -32005 subscription limit exceeded and not forwarded. Frames pass through unchanged.

Parameters

array
required

Notification format

The notification will be an RpcResponse JSON object with value equal to:
  • signature: <string> - The transaction signature base58 encoded.
  • err: <object|null> - Error if transaction failed, null if transaction succeeded. See TransactionError definitions.
  • logs: <array[string]> - Array of log messages the transaction instructions output during execution.

Response

integer
Subscription id (needed to unsubscribe)