Appearance
Documentation / js-sdk-core / formatTokenAmount
Function: formatTokenAmount()
formatTokenAmount(
__namedParameters
):string
Format token amount with a given number of decimal.
Parameters
• __namedParameters: Object
• __namedParameters.amount: number
| bigint
• __namedParameters.decimals: number
Returns
string