# RatePreviewer (read-only)

The `RatePreviewer` contract is a helper tool within Exactly Protocol designed to calculate and retrieve key metrics from the protocol's lending markets. It consolidates data such as floating debt, floating assets, interest rates, and fixed pool details for all registered markets. By providing structured snapshots of market states, it simplifies analysis, optimizes blockchain queries, and supports external tools or dashboards with comprehensive and accessible data.

**GitHub URL:** [**https://github.com/exactly/protocol/blob/main/contracts/periphery/RatePreviewer.sol**](https://github.com/exactly/protocol/blob/main/contracts/periphery/RatePreviewer.sol)


---

# 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://docs.exact.ly/guides/periphery-contracts/ratepreviewer-read-only.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.
