[ad_1] E.g. in Python with https://github.com/alecalve/python-bitcoin-blockchain-parser: #!/usr/bin/env python3 # stdlib import os import sys # Third party from bitcoin.core.script import * import blockchain_parser.blockchain datadir=”/home/ciro/snap/bitcoin-core/common/.bitcoin/blocks” blockchain = blockchain_parser.blockchain.Blockchain(datadir) for block in blockchain.get_ordered_blocks( os.path.join(datadir, ‘index’), cache=”cache.pkl”, ): for txno, tx in enumerate(block.transactions): print(tx.txid) print(‘inputs’) for inp in tx.inputs: print(inp.sequence_number) print(inp.witnesses) print(inp.script) print(inp.transaction_index) requirements.txt #git+https://github.com/alecalve/python-bitcoin-blockchain-parser.git@c06f420995b345c9a193c8be6e0916eb70335863 git+https://github.com/cirosantilli/[email protected] requests==2.31.0 I … Read more