Bitcoin Forum
May 26, 2024, 05:53:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Best way to get a list of all transactions involving an external address?  (Read 897 times)
🏰 TradeFortress 🏰 (OP)
Bitcoin Veteran
VIP
Legendary
*
Offline Offline

Activity: 1316
Merit: 1043

👻


View Profile
January 03, 2013, 11:20:05 PM
 #1

What is the best way (preferably with JSON-RPC API calls) to get a list of all transactions that are received or sent to a particular address? It is not in the local wallet.

I think this can be done by looping through all transactions and having a separate database, but hopefully there is a better way... Huh
kjj
Legendary
*
Offline Offline

Activity: 1302
Merit: 1025



View Profile
January 04, 2013, 07:38:40 AM
 #2

That's pretty much it.

Of course, if you keep good notes, you only have to do it once, and then keep it updated.  Or you can use one of the several sites on the internet that provide public access to their notes.

17Np17BSrpnHCZ2pgtiMNnhjnsWJ2TMqq8
I routinely ignore posters with paid advertising in their sigs.  You should too.
drakahn
Hero Member
*****
Offline Offline

Activity: 504
Merit: 500



View Profile
January 04, 2013, 08:03:28 AM
 #3

http://blockchain.info/address/$bitcoin_address?format=json
would that work?

14ga8dJ6NGpiwQkNTXg7KzwozasfaXNfEU
grau
Hero Member
*****
Offline Offline

Activity: 836
Merit: 1021


bits of proof


View Profile WWW
January 04, 2013, 06:48:39 PM
 #4

The bitsofproof implementation of the protocol features and API to direct query of an aggregate account statement for a list of addresses.
The account statement is a historical balance of any date you choose plus spends receives thereafter up to recent block downloaded.

The query is supported by either indices of the relational database if you use that option or by secondary hash table on addresses if you use the  leveledb storage option.

This is one of the RMI calls to the server with below API.
https://github.com/bitsofproof/supernode-api/blob/master/src/main/java/com/bitsofproof/supernode/api/BCSAPIDirect.java

Remember that this is not yet production quality (it works quite well, just not sufficiently tested to claim that). I would be interested in usability and design feedback.
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!