Interface TonWalletMessage

Describes an internal message that must be sent from the TON wallet of the current user. The message must be signed and sent without any changes.

interface TonWalletMessage {
    @type: "tonWalletMessage";
    body: string;
    destination_address: string;
    gram_amount: string;
    initial_state: TonSmartContractInitialState;
    send_mode: number;
}

Properties

@type: "tonWalletMessage"
body: string

Body of the message.

destination_address: string

Address on the TON blockchain to which the message must be sent.

gram_amount: string

The amount that must be attached to the message, in the smallest units of TON Grams; already includes all the required amounts.

Initial state of the smart contract that must be deployed with the message; may be null if none.

send_mode: number

Send mode of the message.