Skip to content

DEXs

Use these IDs in the dexes parameter. They’re case-sensitive. Leaving out dexes uses all of them. The IDs of removed DEXs, Aidols, MetaPool, Linear, XRhea and RNear, are still accepted so old requests don’t fail, but they never return a quote.

ID Exact in Exact out Slippage Tokens
Rhea ✅ ❌ Yes Any NEP-141
RheaDcl ✅ ✅ Yes Any NEP-141
IntearDex ✅ ✅, through one DEX Yes Any NEP-141, native NEAR
Plach ✅ ✅ Yes Any NEP-141, native NEAR
Qoq ✅ ✅ Yes The assets of Qoq’s pools
Wrap ✅ ✅ No Same token, different location

Rhea Finance classic AMM (v2.ref-finance.near): simple, stable, rated and degen pools. Exact output is not supported.

Rhea’s concentrated liquidity pools (dclv2.ref-labs.near).

The first swap needs a 0.5 NEAR storage deposit on the DCL contract, and you’ll have a lot of fun with angry users asking you about it.

Intear DEX (dex.intear.near), through all the DEXs that run on it, Plach and Qoq, with routes that go through more than one of them, like Plach and then Qoq. Those are exact input only. Supports native NEAR directly, without wrapping. It gives one quote, the best of its routes.

Plach, the constant-product AMM on Intear DEX. dexes=Plach gives quotes through Plach’s pools only, with the ID Plach. IntearDex already has these routes, and those through more DEXs, so it’s better to use IntearDex.

Qoq, the StableSwap AMM on Intear DEX, whose pools trade close to a fixed price or one from an oracle. dexes=Qoq gives quotes through Qoq’s pools only, with the ID Qoq. As with Plach, IntearDex already has these routes.

A route through a pool that an oracle prices starts with an oracle request, whose fee the route pays out of the input. The swap then runs once the oracle responded, in a later receipt of the same transaction.

Converts a token between locations 1:1, without fees or slippage: NEAR-wNEAR, wallet-Rhea inner balance, wallet-Intear DEX inner balance. Use dexes=Wrap for the second step when token_output differs from what you wanted if you’re not using Outcomes.