Bitcoin Forum
June 25, 2017, 04:00:50 AM *
News: Latest stable version of Bitcoin Core: 0.14.2  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Query address balance  (Read 845 times)
alkor
Full Member
***
Offline Offline

Activity: 137


View Profile
May 06, 2011, 11:31:14 PM
 #1

Since every user stores a complete copy of the block-chain, in principle it should be possible to query the balance for any address, not just addresses belonging to the current user. Is there a remote procedure call for bitcoind that allows the user to query the balance of a public address?
1498363250
Hero Member
*
Offline Offline

Posts: 1498363250

View Profile Personal Message (Offline)

Ignore
1498363250
Reply with quote  #2

1498363250
Report to moderator
1498363250
Hero Member
*
Offline Offline

Posts: 1498363250

View Profile Personal Message (Offline)

Ignore
1498363250
Reply with quote  #2

1498363250
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1498363250
Hero Member
*
Offline Offline

Posts: 1498363250

View Profile Personal Message (Offline)

Ignore
1498363250
Reply with quote  #2

1498363250
Report to moderator
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1050


View Profile WWW
May 06, 2011, 11:39:45 PM
 #2

It's possible in theory, but it would require scanning the whole blockchain for unspent transaction outputs addressed to that particular address. It would take a while, and I don't think it's implemented anywhere.

aka sipa, core dev team

Tips and donations: 1KwDYMJMS4xq3ZEWYfdBRwYG2fHwhZsipa
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!