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 ✅ ✅ Yes Any NEP-141, native NEAR
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 the DEXs that run on it, Plach included. Supports native NEAR directly, without wrapping. Quotes through Plach come with this ID when dexes leaves it out or includes IntearDex.

Intear Plach, the AMM on Intear DEX. dexes=Plach gives quotes through Plach’s pools only, with the ID Plach. IntearDex already includes Plach quotes + gives additional fallbacks, so it’s better to use IntearDex. See the Plach docs to use it directly.

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.