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?

2
  • 1
    possible duplicate of Monitor all transactions on bitcoin network - API Commented Aug 31, 2012 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). Commented Aug 31, 2012 at 21:14

2 Answers 2

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
  • 1
    The v0.8 client uses LevelDB so I'm not sure that it changes any of the above. Anyone? Commented May 10, 2013 at 23:20
2

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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