Bitcoin Forum
May 24, 2024, 06:02:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Getting a Balance Using Bitcoin Web Service?  (Read 1370 times)
jimbobway (OP)
Legendary
*
Offline Offline

Activity: 1304
Merit: 1014



View Profile
November 14, 2011, 10:38:45 PM
 #1

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.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218
Merit: 1079


Gerald Davis


View Profile
November 14, 2011, 10:42:06 PM
 #2

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.
jimbobway (OP)
Legendary
*
Offline Offline

Activity: 1304
Merit: 1014



View Profile
November 14, 2011, 10:42:23 PM
 #3

Ok, I may have answer my own question.  I found this:

http://blockexplorer.com/q
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!