Created
February 19, 2022 15:03
-
-
Save gandroz/b3069117db4b505ecda2af7d3b00c1b3 to your computer and use it in GitHub Desktop.
to wei
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web3.toWei(Decimal('0.000000005'), 'ether') | |
# returns 5000000000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment