• parseExplanationAmount

    Returns

    formatted string with amount converted to readable string.

    Parameters

    • amount: Value

      amount number in native units of the token as defined in explanationData.

    • tokenDecimals: number

      places to shift the decimal point.

    • resultDecimals: number = 2

      decimal places to keep in the result

    Returns string

Generated using TypeDoc