Interface WidgetQueryWallet

Describes the user's TON wallet used in a widget query.

interface WidgetQueryWallet {
    @type: "widgetQueryWallet";
    address: string;
    gram_amount: string;
    public_key: string;
    state_init: string;
}

Properties

@type: "widgetQueryWallet"
address: string

Address of the wallet.

gram_amount: string

Balance of the wallet, in the smallest units of TON Grams.

public_key: string

Public key of the wallet; may be empty if unknown.

state_init: string

Serialized StateInit of the wallet contract; must be empty if and only if public_key is empty.