atomic exchanges on a stream

+4 votes
When storing raw transactions on a stream,  how could I know that that 'offer' is still valid?

I.e:  Addr1_on_node1 creates an offer of  100:Asset1  for 200:Asset2  and publishes that data on a stream.

Another user (Addr2_on_node2) reads the stream and finds a whole bunch of offers.
He can then do a 'decoderawexchange' to get the details of each offer.   Is there a way of knowing that that offer is still valid, and others have not 'completed' it ?
asked Apr 16, 2018 by Robert

1 Answer

0 votes
 
Best answer

The decoderawexchange API gives an error if the offer is no longer valid.

answered Apr 17, 2018 by MultiChain
...