• Converts a bigint amount to a friendly decimal number as a string

    Parameters

    • amount: bigint

      The number of units as a bigint to convert into the display amount

    • decimals: bigint

      the number of decimals in the displayAmount

    • displayDecimals: bigint

    Returns string

    The amount converted to a nice display string

Generated using TypeDoc