Function retrieveLoansLocalState

    • Returns local state regarding the loan escrows of a given user. Use for advanced use cases where optimising number of network request.

      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