Function formatAssetAmount
Parameters
- amount: AssetAmount
The asset amount in smallest units
- decimals: number = 6
The number of decimal places (default: 6 for KLV)
Returns string
A formatted string representation
- amount: AssetAmount
The asset amount in smallest units
The number of decimal places (default: 6 for KLV)
A formatted string representation
Formats a AssetAmount to a human-readable string