I wish to download every transaction that happened on blockchain since the genesis. In particular, I want to download data for BSC.<p>* 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?
Install a full node and perform a full sync: <a href="https://docs.binance.org/smart-chain/developer/fullnode.html" rel="nofollow">https://docs.binance.org/smart-chain/developer/fullnode.html</a><p>Then use the RPC API (looks like BSC is a clone of Ethereum so it uses the same API): <a href="https://eth.wiki/json-rpc/API" rel="nofollow">https://eth.wiki/json-rpc/API</a>
For anyone discovering this later, here is a more detail answer <a href="https://stackoverflow.com/a/67057078/368691" rel="nofollow">https://stackoverflow.com/a/67057078/368691</a>