quote
Installation
SKILL.md
KyberSwap Quote Skill
Fetch swap quotes from the KyberSwap Aggregator. Given a token pair and amount, retrieve the best route and present a clear summary including expected output, exchange rate, and gas cost.
Input Parsing
The user will provide input like:
1 ETH to USDC on ethereum100 USDC to WBTC on arbitrum0.5 WBTC to DAI on polygon1000 USDT to ETH(default chain: ethereum)
Extract these fields:
- amount — the human-readable amount to swap
- tokenIn — the input token symbol
- tokenOut — the output token symbol
- chain — the chain slug (default:
ethereum)