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

    Function isUptoTonPayload

    • Type guard for UptoTonPayload

      Checks if the given data has the correct structure for a TON upto payload. Validates the presence and types of required fields including signedBoc, authorization (with from, facilitator, jettonMaster, maxAmount), and paymentNonce.

      Parameters

      • data: unknown

        The data to check

      Returns data is UptoTonPayload

      True if the data is a valid UptoTonPayload