Bitcoin Forum

Other => Beginners & Help => Topic started by: coinspam on September 15, 2017, 11:15:04 PM



Title: How to convert Transaction ID to a raw transaction in hex format?
Post by: coinspam on September 15, 2017, 11:15:04 PM
How to convert Transaction ID to a raw transaction in hex format?


Title: Re: How to convert Transaction ID to a raw transaction in hex format?
Post by: TryNinja on September 15, 2017, 11:30:24 PM
You can search the transaction at Blockchain.info and put a ?format=hex at the end of the link. Is that what you are looking for?

E.g: https://blockchain.info/tx/eb736b6a82e734a85a6e3b895e39cf481a409fe7e20c1c6989ad2469ed1931ec?format=hex


Title: Re: How to convert Transaction ID to a raw transaction in hex format?
Post by: pooya87 on September 16, 2017, 03:31:09 AM
transaction ID is a SHA256 hash of the raw transaction which means it is not reversible. in other words you can not convert it back to its original/long/raw format.

if the transaction is mined you go look into the block it was included in and see the raw form.
if it is still in the mempool you go look there and see it there.

otherwise if it is not mined and dropped out of mempool you have no way of finding it.