Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web3.eth.getBalance() - Error: Invalid JSON RPC response: undefined #42

Open
okwme opened this issue Mar 25, 2018 · 0 comments
Open

web3.eth.getBalance() - Error: Invalid JSON RPC response: undefined #42

okwme opened this issue Mar 25, 2018 · 0 comments

Comments

@okwme
Copy link

okwme commented Mar 25, 2018

using web3 0.2.0 format for getting account balance:

      balance = web3.eth.getBalance(accounts[0])

but gives me Invalid JSON RPC response error. Format works in tests with truffle while running Ganache. I'm not supposed to run a separate TestRPC with espresso am I?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant