Inside the Stellar core history archive there are these folders:
bucket history ledger results scp transactions
So inside of the transaction folder:
└── transactions └── 00 └── 72 ├── 69 │ ├── transactions-007269bf.xdr.gz
I can now unzip this file and get "transactions-007269bf.xdr"
My question is how do I unpack this file?
I managed to use Stellar-archivist's command 'dumpxdr' that unpacks the XDR file to JSON format.
How can I do it programmatically? (preferably python, but I'm open to suggestions) I can execute the stellar-archivist program from code, but I want to do it without being dependent on an external program.