• Returns

    an amount in the smallest units of output token

    if invert false, amount is the value of tokenIn in the smallest units else amount is the value of tokenOut in the smallest units

    Parameters

    • tokenRate: TokenPairRate
    • amount: BigNumber
    • invert: boolean = false

    Returns BigNumber

Generated using TypeDoc