Events

connect

Fired after the wallet successfully establishes a connection with the dApp.

Payload

{
  "items": [
    {
      "name": "ton_addr",
      "address": "0:057bdabe...",
      "network": "-239",
      "walletStateInit": "te6cck...",
      "publicKey": "6fc8798d..."
    }
  ],
  "device": {
    "platform": "mac",
    "appName": "cactus link",
    "appVersion": "2.1.8",
    "maxProtocolVersion": 2,
    "features": ["SendTransaction"]
  }
}

connect_error

Fired when a connection attempt fails.

Payload

{
  "code": 300,
  "message": "Connection declined by user"
}

disconnect

Fired when the wallet disconnects from the dApp.

Payload

{}

tonConnect_event

General TonConnect protocol event. Wraps all protocol-level events.

Payload

{
  "event": "connect" | "connect_error" | "disconnect",
  "id": 1,
  "payload": {}
}
Copyright © 2026 Cactus Custody all right reserved,powered by GitbookUpdated: 30-Jun-2026 02:04:30

results matching ""

    No results matching ""

    results matching ""

      No results matching ""