Bitcoin Forum
May 14, 2024, 05:12:23 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How to create a raw transaction from TX ID onlline?  (Read 1481 times)
veleten (OP)
Legendary
*
Offline Offline

Activity: 2030
Merit: 1106



View Profile
April 05, 2017, 04:29:40 PM
 #1

I wonder is there an online  tool that allows you to create a raw transaction while knowing only tx id?
basically,enter tx id-get a raw transaction to be pushed
useful when there is no core client installed and/or you don't have enough time or knowledge to do it

          ▄▄████▄▄
      ▄▄███▀    ▀███▄▄
   ▄████████▄▄▄▄████████▄
  ▀██████████████████████▀
▐█▄▄ ▀▀████▀    ▀████▀▀ ▄▄██
▐█████▄▄ ▀██▄▄▄▄██▀ ▄▄██▀  █
▐██ ▀████▄▄ ▀██▀ ▄▄████  ▄██
▐██  ███████▄  ▄████████████
▐██  █▌▐█ ▀██  ██████▀  ████
▐██  █▌▐█  ██  █████  ▄█████
 ███▄ ▌▐█  ██  ████████████▀
  ▀▀████▄ ▄██  ██▀  ████▀▀
      ▀▀█████  █  ▄██▀▀
         ▀▀██  ██▀▀
.WINDICE.████
██
██
██
██
██
██
██
██
██
██
██
██
████
      ▄████████▀
     ▄████████
    ▄███████▀
   ▄███████▀
  ▄█████████████
 ▄████████████▀
▄███████████▀
     █████▀
    ████▀
   ████
  ███▀
 ██▀
█▀

██
██
██
██
██
██
██
██
██
██
██
██
     ▄▄█████▄   ▄▄▄▄
    ██████████▄███████▄
  ▄████████████████████▌
 ████████████████████████
▐████████████████████████▌
 ▀██████████████████████▀
     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
     ▄█     ▄█     ▄█
   ▄██▌   ▄██▌   ▄██▌
   ▀▀▀    ▀▀▀    ▀▀▀
       ▄█     ▄█
     ▄██▌   ▄██▌
     ▀▀▀    ▀▀▀

██
██
██
██
██
██
██
██
██
██
██
██
                   ▄█▄
                 ▄█████▄
                █████████▄
       ▄       ██ ████████▌
     ▄███▄    ▐█▌▐█████████
   ▄███████▄   ██ ▀███████▀
 ▄███████████▄  ▀██▄▄████▀
▐█ ▄███████████    ▀▀▀▀
█ █████████████▌      ▄
█▄▀████████████▌    ▄███▄
▐█▄▀███████████    ▐█▐███▌
 ▀██▄▄▀▀█████▀      ▀█▄█▀
   ▀▀▀███▀▀▀
████
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
████


▄▄████████▄▄
▄████████████████▄
▄████████████████████▄
███████████████▀▀  █████
████████████▀▀      ██████
▐████████▀▀   ▄▄     ██████▌
▐████▀▀    ▄█▀▀     ███████▌
▐████████ █▀        ███████▌
████████ █ ▄███▄   ███████
████████████████▄▄██████
▀████████████████████▀
▀████████████████▀
▀▀████████▀▀
iePlay NoweiI
I
I
I
[/t
achow101
Moderator
Legendary
*
expert
Offline Offline

Activity: 3388
Merit: 6641


Just writing some code


View Profile WWW
April 05, 2017, 05:01:41 PM
 #2

You can get the raw transaction for a txid if the transaction has already been created. However, it does not work the other way around; you cannot make up a txid and make a transaction out of that.

DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
April 05, 2017, 05:10:29 PM
Merited by ABCbits (2)
 #3

You can get the raw transaction for a txid if the transaction has already been created. However, it does not work the other way around; you cannot make up a txid and make a transaction out of that.

However, if someone is running a node on the bitcoin network, and they choose to store every unconfirmed transaction they ever receive, indexed by transaction ID, then they could provide a service that would allow you to retrieve the transaction from their database if you know the txid.

If the transaction was not well propagated, then it is possible that their node would never have seen it in the first place, in which case they would not be able to provide it to you.

Most block explorers provide this service, but they drop the transactions when they get old.
newIndia
Legendary
*
Offline Offline

Activity: 2212
Merit: 1049


View Profile
April 05, 2017, 06:50:51 PM
 #4

I wonder is there an online  tool that allows you to create a raw transaction while knowing only tx id?
basically,enter tx id-get a raw transaction to be pushed
useful when there is no core client installed and/or you don't have enough time or knowledge to do it


Tx: https://btc.com/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b

RawTx: https://blockchain.info/rawtx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b

^^Is this what u r looking for?

veleten (OP)
Legendary
*
Offline Offline

Activity: 2030
Merit: 1106



View Profile
April 06, 2017, 12:37:49 AM
 #5

I wonder is there an online  tool that allows you to create a raw transaction while knowing only tx id?
basically,enter tx id-get a raw transaction to be pushed
useful when there is no core client installed and/or you don't have enough time or knowledge to do it


Tx: https://btc.com/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b

RawTx: https://blockchain.info/rawtx/4a5e1e4baab89f3a32518a88c31bc87f618f76673e2cc77ab2127b7afdeda33b

^^Is this what u r looking for?

yes,thank you and thank you the posters above
I was wondering if rebroadcatsing a transaction with a low mempool presence could speed the confirmations up,as more nodes would be able to see it
obviously there is no direct correlation and it can't be measured,but sometimes I get transactions like that (especially when blockchain.info online wallet is used)
and I thought creating raw and pushing it would not hurt
 

          ▄▄████▄▄
      ▄▄███▀    ▀███▄▄
   ▄████████▄▄▄▄████████▄
  ▀██████████████████████▀
▐█▄▄ ▀▀████▀    ▀████▀▀ ▄▄██
▐█████▄▄ ▀██▄▄▄▄██▀ ▄▄██▀  █
▐██ ▀████▄▄ ▀██▀ ▄▄████  ▄██
▐██  ███████▄  ▄████████████
▐██  █▌▐█ ▀██  ██████▀  ████
▐██  █▌▐█  ██  █████  ▄█████
 ███▄ ▌▐█  ██  ████████████▀
  ▀▀████▄ ▄██  ██▀  ████▀▀
      ▀▀█████  █  ▄██▀▀
         ▀▀██  ██▀▀
.WINDICE.████
██
██
██
██
██
██
██
██
██
██
██
██
████
      ▄████████▀
     ▄████████
    ▄███████▀
   ▄███████▀
  ▄█████████████
 ▄████████████▀
▄███████████▀
     █████▀
    ████▀
   ████
  ███▀
 ██▀
█▀

██
██
██
██
██
██
██
██
██
██
██
██
     ▄▄█████▄   ▄▄▄▄
    ██████████▄███████▄
  ▄████████████████████▌
 ████████████████████████
▐████████████████████████▌
 ▀██████████████████████▀
     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
     ▄█     ▄█     ▄█
   ▄██▌   ▄██▌   ▄██▌
   ▀▀▀    ▀▀▀    ▀▀▀
       ▄█     ▄█
     ▄██▌   ▄██▌
     ▀▀▀    ▀▀▀

██
██
██
██
██
██
██
██
██
██
██
██
                   ▄█▄
                 ▄█████▄
                █████████▄
       ▄       ██ ████████▌
     ▄███▄    ▐█▌▐█████████
   ▄███████▄   ██ ▀███████▀
 ▄███████████▄  ▀██▄▄████▀
▐█ ▄███████████    ▀▀▀▀
█ █████████████▌      ▄
█▄▀████████████▌    ▄███▄
▐█▄▀███████████    ▐█▐███▌
 ▀██▄▄▀▀█████▀      ▀█▄█▀
   ▀▀▀███▀▀▀
████
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
  ██
████


▄▄████████▄▄
▄████████████████▄
▄████████████████████▄
███████████████▀▀  █████
████████████▀▀      ██████
▐████████▀▀   ▄▄     ██████▌
▐████▀▀    ▄█▀▀     ███████▌
▐████████ █▀        ███████▌
████████ █ ▄███▄   ███████
████████████████▄▄██████
▀████████████████████▀
▀████████████████▀
▀▀████████▀▀
iePlay NoweiI
I
I
I
[/t
elbandi
Hero Member
*****
Offline Offline

Activity: 525
Merit: 529


View Profile
April 06, 2017, 02:56:16 PM
 #6

https://coinb.in/#newTransaction

Coding Enthusiast
Legendary
*
Offline Offline

Activity: 1039
Merit: 2783


Bitcoin and C♯ Enthusiast


View Profile WWW
April 06, 2017, 03:14:24 PM
Merited by ABCbits (2)
 #7

rebroadcatsing a transaction with a low mempool presence could speed the confirmations up
When you broadcast a transaction you send it to the network, which means for example you send it to Node_1 (which you are connected to or push tx to) and if that client accepts your tx, it becomes a part of its inventory (has the tx in its mempool).
then Node_1 sends your tx to everyone that asks for its inventory or connects to Node_1.
So if Node_2 and Node_3 are connected to Node_1, they now have your tx too. (total 3 nodes).
Then they give it to Node_4, 5, 6,... and in a short time all the network has your tx.

However as I mentioned in the start, that Node has to accept your tx. Sometimes they reject it because for example it has low fee, it is a double spend, ... so your "tx mempool presence" goes down.

You can actually try it next time to get how long it takes for your tx to propagate through bitcoin network (it is a couple of seconds most of the times). Use your wallet to broadcast the tx and then copy the rawTx and push it in any of these services, you will see that by the time you copy and past and click push they all have your tx and give you an error indicating it already exists.
https://blockchain.info/pushtx
https://live.blockcypher.com/btc/pushtx/

Projects List+Suggestion box
Donate: 1Q9s or bc1q
|
|
|
FinderOuter(0.19.1)Ann-git
Denovo(0.7.0)Ann-git
Bitcoin.Net(0.26.0)Ann-git
|
|
|
BitcoinTransactionTool(0.11.0)Ann-git
WatchOnlyBitcoinWallet(3.2.1)Ann-git
SharpPusher(0.12.0)Ann-git
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!