I was working with one of my contracts in remix, running in javascript vm environment.
And i just had to check the balance of my contract. when i tried this in the console
web3.eth.getBalance("0x0fdf4894a3b7c5a101686829063be52ad45bcfb7")
it says
this.provider[(intermediate value)] is not a function
I tried async method with callback.. same response. none of the methods seem to be working.. what is the correct way to do so..
i know i can connect to injected web3/web3 provider and run commands in terminal. but i want to be able to do it in Javascript vm as it is faster while testing..