Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: alkor on May 06, 2011, 11:31:14 PM



Title: Query address balance
Post by: alkor on May 06, 2011, 11:31:14 PM
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?


Title: Re: Query address balance
Post by: Pieter Wuille on May 06, 2011, 11:39:45 PM
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.