diff options
Diffstat (limited to 'cmd/mist/assets/examples/info.html')
-rw-r--r-- | cmd/mist/assets/examples/info.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/mist/assets/examples/info.html b/cmd/mist/assets/examples/info.html index c4df8ea64..daad8c706 100644 --- a/cmd/mist/assets/examples/info.html +++ b/cmd/mist/assets/examples/info.html @@ -31,6 +31,10 @@ </tr> <tr> + <td>Balance</td> + <td id="balance"></td> + + <tr> <td>Gas price</td> <td id="gas_price"></td> </tr> @@ -63,6 +67,7 @@ document.querySelector("#peer_count").innerHTML = eth.peerCount; document.querySelector("#default_block").innerHTML = eth.defaultBlock; document.querySelector("#accounts").innerHTML = eth.accounts; + document.querySelector("#balance").innerHTML = web3.toEth(eth.balanceAt(eth.accounts[0])); document.querySelector("#gas_price").innerHTML = eth.gasPrice; document.querySelector("#mining").innerHTML = eth.mining; document.querySelector("#listening").innerHTML = eth.listening; |