跳转至

常量

原文:https://web3py.readthedocs.io/en/stable/constants.html

web3.contants 模块包含常用的值。

用线串

#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 

(同 Internationalorganizations)国际组织

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


回到顶部