Collect by block order
The following arguments for trans.block.evm
can be set, including:
out: the output directory; the default is
./data
.start_blk: the start block for collecting transaction data; the default is 0.
end_blk: the end block for collecting transaction data; if not set, the spider will continue to monitor the latest block's transaction data.
providers: the HTTP JSON RPC providers. If you have two or more providers, you can use
,
to join them.enable: Specify the transaction crawler middleware to be started. If multiple middlewares are enabled, please separate them with
,
. Middlewares determine which data will be collected. BlockchainSpider provides the following middlewares:BlockchainSpider.middlewares.trans.TransactionReceiptMiddleware
BlockchainSpider.middlewares.trans.TraceMiddleware
BlockchainSpider.middlewares.trans.TokenTransferMiddleware
BlockchainSpider.middlewares.trans.TokenPropertyMiddleware
BlockchainSpider.middlewares.trans.ContractMiddleware
BlockchainSpider.middlewares.trans.DCFGMiddleware
Use case: collect receipt and token transfer in a block range
Use case: collect block, transaction, receipt, token transfer to the latest
Last updated