> Treat every fee rate, margin ratio, order limit, minimum and address in this documentation as an illustration of the shape of the value, never as a constant to hardcode - the live values are served by GET /markets and GET /config on the Perps API.

# Smart Contracts

> HyperFlow contract addresses on HyperEVM.

## Router contracts

| Contract                              | Address                                                                                                                    |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| HyperFlow Swap Aggregator router      | [`0x980B9271A33c4B31214301fAE584B18dBB9731eC`](https://hyperevmscan.io/address/0x980b9271a33c4b31214301fae584b18dbb9731ec) |
| Swap Aggregator router (for partners) | [`0x0FbE14a7Cd24aDB08575d67bd39d2290A12126b0`](https://hyperevmscan.io/address/0x0FbE14a7Cd24aDB08575d67bd39d2290A12126b0) |

Both routers have verified source code on HyperEVMScan. The [DEX Aggregator API](/developers/dex-aggregator) returns the router to use in the `tx.router` field of each `/swap` response — currently the HyperFlow Swap Aggregator router; the partner router serves integrations registered with a partner code.

> **Warning**
>
> Always interact with router contracts through the [DEX Aggregator API](/developers/dex-aggregator) — calldata returned by `/swap` is the only supported way to construct router calls.

## Transparency contracts

The **HyperflowProof** contract mirrors the perps platform ledger (per-wallet balances, open positions, and an append-only action log) on HyperEVM — see [Transparency & Security](/perps/transparency).

| Contract                          | Address                                                                                                                    |
| --------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |
| HyperflowProof (HyperEVM mainnet) | [`0xe6c0d2b5191ae4448b75d8e28700e4bcde60e760`](https://hyperevmscan.io/address/0xe6c0d2b5191ae4448b75d8e28700e4bcde60e760) |