Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python web3 to wei

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

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