Bitcoin Forum
May 07, 2024, 05:45:01 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoind RPC questions.  (Read 799 times)
dogisland (OP)
Sr. Member
****
Offline Offline

Activity: 262
Merit: 250



View Profile
August 04, 2011, 09:29:31 AM
Last edit: August 04, 2011, 10:11:02 AM by dogisland
 #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 ?
1715060701
Hero Member
*
Offline Offline

Posts: 1715060701

View Profile Personal Message (Offline)

Ignore
1715060701
Reply with quote  #2

1715060701
Report to moderator
1715060701
Hero Member
*
Offline Offline

Posts: 1715060701

View Profile Personal Message (Offline)

Ignore
1715060701
Reply with quote  #2

1715060701
Report to moderator
Activity + Trust + Earned Merit == The Most Recognized Users on Bitcointalk
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715060701
Hero Member
*
Offline Offline

Posts: 1715060701

View Profile Personal Message (Offline)

Ignore
1715060701
Reply with quote  #2

1715060701
Report to moderator
1715060701
Hero Member
*
Offline Offline

Posts: 1715060701

View Profile Personal Message (Offline)

Ignore
1715060701
Reply with quote  #2

1715060701
Report to moderator
1715060701
Hero Member
*
Offline Offline

Posts: 1715060701

View Profile Personal Message (Offline)

Ignore
1715060701
Reply with quote  #2

1715060701
Report to moderator
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



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.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


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

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

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!