Interface IFormatBalanceOptions

Hierarchy

  • IFormatBalanceOptions

Properties

decimals?: number

Description

The number of decimals.

forceUnit?: string

Description

Format the number with this specific unit.

unit?: string

Description

Token Unit.

withSi?: boolean

Description

Format with SI, i.e. m/M/etc.

withSiFull?: boolean

Description

Format with full SI, i.e. mili/Mega/etc.

withUnit?: string | boolean

Description

Add the unit (useful in Balance formats).

Generated using TypeDoc