Constants

The web3.contants module contains commonly used values.

Strings

#The Address Zero, which is 20 bytes (40 nibbles) of zero.
web3.constants.ADDRESS_ZERO

#The hexadecimal version of Max uint256.
web3.constants.MAX_INT

#The Hash Zero, which is 32 bytes (64 nibbles) of zero.
web3.constants.HASH_ZERO

Int

#The amount of Wei in one Ether
web3.constants.WEI_PER_ETHER