Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Unit

Index

Constructors

constructor

  • new Unit(str: BN | string | number): Unit

Properties

unit

unit: BN | string

wei

wei: BN

Methods

asEther

  • asEther(): this

asFinney

  • asFinney(): this

asGether

  • asGether(): this

asGwei

  • asGwei(): this

asKether

  • asKether(): this

asKwei

  • asKwei(): this

asMether

  • asMether(): this

asMwei

  • asMwei(): this

asOne

  • asOne(): this

asSzabo

  • asSzabo(): this

asTether

  • asTether(): this

asWei

  • asWei(): this

toEther

  • toEther(): string

toFinney

  • toFinney(): string

toGether

  • toGether(): string

toGwei

  • toGwei(): string

toHex

  • toHex(): string

toKether

  • toKether(): string

toKwei

  • toKwei(): string

toMether

  • toMether(): string

toMwei

  • toMwei(): string

toOne

  • toOne(): string

toSzabo

  • toSzabo(): string

toTether

  • toTether(): string

toWei

  • toWei(): any

toWeiString

  • toWeiString(): any

Static Ether

  • Ether(str: BN | string): Unit

Static Finney

  • Finney(str: BN | string): Unit

Static Gether

  • Gether(str: BN | string): Unit

Static Gwei

  • Gwei(str: BN | string): Unit

Static Kether

  • Kether(str: BN | string): Unit

Static Kwei

  • Kwei(str: BN | string): Unit

Static Mether

  • Mether(str: BN | string): Unit

Static Mwei

  • Mwei(str: BN | string): Unit

Static One

  • One(str: BN | string): Unit

Static Szabo

  • Szabo(str: BN | string): Unit

Static Tether

  • Tether(str: BN | string): Unit

Static Wei

  • Wei(str: BN | string): Unit

Static from

  • from(str: BN | string): Unit

Generated using TypeDoc