okx-dex

Review·Scanned 2/18/2026

This skill integrates with OKX's DEX aggregator to fetch swap quotes and build swap/approve transaction payloads via the https://web3.okx.com API. It requires OKX_API_KEY, OKX_SECRET_KEY, and OKX_PASSPHRASE and includes shell/python curl examples that execute requests to https://web3.okx.com.

from clawhub.ai·v58c04aa·13.1 KB·0 installs
Scanned from 1.0.0 at 58c04aa · Transparency log ↗
$ vett add clawhub.ai/ricky321u/okx-dexReview findings below

OKX DEX Aggregator 🧭

OKX DEX aggregator skill for Clawdbot (v6 API).

Features

  • 🔄 Best-route Aggregation - Optimal swap routing across liquidity sources
  • ⛓️ Multi-chain - EVM + non‑EVM support
  • 🧾 Quotes + Tx Data - Quote, swap, and approve transaction payloads

Installation

clawdhub install okx-dex

Configuration

export OKX_API_KEY="your-api-key"
export OKX_SECRET_KEY="your-secret"
export OKX_PASSPHRASE="your-passphrase"

Usage Examples

"Get a quote to swap 1 ETH to USDC on Ethereum"
"Build a swap transaction for 0.5 ETH to USDC"
"Fetch token list for chainIndex 1"
"Get approve transaction for USDC spend"

Docs

https://web3.okx.com/build/dev-docs/wallet-api/dex-api-reference

License

MIT