Function retrieveUserLoansInfo
- retrieveUserLoansInfo(
indexerClient: IndexerClient,
loanAppId: number,
poolManagerAppId: number,
oracle: Oracle,
userAddr: string,
): Promise<UserLoanInfo[]> Parameters
- indexerClient: IndexerClient
Algorand indexer client to query
- loanAppId: number
loan application to query about
- poolManagerAppId: number
pool manager application to query about
- oracle: Oracle
oracle to query
- userAddr: string
account address for the user
Returns Promise<UserLoanInfo[]>
Promise<UserLoanInfo[]> user loans infos
- indexerClient: IndexerClient
Returns information regarding the loan escrows of a given user.