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

    Type Alias SignMessageParams

    Parameters for signing a TON internal message

    type SignMessageParams = {
        to: Address;
        value: bigint;
        body: Cell;
        sendMode?: SendMode;
        bounce?: boolean;
        timeout?: number;
    }
    Index

    Properties

    to: Address

    Destination address (typically Jetton wallet contract)

    value: bigint

    Amount of TON to attach (for gas) in nanoTON

    body: Cell

    Message body (Jetton transfer cell)

    sendMode?: SendMode

    Send mode flags (optional, defaults to PAY_GAS_SEPARATELY)

    bounce?: boolean

    Bounce flag (optional, defaults to true)

    timeout?: number

    Message validity timeout in seconds (optional)