Function prepareRemoveCollateralFromLoan

    • Returns a transaction to remove collateral from loan escrow.

      Parameters

      • loanAppId: number

        loan application to remove collateral in

      • userAddr: string

        account address for the user

      • escrowAddr: string

        account address for the loan escrow

      • pool: Pool

        pool to remove collateral of

      • params: SuggestedParams

        suggested params for the transactions with the fees overwritten

      Returns Transaction

      Transaction remove collateral transaction