Bitcoin Forum
December 03, 2016, 11:56:01 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Query address balance  (Read 815 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?
1480809361
Hero Member
*
Offline Offline

Posts: 1480809361

View Profile Personal Message (Offline)

Ignore
1480809361
Reply with quote  #2

1480809361
Report to moderator
1480809361
Hero Member
*
Offline Offline

Posts: 1480809361

View Profile Personal Message (Offline)

Ignore
1480809361
Reply with quote  #2

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

Posts: 1480809361

View Profile Personal Message (Offline)

Ignore
1480809361
Reply with quote  #2

1480809361
Report to moderator
1480809361
Hero Member
*
Offline Offline

Posts: 1480809361

View Profile Personal Message (Offline)

Ignore
1480809361
Reply with quote  #2

1480809361
Report to moderator
1480809361
Hero Member
*
Offline Offline

Posts: 1480809361

View Profile Personal Message (Offline)

Ignore
1480809361
Reply with quote  #2

1480809361
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!