feat(balance-info): add query param to convert free balance to human (#914)
* update the balance key in IAccountsBalanceInfo to also be a string * accept a query param for converting the balance * add private convertBalance * add tests for convertBalance * change convert to denominate * switch all over to denomination * inline comments * handle zero values, and cleanup code * handle all balance values * add IBalanceLock type * add denominateLocks * update docs * add error handling for a chain with no decimal * correct the docs * cleanup code * cover edgecase where decimal is 0 * set api to historicApi * fix decimal selection * detail dec value in applyDenominationBalance
Please register or sign in to comment