Function prepareRemoveCollateralFromLoan
- prepareRemoveCollateralFromLoan(
loanAppId: number,
userAddr: string,
escrowAddr: string,
pool: Pool,
params: SuggestedParams,
): Transaction 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
- loanAppId: number
Returns a transaction to remove collateral from loan escrow.