Hi Team,
I have a scenario which needs to be implemented. Tried searching for it and couldn't get any proper answer.
1st Scenario:-
Is it possible to group a list of transactions (or) commands to be atomic, such that if any transaction (or) command in the group fails, then the entire thing should get reverted? For example:- I have two assets named:- asset A and asset B of quantity 50 respectively. Now i want to create asset3. This asset 3 can be created only if have asset A and asset B(25 Quantity of asset C = 25 quantity of asset a + 25 quantity of asset b). After creating 25 quantity of asset C, i will burn these 25 quantities of asset a and asset b.
How to group all these transaction atomic such that is any transaction (or) command fails in between, Entire thing should get reverted.
Note:- All the above happens in single server.