I am grouping 2 transactions:
- App creation transaction
- App (Different) Opt-in transaction
I am trying to store the app id created in the first transaction while opting into a different app. But when I try to access the app id created in the first transaction using “gaid” opcode, I am getting the error as “Invalid App Reference”? I can’t add the app id as a foreignApp while constructing the transaction because the app hasn’t been created yet.
Any idea on how I could fix it?
