Reputation: 360
Is there anyway to serialize a transaction builder?
I’m trying to use the TwoPartyDealFlow to enable two parties to trade on-ledger tokens. I need to be able to add input states / outputs states / commands on both sides in order to use the .generateMove
functionality from the token sdk.
Let me know if this is possible or if I should be using a different method.
Upvotes: 0
Views: 50
Reputation: 966
An alternative (and perhaps better) way would be to request the input/output states you require from counterparties and then add them to the TransactionBuilder.
You could do this from within a flow session using SendAndReceive.
Upvotes: 0