@dashevo/wallet-lib
Version:
Light wallet library for Dash
11 lines (7 loc) • 605 B
Markdown
**Usage**: `account.getTotalBalance(displayDuffs)`
**Description**: This method will return the total (unconfirmed + confirmed) balance of an account
Parameters:
| parameters | type | required | Description |
|--------------------|-----------|---------------------| ------------------------------------------------------------------------------- |
| **displayDuffs** | boolean | no (default: true) | When set at true return in Duffs (satoshis), if false, returns in Dash |
Return : number