Hi everyone, I have some questions about building inner transactions in a smart contract and any help is appreciated.
- If I want to build an inner transaction in the contract and use it to transfer asset to another account, do I have to name the xfer_asset in the InnerTxnBuilder.SetFields if that’s only one type of asset in the contract account and it’s already opted in?
- If I want to build an inner transaction in the contract and use it to transfer asset to another account, do I have to name the recipient as Txn.account[i] if I could use other expression to get the address from other app?