Enumeration representing units (i.e. order of magnitude) of cryptocurrency (e.g., ETH or VET). Each unit is defined by its name and its corresponding decimal place shift. The decimal place shift if the exponent of the power of 10 to multiply a value expressed in the name unit to result in the equivalent value expressed in wei unit.

The unit ether refers to an order of magnitude, not to the ETH cryptocurrency, albeit 1 ETH = 10E18 wei in scientific notation.

Enumeration Members

Enumeration Members

ether

18 fractional diguts FixedPointNumber.

finney

1 ether = 1,000,000 finney. 15 fractional digits FixedPointNumber.

gwei

1 ether = 1,000,000,000 gwei. 9 fractional digits FixedPointNumber.

kwei

1 ether = 1,000,000,000,000,000 kwei. 3 fractional digits FixedPointNumber.

mwei

1 ether = 1,000,000,000,000 mwei. 6 fractional digits FixedPointNumber.

szabo

1 ether = 1,000,000,000 szabo. 12 fractional digits FixedPointNumber.

wei

1 ether = 1,000,000,000,000,000,000 wei. 0 fractional digits FixedPointNumber.