当前位置: 首页 > Skill >

OpenOcean token swap on 40+chains

OpenOcean token swap on 40+chains

1.0.1 2026.11.26 浏览:323
获取Skill文件查看使用说明
作者:顾舟许可证:
本文目录展开

OpenOcean Skills

Skills for interacting with the OpenOcean Aggregator API. Fetch swap quotes, build transaction calldata, and execute swaps across 40+ chains (EVM, Solana, Sui).

Entry Point and Sub-Skills

This skill package is the entry point. Detailed workflows live in the following files under skills/:

User intent Skill file When to use
Get quote / check price skills/quote/SKILL.md "get a swap quote", "check swap price", "how much would I get for"
Build transaction skills/swap-build/SKILL.md "build a swap", "prepare swap transaction", "get swap calldata"
Execute (with confirmation) skills/swap-execute/SKILL.md "execute swap", "broadcast swap", "send transaction"
Execute fast (no confirmation) skills/swap-execute-fast/SKILL.md "swap fast", "execute immediately" — use with extreme caution
Errors and troubleshooting skills/error-handling/SKILL.md API errors, token resolution failures, execution failures

Reference files (read before calling APIs):

  • references/token-registry.md — Token addresses and decimals per chain
  • references/api-reference.md — OpenOcean API specification

All paths above are relative to the workspace root (the directory that contains this SKILL.md).

Prerequisites

  • Quote / Build: Only need GET request capability (e.g. mcp_web_fetch).
  • Execute: Require Foundry (cast), RPC URL, and wallet (env, Ledger, Trezor, or keystore).

Quick Examples

/quote 1 ETH to USDC on ethereum
/swap-build 100 USDC to ETH on arbitrum from 0xYourAddress
/swap-execute

For full workflows, confirmation prompts, and error handling, follow the corresponding skills/*/SKILL.md file.

相关文章

更多
CentOS 7 增加 Swap 空间的操作指南

本文介绍在 CentOS 7 系统中通过创建 swap 文件来扩展虚拟内存的方法。内容涵盖 swap 的作用、大小选择策略、使用 fallocate 或 dd 命令创建文件、设置权限及启用 swap,以及如何配置 vm.swappiness 参数以优化系统性能。

2025.11.09 971
Linux Swap交换内存扩容方法详解

当物理内存不足时,Linux系统可利用硬盘空间作为Swap交换内存。本文介绍通过创建swapfile文件进行扩容的具体步骤,包括使用dd命令生成1G大小的交换文件、执行mkswap格式化以及swapon启用,并说明如何将配置写入/etc/fstab以实现开机自动挂载,确保重启后设置不丢失。

2026.10.04 659
Skill 文件

相关 Skill

更多
Swap and bridge across 35+ chains with LI.FI Swap and bridge across 35+ chains with LI.FI 基于LI.FI协议的跨链代币兑换与桥接服务,支持获取报价、执行转账、追踪进度,跨35+区块链组合DeFi操作。
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...