Function retrieveUserLoanInfo
- retrieveUserLoanInfo(
client: AlgodClient | IndexerClient,
loanAppId: number,
poolManagerAppId: number,
oracle: Oracle,
escrowAddr: string,
): Promise<UserLoanInfo> Parameters
- client: AlgodClient | IndexerClient
Algorand client to query
- loanAppId: number
loan application to query about
- poolManagerAppId: number
pool manager application to query about
- oracle: Oracle
oracle to query
- escrowAddr: string
account address for the loan escrow
Returns Promise<UserLoanInfo>
Promise
user loan info - client: AlgodClient | IndexerClient
Returns information regarding the given user loan escrow.