T402 API Reference - v2.8.0
    Preparing search index...

    Type Alias ExactTonPayloadV2

    TON payment payload for the exact scheme (V2) Contains a pre-signed external message for Jetton transfer

    type ExactTonPayloadV2 = {
        signedBoc: string;
        authorization: {
            from: string;
            to: string;
            jettonMaster: string;
            jettonAmount: string;
            tonAmount: string;
            validUntil: number;
            seqno: number;
            queryId: string;
        };
    }
    Index

    Properties

    signedBoc: string

    Base64 encoded signed external message (BOC format) Contains the complete Jetton transfer message ready for broadcast The message is signed by the client's wallet private key

    authorization: {
        from: string;
        to: string;
        jettonMaster: string;
        jettonAmount: string;
        tonAmount: string;
        validUntil: number;
        seqno: number;
        queryId: string;
    }

    Transfer authorization metadata Provides human-readable and verifiable parameters

    Type Declaration

    • from: string

      Sender wallet address (friendly format, bounceable) This is the TON wallet address that will send the Jetton transfer

    • to: string

      Recipient wallet address (friendly format) Final destination for the Jetton tokens

    • jettonMaster: string

      Jetton master contract address Identifies which Jetton token is being transferred

    • jettonAmount: string

      Jetton amount in smallest units (e.g., 1000000 for 1 USDT with 6 decimals)

    • tonAmount: string

      TON amount attached for gas (in nanoTON) Required to pay for the internal message execution

    • validUntil: number

      Unix timestamp (seconds) after which the authorization expires Message will be rejected by the network after this time

    • seqno: number

      Wallet sequence number at time of signing Prevents replay attacks - each seqno can only be used once

    • queryId: string

      Query ID for the Jetton transfer Used for message correlation and deduplication