ICON ETL lets you convert ICON blockchain data into convenient formats like CSVs and relational databases.
Full documentation available here.
Install ICON ETL:
pip3 install icon-etl
Export blocks and transactions:
> iconetl export_blocks_and_transactions --start-block 0 --end-block 500000 \
--blocks-output blocks.csv --transactions-output transactions.csv
Export logs and receipts:
> iconetl export_receipts_and_logs --transaction-hashes hashes.txt \
--receipts-output receipts.csv --logs-output logs.csv
> pip3 install -e .[dev]
> export ICON_ETL_RUN_SLOW_TESTS=True
> pytest -vv
> pip3 install tox
> tox