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 amount that is available for withdrawal, in the smallest units of TON Grams.

balance_amount: string

The amount that isn't withdrawn yet, in the smallest units of TON Grams.

total_amount: string

Total amount earned, in the smallest units of TON Grams.

withdrawal_enabled?: boolean

True, if Grams can be withdrawn.