Ethereum is a global, decentralized platform for money and new kinds of applications. All data in Ethereum will be saved in 'block', such as the transactions among accounts, block timestamp, and so on.
In this section, we demonstrate how to collect transaction data on Ethereum by block order.
Start a crawl task
The following command will continuously collect transactions, from block number 19000000 to the latest block:
scrapy crawl trans.block.evm -a start_blk=19000000 -a providers=https://freerpc.merkle.io
You can find the transaction data on ./data, in which:
BlockItem.csv: saves the metadata for blocks, such as minter, timestamp, and so on.
TransactionItem.csv: saves the external transactions of blocks.
The output files are in CSV formats, just like this: