Can I use makeApplicationDeleteTxn with app arguments? In an atomic transaction group?

I would like to use makeApplicationDeleteTxn instead of makeApplicationNoOpTxn in order to call the contract with arguments, so it can perform the last operations and self-destruct. Obviously, the owner/creator would call this. Is this allowed?

In addition, can I call makeApplicationDeleteTxn with arguments in a transaction group?


Sure, you may do whatever you need to in logic since the logic will be evaluated prior to deleting the app. You may pass whatever arguments you’d like, similar to other App call transactions.