I got following result from getBalance check: truffle(default)> web3.eth.getBalance('xxxxxxxxxxxxxxx')

Can anyone explain what does it means and where the value of ether: BigNumber { s: 1, e: 0, c: [ 0 ] }?


1 Answer 1


You need to convert the BigNumber into a string to have a readable value


the output value would be in wei.

You can use web3.fromWei(number, unit) to convert it in another unit (eg. ether). ref

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.