1

I want to check ethereum balance of accounts by entering address in text box and click on check balance button it must show the balance in the account.

Please some one help with related links

My second requirement after login into wallet it must automatically display the balance of the account.

Thanks in advance.

  • Any details about what you're doing? – Nicolas Bernard Sep 26 '17 at 0:40
  • I want to search ethers in address and display the no of ethers in the account – swa Sep 26 '17 at 1:09
  • Have you even try to look for an answer online...? – Florian Castelain Nov 25 '17 at 3:18
1

As per my knowledge, you can do this by using web3, ethereum avascript API, which allows you to interact with an ethereum chain either via by RPC to a full node connected to the chain or by injected Web 3 (with metamask like plugin).The high level architecture would look like,

enter image description here

What you have to do is build your html interface, load a js file with web3 module imported and you can call eth.getBalance(account_address) with the onclick enevt of the button and display the return value.

If you want it to be displayed when the user logs in, send the same call at the page loading time (document-ready) and get the return value.

You may refer this question, posts here and here as well.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.