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?
-
1possible duplicate of Monitor all transactions on bitcoin network - API– Stephen GornickCommented 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).– Pieter WuilleCommented Aug 31, 2012 at 21:14
Add a comment
|
2 Answers
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]
-
1The 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
Gavin Andresen's bitcointools python scripts might have some of the functionality you are looking for.
-
1From README: "These tools are becoming obsolete as we move away from using Berkeley DB in Bitcoin-Qt/bitcoind."– odigityCommented Aug 5, 2014 at 19:19