get_ton_balance()

Client.get_ton_balance()

Get the current TON balance of the current account.

Usable by Users Bots

Returns:

float – On success, the current stars balance is returned.

Example

await app.get_stars_balance()

await app.get_stars_balance(chat_id="pyrogrambot")