• Converts the given BalanceNumber to a human-readable number with metric prefix and Unit. This function uses the polkadot formatBalance function, it's output can therefore be formatted via the polkadot formatting options.

    Returns

    String representation of the given BalanceNumber with unit und metric prefix.

    Parameters

    • input: BalanceNumber

      BalanceNumber to convert from Femto Kilt.

    • decimals: number = 4

      Set the minimum decimal places in the formatted localized output, default is 4.

    • options: BalanceOptions = {}

      BalanceOptions for internationalization and formatting.

    Returns string