Interface InternalLinkTypeTonConnect

The link is a universal TON Connect link. Subtype of InternalLinkType.

interface InternalLinkTypeTonConnect {
    @type: "internalLinkTypeTonConnect";
    connect_request: TonConnectConnectRequest;
    dapp_client_id: string;
    return_strategy: string;
    rpc_request: string;
    trace_id: string;
    version: number;
}

Properties

@type: "internalLinkTypeTonConnect"
connect_request: TonConnectConnectRequest

TON Connect connect request.

dapp_client_id: string

Hex-encoded public X25519 key of the dApp.

return_strategy: string

Request return strategy; one of "back", "none", or a URL to open.

rpc_request: string

Embedded RPC request represented as base64url-encoded JSON.

trace_id: string

Identifier to trace the connection request.

version: number

TON Connect version.