Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

web3py to wei

from web3 import Web3
Web3.toWei(amount, "ether")

WEI_VALUE = amount * 10**18
Source by web3js.readthedocs.io #
 
PREVIOUS NEXT
Tagged: #wei
ADD COMMENT
Topic
Name
2+4 =