> For the complete documentation index, see [llms.txt](https://city-protocol.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://city-protocol.gitbook.io/docs/software-development-kit/lending-borrowing/read-methods.md).

# 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",
});
```
