List transactions from given address in bitcoind

Tam Vo picture Tam Vo · Jan 29, 2015 · Viewed 8.2k times · Source

Is there anyway to list all transactions from given address by using API RPC to bitcoind? Actually, I'm using btcd and most non-wallet functions are the same with bitcoind, but I can't find any methods to do that.

Answer

leishman picture leishman · Feb 9, 2015

Due to the way the transactions are indexed you cannot perform this kind of query with Bitcoind, I'm assuming the case is the same for btcd.

If you would like to get this information, you have a few options:

  • Parse the Blockchain yourself and store the data in a new, more heavily-indexed DB
  • Use a 3rd party service like Chain.com or Blockchain.info
  • Run a different type of node. Toshi is an open source Ruby implementation of Bitcoin by Coinbase. The DB of this node allows for richer queries, but requires an order of magnitude more storage.

Edit: Toshi is no longer maintained and chain.com no longer provides this API afaik.