This forum is a read-only archive. Posting, replying and signing in are disabled.

How to include arguments to application calls in inner transactions

javier0rosas

I want to add arguments to the application call in PyTeal:

        Seq(
            InnerTxnBuilder.Begin(),
            InnerTxnBuilder.SetFields({
                TxnField.type_enum: TxnType.ApplicationCall,
                TxnField.application_id: Global.current_application_id(),
                TxnField.on_completion: OnComplete.CloseOut,
                TxnField.sender: Txn.accounts[1]
            }),
            InnerTxnBuilder.Submit(),
            Int(1)
        ),

I want to add application_args to the transaction. Would this be an array of bytes?

✔ Solved by fabrice in post #4
fabrice

You currently cannot make inner application call.