Function retrieveUserLoansInfo

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

    Returns

    Promise<UserLoanInfo[]> user loans infos

    Parameters

    • indexerClient: default

      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[]>

Generated using TypeDoc