Interface TonConnectConnectData

Contains data required to give access to the TON wallet of the current user in acceptOauthRequest.

interface TonConnectConnectData {
    @type: "tonConnectConnectData";
    body: string;
    challenge_answer: string;
    proof: TonWalletOwnershipProof;
    session_id: string;
}

Properties

@type: "tonConnectConnectData"
body: string

Body of the result of the connection request as in sendTonConnectSessionConnectResult.

challenge_answer: string

Answer to the challenge received from setTonConnectSessionWalletClientId.

Proof of the TON wallet ownership for the payload oauthLinkInfo.ton_proof_payload.

session_id: string

Unique identifier of the session.