Function formatKLV
Parameters
- amount: string | number | bigint
Amount in smallest units
Returns string
Formatted KLV string
See
- formatUnits for the underlying implementation
- parseKLV for the reverse operation
- amount: string | number | bigint
Amount in smallest units
Formatted KLV string
Format KLV amount from smallest units to human-readable string
Convenience function that calls
formatUnitswith 6 decimals (KLV precision).