# Read Methods

#### Aave V3: Account Health

Returns the full account summary for a user on an Aave V3 pool. This is useful for displaying health factors, available borrow power, and liquidation thresholds in your UI.

```
const accountData = await lendingClient.getAaveUserAccountData({
  pool: "0xYourAavePoolAddress",
  user: "0xYourWalletAddress",
});
```

The returned object includes fields like `totalCollateralBase`, `totalDebtBase`, `availableBorrowsBase`, `currentLiquidationThreshold`, `ltv`, and `healthFactor`. All base values are denominated in the pool's base currency (typically USD with 8 decimals).

#### Morpho Blue: Market Data

Reads the current state of a Morpho Blue market, including total supply, total borrow, and utilization.

```
const market = await lendingClient.getMorphoMarket({
  marketId: "0xYourMorphoMarketId",
});
```

#### Morpho Blue: User Position

Reads a user's current position in a specific Morpho market, including supplied assets, borrowed assets, and collateral.

```
const position = await lendingClient.getMorphoPosition({
  marketId: "0xYourMorphoMarketId",
  user: "0xYourWalletAddress",
});
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://city-protocol.gitbook.io/docs/software-development-kit/lending-borrowing/read-methods.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
