• Parses a string or number into an Amount, given a decimal level

    Parameters

    • amount: string | number

      The string or number to parse

    • decimals: number

      The number of decimals for the token this amount is of

    Returns amount.Amount

    An Amount, expressed as base units and decimals

Generated using TypeDoc