Export Result
Last updated
# Command line parameter
python hemera.py stream \
--provider-uri https://eth.llamarpc.com \
--debug-provider-uri https://eth.llamarpc.com \
--postgres-url postgresql+psycopg2://devuser:devpassword@localhost:5432/hemera_indexer \
--output jsonfile://output/eth_blocks_20000001_20010000/json,csvfile://output/hemera_indexer/csv,postgresql+psycopg2://devuser:devpassword@localhost:5432/eth_blocks_20000001_20010000 \
--start-block 20000001 \
--end-block 20010000 \
--output-types block,transaction,log \
--block-batch-size 200 \
--batch-size 50 \
--max-workers 8
# Or using environment variable
export OUTPUT = postgresql+psycopg2://user:password@localhost:5432/hemera_indexer,jsonfile://output/json, csvfile://output/csv