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

    Type Alias UptoTonAuthorization

    TON upto authorization metadata

    Contains all parameters for verifying the signed transfer message.

    type UptoTonAuthorization = {
        from: string;
        facilitator: string;
        jettonMaster: string;
        maxAmount: string;
        tonAmount: string;
        validUntil: number;
        seqno: number;
        queryId: string;
    }
    Index

    Properties

    from: string

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

    facilitator: string

    Facilitator holding address that receives the initial transfer The facilitator will forward settleAmount to payTo and refund the rest

    jettonMaster: string

    Jetton master contract address Identifies which Jetton token is being transferred (e.g., USDT)

    maxAmount: string

    Maximum authorized amount in smallest units (as string) The actual settlement amount may be less than this

    tonAmount: string

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

    validUntil: number

    Unix timestamp (seconds) until which the message is valid 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 (as string for large numbers) Used for message correlation and deduplication