I'm trying to extract history files from the archive, I understood that transaction file is built of pairs: (32bit length,data), but when I try to extract the data from a single stream I get error: tx_json = JSON.stringify(StellarSdk.xdr.TransactionEnvelope.fromXDR(data_b64, 'base64')); Error: XDR Read Error: Unknown PublicKeyType member for value 8851437

Comparing the base64 I get from the data and the base64 of a single transaction envelope I can see that my data_b64 includes additional data prior to the TransactionEnvelope, but what is the structure of this header?


1 Answer 1


Mostly moving this to higher visibility, but the structure is TrancationHistoryEntry, which you can find in the XDR on Github.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.