Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

brownie to wei

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

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