In the realm of cryptocurrencies, each coin possesses a smallest unit.
For instance, a satoshi is the smallest unit of Bitcoin. Each Bitcoin equals 100 million satoshis (i.e., 100,000,000).
Cobo denominates amount in terms of the smallest unit specific to each cryptocurrency to prevent complications associated with the misuse of floating point numbers.
If you transfer 1 Bitcoin, for instance, the amount
will be displayed as 100,000,000 and the abs_amount
will be 1.
This conversion is calculated using the formula: abs_amount = amount / pow(10, decimal).