Documentation
    Preparing search index...

    Interface TonProofItemReplySuccess

    Successful ton_proof reply. proof carries the Ed25519 signature plus the bound fields needed to reconstruct the signed bytes on the verifier side.

    interface TonProofItemReplySuccess {
        name: "ton_proof";
        proof: {
            domain: { lengthBytes: number; value: string };
            payload: string;
            signature: string;
            timestamp: number;
        };
    }
    Index

    Properties

    Properties

    name: "ton_proof"
    proof: {
        domain: { lengthBytes: number; value: string };
        payload: string;
        signature: string;
        timestamp: number;
    }

    Type declaration

    • domain: { lengthBytes: number; value: string }

      App domain bound into the signature.

      • lengthBytes: number

        Length of value in UTF-8 bytes.

      • value: string

        Domain name, without scheme or encoding.

    • payload: string

      dApp-provided payload (typically a server-issued nonce).

    • signature: string

      Base64-encoded Ed25519 signature.

    • timestamp: number

      Unix epoch seconds at signing time.