Bitcoin Forum
January 21, 2019, 08:47:02 AM *
News: Latest Bitcoin Core release: 0.17.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Is it possible to get the hex format from a transaction ID alone ?  (Read 102 times)
AdolfinWolf
Hero Member
*****
Offline Offline

Activity: 924
Merit: 712


🐸📣📣📣 FORSAAAAN!


View Profile
January 13, 2018, 08:15:58 PM
Last edit: January 13, 2018, 11:21:46 PM by AdolfinWolf
 #1

Is it possible to get the hex data from a transaction id which i haven't personally signed, and which is currently not being broadcasted by any nodes/isn't in the mempool.

Meaning that i only have the standard transaction id to work with. ( Something like 9021b49d445c719106c95d561b9c3fac7bcb3650db67684a9226cd7fa1e1c1a0, but then unbroadcasted, and unconfirmed/not in the mempool, in which case the links you provided about btc.com and blockchain.info's resolver won't work.).


(Since i would need the hex encoded data to  push a transaction back into the mempool, right? Would that be possible with only  an old valid transaction id that i have?) I don't think so.

And if so, how would i then get the hex encoded bitcoin transaction?

EDIT: let me get a better example.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
vh
Hero Member
*****
Offline Offline

Activity: 642
Merit: 599


View Profile
January 13, 2018, 08:24:05 PM
Last edit: January 13, 2018, 08:36:06 PM by vh
 #2

You left out the rest of your message there so I'll take a stab at the question in the topic:
Is it possible to get the hex format from a transaction ID?


The two quick ways to get this that I have bookmarked:

https://blockchain.info/tx/<txid>?format=hex
you get back the tx's hex

https://chain.so/api/v2/tx/BTC/<txid>
look in the tx_hex field

edit:

https://blockchain.info/tx/9021b49d445c719106c95d561b9c3fac7bcb3650db67684a9226cd7fa1e1c1a0?format=hex
https://chain.so/api/v2/tx/BTC/9021b49d445c719106c95d561b9c3fac7bcb3650db67684a9226cd7fa1e1c1a0

edit(2):

no you can go from txid to tx_hex.   if it's gone from mempools that offers this kind of api(s).

Thirdspace
Hero Member
*****
Offline Offline

Activity: 868
Merit: 613


Mixing reinvented for your privacy | chipmixer.com


View Profile
January 13, 2018, 09:23:00 PM
Last edit: January 14, 2018, 01:26:59 AM by Thirdspace
 #3

Is it possible to get the hex data from a transaction id which i haven't personally signed, and which is currently not being broadcasted by any nodes/isn't in the mempool.

Meaning that i only have the standard transaction id to work with. ( Something like 9021b49d445c719106c95d561b9c3fac7bcb3650db67684a9226cd7fa1e1c1a0, but then unbroadcasted, and unconfirmed/not in the mempool, in which case the links you provided about btc.com and blockchain.info's resolver won't work.).


(Since i would need the hex encoded data to  push a transaction back into the mempool, right? Would that be possible with only  an old valid transaction id that i have?) I don't think so.


it's only possible if the tx has been broadcasted at least once and reached bitaps or btc.com
bitaps is the explorer I know which keeps track all transactions: unconfirmed, double spend, dropped txs
bitaps openly shows all related txs on the address page, but btc.com only list confirmed and valid mempool txs
on btc.com you have to know the exact txid to be able to see other transaction data
if it never reached these 2 explorers and dropped, most likely you cannot get the hex by means of knowing its txid only
there might be other explorers, but I only use these two to query txid if it doesn't exist on bc.info anymore

edit: I'm sorry I typed extra 'p' on the url, corrected the url to https://bitaps.com/
@AdolfinWolf please edit your post too if you can, so people won't be directed to wrong site

AdolfinWolf
Hero Member
*****
Offline Offline

Activity: 924
Merit: 712


🐸📣📣📣 FORSAAAAN!


View Profile
January 13, 2018, 10:12:08 PM
Last edit: January 14, 2018, 03:44:04 PM by AdolfinWolf
 #4

Is it possible to get the hex data from a transaction id which i haven't personally signed, and which is currently not being broadcasted by any nodes/isn't in the mempool.

Meaning that i only have the standard transaction id to work with. ( Something like 9021b49d445c719106c95d561b9c3fac7bcb3650db67684a9226cd7fa1e1c1a0, but then unbroadcasted, and unconfirmed/not in the mempool, in which case the links you provided about btc.com and blockchain.info's resolver won't work.).


(Since i would need the hex encoded data to  push a transaction back into the mempool, right? Would that be possible with only  an old valid transaction id that i have?) I don't think so.


it's only possible if the tx has been broadcasted at least once and reached bitapps or btc.com
bitapps is the explorer I know which keeps track all transactions: unconfirmed, double spend, dropped txs
bitapps openly shows all related txs on the address page, but btc.com only list confirmed and valid mempool txs
on btc.com you have to know the exact txid to be able to see other transaction data
if it never reached these 2 explorers and dropped, most likely you cannot get the hex by means of knowing its txid only
there might be other explorers, but I only use these two to query txid if it doesn't exist on bc.info anymore

Btc.com shows the transaction but no transaction information/ information about the HEX id when i try the usual resolving method. Just returns an error.

I can't seem to find/open bitapps? are you talking about http://bitapps.com/? That doesn't seem like a blockexplorer to me?

Thirdspace
Hero Member
*****
Offline Offline

Activity: 868
Merit: 613


Mixing reinvented for your privacy | chipmixer.com


View Profile
January 14, 2018, 09:59:34 AM
 #5

edit: I'm sorry I typed extra 'p' on the url, corrected the url to https://bitaps.com/
@AdolfinWolf please edit your post too if you can, so people won't be directed to wrong site
I can't seem to find/open bitapps? are you talking about http://bitapps.com/? That doesn't seem like a blockexplorer to me?
In case you're only watching this thread and not checking it manually, so you won't notice my edited post
I made mistake typing site url, it should be bitaps.com Cheesy

bob123
Hero Member
*****
Offline Offline

Activity: 798
Merit: 805



View Profile WWW
January 14, 2018, 10:47:44 AM
 #6

Since i would need the hex encoded data to  push a transaction back into the mempool, right? Would that be possible with only an old valid transaction id that i have?

You can't get the raw hex data of a transaction just out of an ID.
The transaction id is 'created' by hashing the TX twice with sha256 ('one-way-function').

You need to have access to the transaction (either by the tx being broadcasted / you have access to the tx data).
Quite a few block explorer give you the ability to get the raw transaction data. (e.g. blockchain.info, .. ).

Pages: [1]
  Print  
 
Jump to:  

Bitcointalk.org is not available or authorized for sale. Do not believe any fake listings.
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!