Cancelling exchange offer

+2 votes
Do you have any commands to cancel the created raw exchange? It would help me with the testing but did not find such commands in multichain or bitcoin API... I'd like to simulate a situation where the first party sends the prepared transaction but the deal gets canceled by the other party not finishing the transaction.
asked Sep 14, 2015 by anonymous

2 Answers

0 votes

You can use createrawtransaction (with the same txid/vout from preparelockunspent, sending the asset quantity back to yourself) -> signrawtransaction -> sendrawtransaction to spend one of the txid/vouts referenced by the exchange, at which point it will become invalid. 

answered Sep 14, 2015 by MultiChain
0 votes

Alpha 11 adds a new API call disablerawtransaction which takes care of cancelled a raw exchange offer, i.e. preventing it from being used by anyone else.

answered Nov 19, 2015 by MultiChain
...