Reduce number of decimal places when we work with native currency up to two decimals.

+1 vote
Hello , by default multichain handles 8 decimals in native currency (native assets options allows this) . Is there any way to reduce these fractions to just two(2) decimals after the main ammount instead of using up to 8 decimals? Thanks
asked Feb 2, 2018 by davotrade

1 Answer

+1 vote

Yes, please take a look at the native-currency-multiple blockchain parameter. This won't affect presentation in all API responses but will affect how many times each unit of the native currency can be divided.

answered Feb 3, 2018 by MultiChain
...