HACKER Q&A
📣 gajus

How to Download Blockchain Data?


I wish to download every transaction that happened on blockchain since the genesis. In particular, I want to download data for BSC.

* How do I download blockchain data?, e.g. Is there an API or a protocol I can use? * Once I've dowloaded the data to date... How do I subscribe to new transactions?


  👤 wmf Accepted Answer ✓
Install a full node and perform a full sync: https://docs.binance.org/smart-chain/developer/fullnode.html

Then use the RPC API (looks like BSC is a clone of Ethereum so it uses the same API): https://eth.wiki/json-rpc/API


👤 gajus
For anyone discovering this later, here is a more detail answer https://stackoverflow.com/a/67057078/368691

👤 arthurcolle
For what protocol?