Writing multiple items to the same stream with a single tx

+3 votes
Is it currently possible to write multiple items to the same stream with a single tx using Multichain 1.0.4? I tried 'sendwithrawdata' method but it seems to be failing. Is only option calling 'publish' for each item or is there a better way of doing this?
asked Aug 28, 2018 by TinfoilHat

1 Answer

+2 votes
 
Best answer

It's not possible in MultiChain 1.0 to write multiple items to the same stream in a single transaction, though it is possible to write multiple items to different streams.

However in MultiChain 2.0 (alphas) you can write multiple items to the same stream in one transaction. Take a look at createrawsendfrom to do this – see the "Publishing to streams" section here:

https://www.multichain.com/developers/raw-transactions/

answered Aug 29, 2018 by MultiChain
selected Aug 30, 2018 by TinfoilHat
...