Function prepareAddDepositEscrowToDeposits

    • Returns a group transaction to add escrow before depositing.

      Parameters

      • depositsAppId: number

        deposits application to add an escrow for

      • userAddr: string

        account address for the user

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns { escrow: Account; txns: Transaction[] }

      object containing group transaction and generated escrow account