MultiversX Tracker is Live!

Watch-only bitcoin address, Transaction file?

Bitcoin Stack Exchange

Bitcoin News / Bitcoin Stack Exchange 187 Views

The range of characters, particularly the + and / as the only punctiation, mean that this is base64 encoded. So the first step is to decode it from Base64. You can then view it as Hexadecimal which is generally much more useful for extracting data items from raw binary data records.

I don't see anywhere that Electrum document the format of a transaction file. You may have to work that out by looking for specific transaction data or for item values that you know are commonly found in bitcoin transactions as transmitted over the network.

The general format for a transaction as transmitted on the network are documented

FieldDescriptionSize
Version nocurrently 14 bytes
FlagIf present, always 0001, and indicates the presence of witness dataoptional 2 byte array
In-counterpositive integer VI = VarInt1 - 9 bytes
list of inputsthe first input of the first transaction is also called "coinbase" (its content was ignored in earlier versions)-many inputs
Out-counterpositive integer VI = VarInt1 - 9 bytes
list of outputsthe outputs of the first transaction spend the mined bitcoins for the block-many outputs
WitnessesA list of witnesses, 1 for each input, omitted if flag above is missingvariable, see Segregated_Witness
lock_timeif non-zero and sequence numbers are < 0xFFFFFFFF: block height or timestamp when transaction is final4 bytes

and so on.

The network order is mostly big endian so a Version no with value 1 might show in hexadecimal as 01000000

There are a handful of different transaction output types. So you might have to test for several types to get the full details.

There's no guarantee that Electrum stores its data in the network format though - it might be completely different.


Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
💰 Install these recommended apps:
💲 SocialGood - 100% Crypto Back on Everyday Shopping
💲 xPortal - The DeFi For The Next Billion
💲 CryptoTab Browser - Lightweight, fast, and ready to mine!
💰 Register on these recommended exchanges:
🟡 Binance🟡 Bitfinex🟡 Bitmart🟡 Bittrex🟡 Bitget
🟡 CoinEx🟡 Crypto.com🟡 Gate.io🟡 Huobi🟡 Kucoin.



Comments