Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: dogisland on August 04, 2011, 09:29:31 AM



Title: Bitcoind RPC questions.
Post by: dogisland on August 04, 2011, 09:29:31 AM
Via the RPC API can I do the following ?

1. Get the balance of an address even if that address is not in the wallet.
2. Sign a payment message and send it on to the bitcoin network ?

Thanks.

[edit]

To clarify, I'd like to use bitcoind to interrogate the block chain. It looks like the API only works for accounts and addresses in the wallet. Is that correct ?


Title: Re: Bitcoind RPC questions.
Post by: error on August 05, 2011, 08:20:26 PM
No and no. While it may be reasonable to add the latter into Bitcoin, the former probably won't happen, since inspecting the block chain can be a compute or I/O intensive process. I suggest using bitcointools to find your way around the block chain; then, depending on what you want to do you can either write something based on bitcointools, patch bitcoind, or something else.


Title: Re: Bitcoind RPC questions.
Post by: jgarzik on August 05, 2011, 10:13:50 PM
blockexplorer's API can get you the balance of an address.