Function prepareCreateUserLoan
- prepareCreateUserLoan(
loanAppId: number,
userAddr: string,
params: SuggestedParams,
): { escrow: Account; txns: Transaction[] } 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
- loanAppId: number
Returns a group transaction to create loan escrow.