ExchangeUnion / xud

Exchange Union Daemon 🔁 ⚡️
https://exchangeunion.com
GNU Affero General Public License v3.0
115 stars 44 forks source link

Return complete/precise balances #1627

Open sangaman opened 4 years ago

sangaman commented 4 years ago

For all purposes, the xud RPC layer currently uses satoshi units (10^-8) for all fields related to currency amount and/or order quantity. However, it may be helpful and more intuitive if we return precise values for our wallet balances. This can be done using bignumber.js .

kilrau commented 4 years ago

Depends on https://github.com/ExchangeUnion/xud/issues/1797. Once this is implemented we can return precise balances in the course of this issue.