Function prepareRemoveUserLoan

    • Returns a group transaction to remove a user's loan escrow and return its minimum balance to the user.

      Parameters

      • loanAppId: number

        loan application to remove loan in

      • userAddr: string

        account address for the user

      • escrowAddr: string

        account address for the loan escrow

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Transaction[]

      Transaction[] remove and close out loan escrow group transaction