How do I find the transactionID that lists the offer?

+1 vote

In the Atomic Exchange trans example, is there a way to get the transaction with the offer:

Simple atomic exchange

Now we’ll perform a simple atomic exchange, in which 100 dollars belonging to the first node are exchanged for 10500 yen belonging to the second. On the second server, let’s create a locked transaction output containing 10500 yen:

preparelockunspentfrom 1... '{"JPY":10500}'

Copy and paste the displayed txid: 
Copy and paste the displayed vout: 

Because it is locked, this transaction output will be protected against spending unless explicitly spent or unlocked. Now we will use it to start the exchange transaction, specifying that we want 100 dollars in exchange:

createrawexchange a1b2... # '{"USD":100}'

This will output a large hexadecimal blob of text that contains the raw transaction data representing the offer of exchange. Copy this blob to the clipboard, then run this command on the first server:

decoderawexchange [paste-hex-blob]

The output will show exactly what is represented by this exchange offer in the offer and ask sections. In addition, cancomplete should be true meaning that the first node has the assets required to complete the exchange.

 Which txid contains this same blob?

asked Dec 9, 2018 by rkottke

1 Answer

0 votes
An offer of exchange is not yet a transaction on the blockchain – it is a partially complete, partially signed transaction, which is not yet valid. So I'm not sure if I understand what you're looking for?
answered Dec 11, 2018 by MultiChain
...