Hello everyone,
I'm looking for a way to do different operations in one single transaction (A kind of an atomic transaction).
I would like to send an asset to someone and, afterward, issue another asset to me, all in the same transaction.
I searched about raw transaction, including the tutorial and I found something that seems to work, balances between the different keys seem ok.
My question is quite simple : Am I doing it right or should I do something else?
Thanks a lot
Here's what I tried :
createrawsendfrom 1J2qfBtUC6F8gq1y1p57akYpvsgdhef8niBFfG ' {"1XXXXXXWrXXXXXXXmeXXXXXXTwXXXXXXWUGyo5": {"asset1":20} ,"1J2qfBtUC6F8gq1y1p57akYpvsgdhef8niBFfG": { "issue": {"raw":3000} } } ' ' [ { "name":"asset2","multiple":10,"open":true,"details":{"origin":"uk","stage":"one"} } ] ' send