Hydration โ Omnipool & USDC โ DOT Swap Flow
๐ Written: 18 November 2026, 15:05 UTC
- Data snapshot: block ~17,157,000 (18 November 2026, 14:55 UTC)
- Source: Hydration Data API (
/v1/pools,/v1/assets,/v1/trades,/v1/accounts/{addr}/trades)
Part 1 โ What is the Omnipool?
The Omnipool is Hydration's main trading pool. Instead of a separate pool for every pair of tokens (DOT/USDT, DOT/HDX, HDX/USDT, โฆ), all assets sit in one big pool and share its liquidity.
Traditional DEX vs Omnipool
Traditional (Uniswap v2 / XYK) Omnipool
DOT โโ USDT DOT โโ
DOT โโ HDX HDX โโค
HDX โโ USDT tBTC โโผโโ H2O (hub token)
tBTC โโ USDT HOLLAR โโค
... one pool per pair ... โโ
liquidity is split up liquidity is shared
How it works
Every asset is paired with one hub token, H2O. Each asset has its own small pool: a reserve of the asset (
reserve) plus a matching amount of H2O (hubReserve).Prices come from those two reserves: price in H2O =
hubReserve รท reserve.A swap from A to B is two steps inside one transaction:
- A goes into A's pool, and H2O comes out.
- That H2O goes into B's pool, and B comes out.
The user never holds H2O; it's only the internal link between assets.
Worked example (HDX, block ~17,157,000)
The Omnipool's HDX position has:
| Field | Raw | Human (12 decimals) |
|---|---|---|
reserve |
154458486126350712387 | 154,458,486 HDX |
hubReserve |
231856691899351672 | 231,857 H2O |
- HDX in H2O = 231,857 รท 154,458,486 = 0.001501 H2O
- HDX in USD = 0.001501 ร $3.94 (H2O) = $0.005914. This matches the HDX price the API reports.
Why it was designed this way
- Deeper liquidity. Any asset can trade against any other through the shared H2O side, so even a small token gets the depth of the whole pool. A separate pair would have its own small, thin pool.
- Single-sided liquidity. An LP can deposit only one asset (e.g. only DOT). A normal AMM pair needs both tokens in a 50/50 ratio.
- Capital efficiency. N assets need N pools, not one pool for every possible pair.
Safety features
- Weight caps: each asset can only be a set maximum share of the Omnipool.
- Dynamic fees: an asset fee (paid to LPs) and a protocol fee. Both rise when trading volume or volatility rises.
- Circuit breakers: limits on how much can be traded or withdrawn per block.
- Protocol-owned liquidity: the treasury itself is an LP, shown in the API as
protocolShares.
How the Omnipool fits with the other pool types
| Pool type | What it's for | TVL (18 Nov 2026, 14:55 UTC) |
|---|---|---|
| Omnipool | Volatile assets: HDX, tBTC, PAXG, AAVE, SPYโฆ | $8.05M |
| Stableswap | Assets that should trade near 1:1 (USDT/USDC/HOLLAR, vDOT/aDOT), using a low-slippage curve | $15.41M |
| XYK | Classic two-token pairs (xยทy=k) for small or long-tail tokens | $0.15M |
| Uniswap v3 | Concentrated-liquidity pools on Hydration's EVM | $0.23M |
Pools are linked. Some Stableswap pools have their share tokens listed inside the Omnipool; for example, GETH (420) stands for the 2-Pool-GETH Stableswap pool (4200), and GSOL (9001) for 2-Pool-GSOL (90001). A trade can therefore go Omnipool โ Stableswap in one route. This is also why GETH and GSOL value is counted twice in TVL figures.
Why H2O isn't counted in TVL: its reserves in the Omnipool are internal accounting that matches the other assets, not separate deposits. Adding them would roughly double the Omnipool's value.
Omnipool assets (block ~17,157,000)
HDX (0), TRAC (35), ENA (38), PAXG (39), HOLLAR (222), GETH (420), aDOT (1001), GSOL (9001), AAVE (1000624), tBTC (1000765), LINK (1000794), SKY (1000795), LDO (1000796), HYPE (1001355), SPY (1001356), ZEC (1001357), NEAR (1001358). 17 assets in total.
Part 2 โ What happens when you swap USDC โ DOT
The main point
The swap is one transaction that goes through 3 different pools, and DOT itself isn't in the Omnipool. Since the money-market integration, the Omnipool holds aDOT (DOT deposited in Hydration's Aave-based money market). The router converts aDOT to DOT as the very last step.
All steps happen together in one transaction: if any step fails, or the price slips past your limit, the whole swap is cancelled and you keep your USDC.
What was checked against chain data (18 Nov 2026): every recent DOT trade looked at ends with an aave step that turns aDOT (1001) into DOT (5), and the trades come out of the Omnipool in aDOT. No USDCโDOT trade was in that sample, so the USDC side of the route below is worked out from which pools hold USDC.
Flow
YOU: 1,000 USDC (sign 1 extrinsic: router.sell, with a minimum DOT you accept)
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ STABLESWAP โ 3-Pool-MRL (USDC ยท USDT ยท HOLLAR) โ
โ USDC โโโบ HOLLAR low-slippage stable curve โ
โ fee: ~0.02โ0.05% โ LPs of that pool โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ 1,000 HOLLAR
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โก OMNIPOOL โ
โ โ
โ HOLLAR pool hub aDOT pool โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโโโโ โ
โ โ HOLLAR in โโผโโโบ โ H2O โ โโโบ โผโ aDOT out โ โ
โ โ H2O out โ โ (never โ โ H2O in โ โ
โ โโโโโโโโโโโโโโโ โ yours) โ โโโโโโโโโโโโโโโ โ
โ โโโโโโโโโโโโ โ
โ protocol fee (H2O side) โ treasury / fee processor โ
โ asset fee (aDOT side, dynamic) โ Omnipool aDOT LPs โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ 1,380 aDOT
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โข MONEY MARKET (Aave) โ unwrap โ
โ aDOT โโโบ DOT always 1:1, no price impact, no fee โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
YOU: โ 1,380 DOT (check: received โฅ your minimum, else whole tx reverts)
At prices from 18 November 2026, 14:55 UTC (DOT = $0.7213), $1,000 buys about 1,386 DOT before fees and price impact.
Where the costs come from
| Step | Cost |
|---|---|
| โ Stableswap | Small fee (feePermill in pool data, e.g. 200 = 0.02%), very little slippage while the pool is balanced |
| โก Omnipool | Most of the cost. An asset fee plus a protocol fee, both of which rise with volatility, plus price impact that depends on the HOLLAR ( |
| โข Unwrap | Free, 1:1 |
| Transaction fee | Small network fee, payable in HDX or other assets |
Details
The route can differ. The router picks the best path by output. Depending on which USDC is held, the first hop differs:
USDC asset ID Stableswap pools that hold it 21 4-Pool (100), 3-Pool-MRL (105, with HOLLAR) 22 2-Pool (102, USDT/USDC) 1000766 3-Pool (103, aUSDT/USDC/USDT) If a direct pair is better, the router could also use an XYK pool, since DOT has about $44K in XYK pools.
Why aDOT and not DOT? DOT that sits in the Omnipool also earns money-market lending interest, so LPs earn trading fees plus lending yield.
In the API a swap like this shows up as one routed trade.
/v1/accounts/{addr}/tradeslistsvenues(e.g.["stableswap","omnipool","aave"]), the netinputs/outputs,valueUsd, and every fee with itsfeeRecipient.Fee recipient accounts seen in Omnipool trades:
13UVJyLnPLowAMzbZewu9zwEGiSMQKniJ2cp4vM4ru2nci9Nis the Omnipool account (modlomnipool).13UVJyLkaPAE2HDTAaSadmwptPVwzY621KiKZ1ZrKYaXga2wis the fee processor (modlfeeproc/).
Useful API endpoints for further analysis
| Question | Endpoint |
|---|---|
| Current state of every pool | GET /v1/pools |
| Omnipool reserves over time for one asset | GET /v1/pools/omnipool/{assetId}/history |
| Volume per venue / pool / asset | GET /v1/stats/volume, GET /v1/stats/volume/usd |
| Swaps touching one asset | GET /v1/assets/{id}/swaps, GET /v1/trades?asset={id} |
| One account's routed trades (with venues and fees) | GET /v1/accounts/{addr}/trades |
| All events of one swap | GET /v1/extrinsics/{hash}/events |
| Protocol revenue (incl. Omnipool fees) | GET /v1/stats/revenue?stream=omnipool_asset_fee / omnipool_protocol_fee |