Function retrieveLoansLocalState
- retrieveLoansLocalState(
indexerClient: IndexerClient,
loanAppId: number,
userAddr: string,
): Promise<LoanLocalState[]> Parameters
- indexerClient: IndexerClient
Algorand indexer client to query
- loanAppId: number
loan application to query about
- userAddr: string
account address for the user
Returns Promise<LoanLocalState[]>
Promise<LoanLocalState[]> loan escrows' local state
- indexerClient: IndexerClient
Returns local state regarding the loan escrows of a given user. Use for advanced use cases where optimising number of network request.