Where can I find history files structure (transactions and ledger files specifically)?

Where can I find history files structure (transactions and ledger files specifically)?

Manage alerts

Loading saved threads...

Naama · External communityPost link
External question — Stellar Stack Exchange Author: Naama Original post: https://stellar.stackexchange.com/questions/1023 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. 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?
Quote
Report
user1569 · External communityPost link
External answer — Stellar Stack Exchange Author: user1569 Original post: https://stellar.stackexchange.com/a/2528 License: CC BY-SA 4.0 — https://creativecommons.org/licenses/by-sa/4.0/ Adaptation: HTML converted to plain text; contact email addresses removed. Mostly moving this to higher visibility, but the structure is TrancationHistoryEntry , which you can find in the XDR on Github .
Quote
Report

Post Reply

Checking account access…