12

I don't want to use an existing service, like Blockchain.info or BlockExplorer.com. Is there some library out there that will let me read the blockchain programatically?

  • 1
    possible duplicate of Monitor all transactions on bitcoin network - API – Stephen Gornick Aug 31 '12 at 20:37
  • Depends a lot on what kind of information you want. Raw blockchain data (such as which block contains which transactions), or derived information which requires indexes and processing (such as how which coins are available to which address). – Pieter Wuille Aug 31 '12 at 21:14
6

This can be done with some degree of effort using the Bitcoin API.

v0.7 getrawtransaction gives you access to transactions even those not in your wallet.

There are other tools that you can use to build this capability as well.

  • libBitcoin
  • Armory (see Extras)
  • Bitcoin ABE
  • BitsOfProof supernode [pre-release]
  • 1
    The v0.8 client uses LevelDB so I'm not sure that it changes any of the above. Anyone? – Stephen Gornick May 10 '13 at 23:20
2

Gavin Andresen's bitcointools python scripts might have some of the functionality you are looking for.

  • 1
    From README: "These tools are becoming obsolete as we move away from using Berkeley DB in Bitcoin-Qt/bitcoind." – odigity Aug 5 '14 at 19:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.