Function prepareCreateUserLoan
- prepareCreateUserLoan(loanAppId: number, userAddr: string, params: SuggestedParams): {
escrow: Account;
txns: Transaction[];
}
-
Parameters
-
loanAppId: number
-
userAddr: string
-
params: SuggestedParams
Returns {
escrow: Account;
txns: Transaction[];
}
-
escrow: Account
-
txns: Transaction[]
Returns a group transaction to create loan escrow.
Returns
object containing group transaction and generated escrow account