SKILL8.9K installs344

Okx Dex Swap

Use this skill to swap, trade, buy, sell, exchange, or convert tokens, get a swap quote, execute a trade, find the best or cheapest swap route, compare swap rates, get swap calldata, or build an unsigned swap tx across XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, or 20+ chains. OKX-aggregated routing over 500+ DEX sources with slippage control, price-impact protection, and cross-DEX route optimization. For OKX-aggregated swaps with no named venue. If the prompt names a specific DApp as the swap venue (Polymarket, Aave, Hyperliquid, PancakeSwap, Morpho, Raydium, Curve, Compound, Pendle, Lido, ether.fi, GMX, Kamino, Orca, Meteora, Clanker, pump.fun, Uniswap), route to okx-dapp-discovery instead, e.g. 'swap on PancakeSwap', 'swap SOL for USDC on Raydium', '在 Curve 上换 USDT', 'swap on Uniswap'.

Type
Skill
Author
okx
GitHub stars
344
Installs
8.9K
Last updated
October 30, 2026

Install

npx skills add https://github.com/okx/onchainos-skills --skill okx-dex-swap

About this skill

Swaps, buys, sells, or converts tokens and gets swap quotes across XLayer, Solana, Ethereum, Base, BSC, Arbitrum, Polygon, and 20+ chains. It uses OKX-aggregated routing over 500+ DEX sources with slippage control, price-impact protection, and cross-DEX route optimization, and can return calldata or build an unsigned transaction. If the prompt names a specific venue like Uniswap, PancakeSwap, or Raydium, route to okx-dapp-discovery instead.

Summary written with AI assistance from the project's public description.


Categories


More from okx


Similar Skills