get_wallet_state()

async Client.get_wallet_state()

Get the current wallet state and balance.

Usable by Users Bots
Returns:

WalletState – On success, the wallet state is returned.

Example

state = await app.get_wallet_state()
print(state)