Function numberToBalance

  • Name

    numberToBalance

    Summary

    Format balance from number to BN according to chain decimals.

    Parameters

    • _input: number

      Number input

    • chainDecimals: number = TERNOA_CHAIN_DECIMALS

    Returns BN

    BN output

Generated using TypeDoc