Function retrieveUserLoansInfo

    • Returns information regarding the loan escrows of a given user.

      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