Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 512 Bytes

constants.rst

File metadata and controls

30 lines (18 loc) · 512 Bytes

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