Bitcoin Forum
March 24, 2017, 06:30:21 AM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Query address balance  (Read 835 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?
1490337021
Hero Member
*
Offline Offline

Posts: 1490337021

View Profile Personal Message (Offline)

Ignore
1490337021
Reply with quote  #2

1490337021
Report to moderator
1490337021
Hero Member
*
Offline Offline

Posts: 1490337021

View Profile Personal Message (Offline)

Ignore
1490337021
Reply with quote  #2

1490337021
Report to moderator
1490337021
Hero Member
*
Offline Offline

Posts: 1490337021

View Profile Personal Message (Offline)

Ignore
1490337021
Reply with quote  #2

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

Posts: 1490337021

View Profile Personal Message (Offline)

Ignore
1490337021
Reply with quote  #2

1490337021
Report to moderator
1490337021
Hero Member
*
Offline Offline

Posts: 1490337021

View Profile Personal Message (Offline)

Ignore
1490337021
Reply with quote  #2

1490337021
Report to moderator
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1036


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!