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

    Function tokenAmount

    • Creates an amount of SPL tokens from the provided decimal value.

      Type Parameters

      • I extends string
      • D extends number

      Parameters

      • tokens: number
      • Optionalidentifier: I
      • Optionaldecimals: D

      Returns Amount<I, D>