Last active
January 14, 2019 12:13
-
-
Save ylv-io/2a7873ba1cc04ea996fdc07b01a45518 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| web3js.eth.getBalance(getAccount(), (err, balance) => { | |
| const balanceInEth = web3js.fromWei(balance, 'ether'); | |
| console.log(`balance ${balanceInEth} ether`); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment