Interface GramRevenueStatus

Contains information about TON Grams earned by the current user.

interface GramRevenueStatus {
    @type: "gramRevenueStatus";
    available_amount: string;
    balance_amount: string;
    total_amount: string;
    withdrawal_enabled?: boolean;
}

Properties

@type: "gramRevenueStatus"
available_amount: string

The Gram amount that is available for withdrawal; in the smallest units of the cryptocurrency.

balance_amount: string

The Gram amount that isn't withdrawn yet; in the smallest units of the cryptocurrency.

total_amount: string

Total Gram amount earned; in the smallest units of the cryptocurrency.

withdrawal_enabled?: boolean

True, if Grams can be withdrawn.