6

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?

0

1 Answer 1

0

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 that you have read and understand our privacy policy and code of conduct.

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