Function prepareCreateUserLoan

    • Returns a group transaction to create loan escrow.

      Parameters

      • loanAppId: number

        loan application to add 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