Search code examples
ethereummining

ethereum mining - amount actually mined is


Im trying my luck on ethereum mining with this, can someone tell me how much ethereum I have mined and how to cash it :)

https://github.com/angelomilan/ethereum-guides/blob/master/GPU-cloud_mining.md

> eth.getBalance(eth.coinbase).toNumber();
5000000000000000000
> web3.fromWei(eth.getBalance(eth.coinbase), "ether")
5

What is 5000000000000000000 and what is 5 ?


Solution

  • 5000000000000000000 is your balance in wei, which represents 5 ethers.

    enter image description here