Link to home
Create AccountLog in
Avatar of Roberto Parker
Roberto ParkerFlag for Mexico

asked on

script to get the BTC balance of an address

Get BTC balance

What langiage / code do I need to read BTC balances in my computer (standalone)
Avatar of Kimputer
Kimputer

Probably a simple C#/VB.net  app will do:

Start a webclient with this address (because bitref itself doesn't do anything excep pass on and format it for you):

blockchain.info/multiaddr?cors=true&active=(bitcoin_address)

You will receive a JSON file back. Interpret it, done.

Powershell, VBscript are also possibilities, but the free Visual Studio will give you more help to finish your code.https://visualstudio.microsoft.com/vs/express/