I am running a lightmode geth daemon, and I want to check the balance of my daemon. I read this answer, which says that I cannot use the command that I am currently using, as it requires support for
geth --exec "web3.fromWei(eth.getBalance(eth.coinbase), 'ether')" attach
Geth synced in lightmode doesn't support use of
eth.coinbase. What command can I use? Do I have to run a
--syncmode=fast or standard node instead?