WidgetQueryWallet

class pyrogram.types.WidgetQueryWallet[source]

A TON wallet of the user, which is used in a query from a widget.

Parameters:
  • address (str) – Address of the wallet.

  • amount (str) – Balance of the wallet, in the smallest units of the cryptocurrency, as a decimal number.

  • public_key (str, optional) – Hex-encoded public key of the wallet; None if unknown.

  • state_init (str, optional) – Base64-encoded serialized StateInit of the wallet contract; None if and only if public_key is None.