getting the list of all bitcoin transactions

0

1

I am currently thinking of doing a research project on Bitcoins. But I want to download the list of all transactions of bitcoins. I was wondering what are the ways to do this? I believe, I can scrape if I'm not wrong but is there a better and a faster way to do this?

bawa

Posted 2018-02-21T11:40:21.707

Reputation: 1

Answers

2

The list of all transactions is the blockchain. The fastest way to get the blockchain is to run a full node which will download the blockchain for you and provide ways for you to access the data stored within the blockchain.

You can use Bitcoin Core and enable the transaction index so that you can get all transaction information. The transaction index is enabled by adding txindex=1 to your bitcoin.conf file.

Andrew Chow

Posted 2018-02-21T11:40:21.707

Reputation: 40 910

How do you recommend I run a full node? I am sorry, I am completely new to blockchain/bitcoin etc. I do know Python well though so any guidance would be appreciatedbawa 2018-02-23T10:56:18.427

Downloaded bitcoin core. Downloading all the transactions. Could you actually guide me, how I could import all of it (once its downloaded) into a sort of a csv file or maybe in a data frame in python?bawa 2018-02-23T11:09:14.613

1

You can use the JSON-RPC interface to connect to Bitcoin Core and send commands that fetch the blockchain data for you. Then you can put that into whatever format you want and handle it however you want. This library may be helpful to you: https://github.com/jgarzik/python-bitcoinrpc

Andrew Chow 2018-02-23T15:57:10.650

2

If you're looking for all BTC balances, this github repository looks useful. It would likely crash due to memory issues, but could show you all transactions using the "transactions" argument. https://github.com/znort987/blockparser

Nicolas Lopez

Posted 2018-02-21T11:40:21.707

Reputation: 366

2

There is a new tool by a Princeton research group that does exactly this: https://github.com/citp/BlockSci

Benedikt Bünz

Posted 2018-02-21T11:40:21.707

Reputation: 446

-2

Download the bitcoin core bootstrap.dat

Most downloads are compressed to save on download time.

Update: Here's the torrents. https://getbitcoinblockchain.com/

Evil Zymurgist

Posted 2018-02-21T11:40:21.707

Reputation: 115

The bootstrap.dat download method was deprecated around the release of Bitcoin Core 0.10 in february 2015.Pieter Wuille 2018-03-24T20:50:07.410