Function swapFeeFromFloat

  • Helper to convert a float percentage to a swap fee.

    Returns

    Decimal

    Parameters

    • fee: string | number | Decimal

      string | number | Decimal - the fee as a float '1' | 1 | new Decimal(1) would be 1% swap fee.

    Returns Decimal

Generated using TypeDoc