> For the complete documentation index, see [llms.txt](https://hertzflow.gitbook.io/hertzflow-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs.md).

# TECH DOCS

- [Overview](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/overview.md): Architecture, oracle design, and integration entry points for developers.
- [Smart Contract](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/smart-contract.md): HertzFlow is built on a modular smart contract architecture deployed on BNB Smart Chain.
- [Reader Contract](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/smart-contract/reader-contract.md): The Reader contract provides read-only functions to query protocol state, market data, and position information.
- [ExchangeRouter](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/smart-contract/exchangerouter.md): The ExchangeRouter is the primary entry point for user interactions with the HertzFlow protocol.
- [API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api.md): HertzFlow provides REST APIs for accessing market data, prices, and historical trading information.
- [Market List API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/market-list-api.md): List all markets with leverage limits, open interest, and 24h stats.
- [Latest Price API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/latest-price-api.md): Current price and 24h high/low/open/volume for every market.
- [User Activity API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/user-activity-api.md): Cursor-paginated trade and position history for a wallet.
- [Kline (Candlestick) API](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/api/kline-candlestick-api.md): Retrieve historical candlestick/OHLC data for tokens.
- [HertzFlow SDK](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/hertzflow-sdk.md): SDK
- [Overview](https://hertzflow.gitbook.io/hertzflow-docs/tech-docs/hertzflow-sdk/overview.md): The HertzFlow SDK is a comprehensive TypeScript SDK designed for interacting with the HertzFlow protocol on BNB Smart Chain.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://hertzflow.gitbook.io/hertzflow-docs/tech-docs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
