Constructors
constructor
- new Unit(str: BN | string | number): Unit
-
Parameters
-
str: BN | string | number
Properties
unit
unit: BN | string
wei
wei: BN
Methods
asEther
-
Returns this
asFinney
-
Returns this
asGether
-
Returns this
asGwei
-
Returns this
asKether
-
Returns this
asKwei
-
Returns this
asMether
-
Returns this
asMwei
-
Returns this
asOne
-
Returns this
asSzabo
-
Returns this
asTether
-
Returns this
asWei
-
Returns this
toEther
-
Returns string
toFinney
-
Returns string
toGether
-
Returns string
toGwei
-
Returns string
toHex
-
Returns string
toKether
-
Returns string
toKwei
-
Returns string
toMether
-
Returns string
toMwei
-
Returns string
toOne
-
Returns string
toSzabo
-
Returns string
toTether
-
Returns string
toWei
-
Returns any
toWeiString
-
Returns any
Static Ether
- Ether(str: BN | string): Unit
-
Parameters
Static Finney
- Finney(str: BN | string): Unit
-
Parameters
Static Gether
- Gether(str: BN | string): Unit
-
Parameters
Static Gwei
- Gwei(str: BN | string): Unit
-
Parameters
Static Kether
- Kether(str: BN | string): Unit
-
Parameters
Static Kwei
- Kwei(str: BN | string): Unit
-
Parameters
Static Mether
- Mether(str: BN | string): Unit
-
Parameters
Static Mwei
- Mwei(str: BN | string): Unit
-
Parameters
Static One
- One(str: BN | string): Unit
-
Parameters
Static Szabo
- Szabo(str: BN | string): Unit
-
Parameters
Static Tether
- Tether(str: BN | string): Unit
-
Parameters
Static Wei
- Wei(str: BN | string): Unit
-
Parameters
Static from
- from(str: BN | string): Unit
-
Parameters