--- name: jupiter-quote description: Get a live Jupiter swap quote on Solana - output amount, minimum received after slippage, price impact and the route through each DEX. Accepts SOL, USDC, USDT or any mint address and human amounts like 2.5. Use when the user asks how much they would get for a swap, or to compare a price before trading. Quote only - it never builds, signs or sends a transaction. --- # Jupiter swap quote Read-only, free, no API key, no wallet. It asks Jupiter what a swap would return right now. ## Run ```bash node scripts/quote.mjs [--slippage-bps 50] node scripts/quote.mjs SOL USDC 2.5 node scripts/quote.mjs USDC JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN 100 --slippage-bps 100 ``` `` and `` are `SOL`, `USDC`, `USDT` or a mint address. `` is in whole tokens (2.5 SOL, not lamports). Slippage is in basis points: 50 = 0.5%, max 1000. ## Output JSON on stdout: `{ input: { mint, symbol, amount }, output: { mint, symbol, amount, minimum }, slippageBps, priceImpactPct, price, route: [ { dex, percent } ], contextSlot }`. ## Notes for the agent - A quote is a snapshot: it changes every few seconds. Show the time with it. - Mention the price impact when it is above 1%. - This skill cannot execute the swap. If the user wants to trade, tell them to use a wallet or app they trust.