nimiqclient.models.account.Account¶
- class nimiqclient.models.account.Account(address, balance, type)[source]¶
Bases:
objectNormal Nimiq account object returned by the server.
- Parameters:
address (str) – User friendly address (NQ-address).
balance (int) – Balance of the account (in smallest unit).
type (AccountType) – The account type associated with the account.
Methods
Get the specific account type from the dictionary data.
- static get_account(data)[source]¶
Get the specific account type from the dictionary data.
- Parameters:
data (dict) – The dictionary containing the data.
- Returns:
Account object.
- Return type:
Account or VestingContract or HTLC