toHumanReadableString()
function toHumanReadableString(amount, token): string;
Defined in: atomiq-sdk/src/utils/TokenUtils.ts:13
Converts a raw bigint amount to a human-readable string with decimals
Parameters
| Parameter | Type | Description |
|---|---|---|
amount | bigint | Amount in base units |
token | Token | Token |
Returns
string