Bitcoin Forum

Bitcoin => Project Development => Topic started by: jimbobway on November 14, 2011, 10:38:45 PM



Title: Getting a Balance Using Bitcoin Web Service?
Post by: jimbobway on November 14, 2011, 10:38:45 PM
I want to develop a bitcoin app on Google App Engine (GAE).  However, I don't know if I can actually run bitcoin on GAE.  What I need is to be able to get total balance given a bitcoin address.  What is the easiest way to do this?  Thanks.


Title: Re: Getting a Balance Using Bitcoin Web Service?
Post by: DeathAndTaxes on November 14, 2011, 10:42:06 PM
Not sure about easy but you need to:
1) locate the most recent transaction involving the address.
2) the number of coins transfered to it is the current balance (barring any unconfirmed transactions)
3) if the address is not in the block chain then it has a value of 0.


Title: Re: Getting a Balance Using Bitcoin Web Service?
Post by: jimbobway on November 14, 2011, 10:42:23 PM
Ok, I may have answer my own question.  I found this:

http://blockexplorer.com/q