Hi Multichain folks,
I've been using the rawtransaction API to try to build an atomic exchange transaction which also includes a stream publish. Let me explain:
- Address A has permissions to publish to Stream 1
- Address B is asking for Asset 1 in exchange for Asset 2
- Address C will accept Asset 2 for Asset
- Address B and Address C do not have permissions to publish to Stream 1
However, when the transaction is broadcast, it is rejected by the blockchain node because the Address B does not have permission to publish to Stream 1. I also noticed that when I decoderawtransaction, the output with the stream publishing info has 2 publishers: Address A and Address B.
Is it possible to publish to a stream and perform and atomic exchange in the same transaction?