Interface TonRevenueStatus

Contains information about Toncoins earned by the current user.

interface TonRevenueStatus {
    @type: "tonRevenueStatus";
    available_amount: string;
    balance_amount: string;
    total_amount: string;
    withdrawal_enabled?: boolean;
}

Properties

@type: "tonRevenueStatus"
available_amount: string

Amount of Toncoins that are available for withdrawal; in the smallest units of the cryptocurrency.

balance_amount: string

Amount of Toncoins that aren't withdrawn yet; in the smallest units of the cryptocurrency.

total_amount: string

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

withdrawal_enabled?: boolean

True, if Toncoins can be withdrawn.