ethers.js/docs/v5/api/utils/constants
2021-02-08 15:26:10 -05:00
..
index.html docs: commit built docs 2021-02-08 15:26:10 -05:00
README.md Updated docs build. 2020-07-03 01:54:56 -04:00

Documentation: html

Constants

Bytes

ethers . constants . AddressZero => string< Address >

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

ethers . constants . HashZero => string< DataHexString< 32 > >

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

Strings

ethers . constants . EtherSymbol => string

The Ether symbol, Xi.

BigNumber

ethers . constants . NegativeOne => BigNumber

The BigNumber value representing "-1".

ethers . constants . Zero => BigNumber

The BigNumber value representing "0".

ethers . constants . One => BigNumber

The BigNumber value representing "1".

ethers . constants . Two => BigNumber

The BigNumber value representing "2".

ethers . constants . WeiPerEther => BigNumber

The BigNumber value representing "1000000000000000000", which is the number of Wei per Ether.

ethers . constants . MaxUint256 => BigNumber

The BigNumber value representing the maximum uint256 value.