Bitcoin Forum
March 22, 2017, 10:03:45 PM *
News: Latest stable version of Bitcoin Core: 0.14.0  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoind RPC questions.  (Read 636 times)
dogisland
Sr. Member
****
Offline Offline

Activity: 261



View Profile
August 04, 2011, 09:29:31 AM
 #1

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 ?
1490220225
Hero Member
*
Offline Offline

Posts: 1490220225

View Profile Personal Message (Offline)

Ignore
1490220225
Reply with quote  #2

1490220225
Report to moderator
1490220225
Hero Member
*
Offline Offline

Posts: 1490220225

View Profile Personal Message (Offline)

Ignore
1490220225
Reply with quote  #2

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

Activity: 574



View Profile
August 05, 2011, 08:20:26 PM
 #2

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.

15UFyv6kfWgq83Pp3yhXPr8rknv9m6581W
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1470


View Profile
August 05, 2011, 10:13:50 PM
 #3

blockexplorer's API can get you the balance of an address.

Jeff Garzik, bitcoin core dev team and BitPay engineer; opinions are my own, not my employer.
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
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!