Constants

The hethers.constants Object contains commonly used values.

Bytes

hethers.constants.AddressZero ⇒ string<Address>

The Address Zero, which is 20 bytes (40 nibbles) of zero.

hethers.constants.HashZero ⇒ string<DataHexString<32>>

The Hash Zero, which is 32 bytes (64 nibbles) of zero.

Strings

hethers.constants.HbarSymbol ⇒ string

The Hbar symbol, .

BigNumber

hethers.constants.NegativeOne ⇒ BigNumber

The BigNumber value representing "-1".

hethers.constants.Zero ⇒ BigNumber

The BigNumber value representing "0".

hethers.constants.One ⇒ BigNumber

The BigNumber value representing "1".

hethers.constants.Two ⇒ BigNumber

The BigNumber value representing "2".

hethers.constants.TinybarPerHbar ⇒ BigNumber

The BigNumber value representing "100000000", which is the number of Tinybar per Hbar.

hethers.constants.MaxUint256 ⇒ BigNumber

The BigNumber value representing the maximum uint256 value.

Last updated