Skip to content
This repository has been archived by the owner on Sep 5, 2020. It is now read-only.

web3.eth.getBalance is missing in HTML #4181

Open
vporton opened this issue Feb 5, 2019 · 0 comments
Open

web3.eth.getBalance is missing in HTML #4181

vporton opened this issue Feb 5, 2019 · 0 comments
Assignees

Comments

@vporton
Copy link

vporton commented Feb 5, 2019

Mist 0.11.1:

The following HTML document shows that .getBalance does not work in HTML (web3.eth.getBalance does work in the development console however):

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        alert(web3.eth.getBalance);
    </script>
</body>
</html>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants