Used for conversion of token amounts to their Big Number representation. Get Big Number representation in the smallest units from the same value in the highest units.

  • Parameters

    • value: number

      Number of tokens you want to convert to its BN representation.

    • decimals: number

      Number of decimals the token has.

    Returns BN