Hethers
  • Documentation
  • Getting Started
  • Application Programming Interface
    • Providers
      • Provider
        • Accounts Methods
        • Logs Methods
        • Network Status Methods
        • Transactions Methods
        • Event Emitter Methods
        • Base Provider
        • HederaProvider
      • Types
    • Contract Interaction
      • Contract
      • ContractFactory
      • Example: ERC-20 Contract
    • Utilities
      • Accounts
      • Addresses
      • Application Binary Interface
        • AbiCoder
        • ABI Formats
        • Fragments
        • Interface
      • BigNumber
      • Byte Manipulation
      • Constants
      • Display Logic and Input
      • Encoding Utilities
      • FixedNumber
      • Hashing Algorithms
      • HD Wallet
      • Logging
      • Property Utilities
      • Signing Key
      • Strings
      • Transactions
      • Web Utilities
      • Wordlists
    • Signers
  • Contributing
  • Other Resources
Powered by GitBook
On this page
  • Bytes
  • Strings
  • BigNumber
  1. Application Programming Interface
  2. Utilities

Constants

PreviousByte ManipulationNextDisplay Logic and Input

Last updated 3 years ago

The hethers.constants Object contains commonly used values.

Bytes

hethers.constants.AddressZero ⇒ string<>

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

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

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

Strings

hethers.constants.HbarSymbol ⇒ string

The Hbar symbol, ℏ.

BigNumber

hethers.constants.NegativeOne ⇒

The BigNumber value representing "-1".

hethers.constants.Zero ⇒

The BigNumber value representing "0".

The BigNumber value representing "1".

The BigNumber value representing "2".

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

The BigNumber value representing the maximum uint256 value.

hethers.constants.One ⇒

hethers.constants.Two ⇒

hethers.constants.TinybarPerHbar ⇒

hethers.constants.MaxUint256 ⇒

BigNumber
BigNumber
BigNumber
BigNumber
BigNumber
BigNumber
DataHexString
Address