okx-dex-swap
OfficialOptimal multi-chain token swaps
Authorokx
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill removes the complexity of finding the best swap route and building executable transaction data across many blockchains by aggregating liquidity, estimating costs, and preparing approval and swap calldata so users can safely execute trades.
Core Features & Use Cases
- DEX aggregation: Combines liquidity from 500+ sources to find optimal routes and split execution across multiple DEXes for better prices.
- End-to-end swap flow: Provides quote, ERC-20 approval calldata, and swap transaction data (including gas estimates, price impact, and route breakdown) for EVM and non-EVM chains.
- Safety & validation: Checks for honeypot flags, tax rates, high price impact, and insufficient balance scenarios; recommends slippage and split-trade strategies.
- Use Case: A user who wants to swap 100 USDC for OKB on XLayer can get a detailed quote, obtain approval calldata if needed, and receive the signed-ready swap transaction payload to broadcast via the gateway.
Quick Start
Request a quote to sell 100 USDC for OKB on XLayer, review price impact and route, then approve and execute the swap with 1% slippage.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: okx-dex-swap Download link: https://github.com/okx/onchainos-skills/archive/main.zip#okx-dex-swap Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.