Understand TON Connect deep link forms
mainTON Connect uses three types of deep links to initiate connection flows from QR codes, browsers, or native apps:
Universal Link: A wallet-specific HTTPS link defined by the
universal_urlin thewallets-list. Format:https://<wallet-universal-url>?v=2&id=<hex_client_id>&r=<urlsafe_json_connect_request>&ret=<strategy>&trace_id=<uuid>&e=<base64url_embedded_request>Unified Deep Link (
tc://): A universal scheme supported by wallets that allows a single QR code to work across any compatible wallet. Format:tc://?v=2&id=<hex_client_id>&r=<urlsafe_json_connect_request>&ret=<strategy>&trace_id=<uuid>&e=<base64url_embedded_request>Custom-scheme Deep Link: A wallet-specific scheme (e.g.,
tonkeeper-tc://) defined by thedeepLinkfield inwallets-list. These must support the same query parameters as universal links.
https://<wallet-universal-url>?v=2&id=<to_hex_str(A)>&r=<urlsafe(json.stringify(ConnectRequest))>&ret=back&trace_id=<uuid>&e=<base64url(json.stringify(EmbeddedWireRequest))>