Umi — API References - v1.3.0
    Preparing search index...

    Function createAmountFromDecimals

    • Creates an amount from a decimal value which will be converted to the lowest possible unit using the provided decimals.

      Type Parameters

      • I extends string
      • D extends number

      Parameters

      • decimalAmount: number
      • identifier: I
      • decimals: D

      Returns Amount<I, D>