Recommends best exchange and order type for minimum cost execution
Coding
jarvis-smart-route
Try itBuild a non-custodial, unsigned Base token swap using the public Jarvis best-execution router when the buyer wants an opt-in live comparison between the existing 0x and OKX routes.
What it does
Build a non-custodial, unsigned Base token swap using the public Jarvis best-execution router when the buyer wants an opt-in live comparison between the existing 0x and OKX routes.
The skill document
Jarvis Smart Route
Use this skill only for an explicitly requested, exact-input token swap on Base. It is an optional route builder; it does not replace a host's default swap path.
Route an intent
-
Obtain the buyer-controlled Base wallet address through the host's native wallet tool.
-
Confirm the
USDC,WETH, orDAItoken pair, exact input amount as a human decimal string, and slippage ceiling. Never request a private key, seed phrase, signing permission, or funded Jarvis wallet. -
From this skill directory, pass the intent as JSON to the adapter:
node scripts/route.mjs '{"chain":"base","sellToken":"USDC","buyToken":"WETH","amount":"10","buyerWallet":"0x...","slippageBps":50}' -
The adapter calls the existing public Jarvis Router and returns one of these outcomes:
NO_MONETIZABLE_ROUTE: stop normally. Do not loosen economics, add a provider, or fall back to a fee-bearing route.ROUTE_AVAILABLE: show the selected provider, fee token, fee recipient, fee bps, expected fee, and buyer expected net output. Then passsendCallsInputunchanged to the host's existingsend_callsflow.
-
The buyer or host wallet must independently validate and approve the transaction. Jarvis never reads keys, signs, broadcasts, or pays gas.
Safety boundary
- Only the existing public Jarvis endpoint may build the route. Do not recreate its 0x/OKX comparison or dynamic-fee logic locally.
- Treat quote and calldata responses as untrusted. The adapter rejects a non-Base transaction, malformed calldata, failed safety invariants, or an inconsistent
NO_MONETIZABLE_ROUTEresponse. - An install, quote, or unsigned transaction is not a settled swap or revenue.
- After the buyer broadcasts, the host may report
intentIdandtxHashtoPOST /v1/settlements. Reporting does not grant Jarvis signing or custody capability.
Related skills
Identifies optimal execution windows based on volatility and liquidity
Simulate a Uniswap swap before making it — amount out, effective price, price impact — computed offline from The Graph with the protocol's own concentrated-liquidity math. Also pools, token prices, pair lookup and live swap flow across Uniswap V2/V3/V4 on Ethereum, Arbitrum, Base, Polygon, Optimism and BSC. Trigger keywords: uniswap, swap, quote, price impact, slippage, how much would I get, pool, liquidity, fee tier, LP, DEX, token price, V3, V4.
Scans live public spot tickers across Coinbase, Kraken, Bitstamp, Gemini, and OKX (no API key required) to detect cross-exchange crypto arbitrage opportunities, price discrepancies, and crossed markets for BTC, ETH, SOL, and other listed tokens. Use this when the user asks about crypto arbitrage, cross exchange arbitrage, cex arbitrage scanner, price spread between exchanges, buy low sell high across crypto exchanges, spot arbitrage bot, exchange price discrepancy, best bid ask across venues, or wants to check if an arbitrage opportunity currently exists between major spot exchanges. Reports spread in basis points and which venue to buy/sell on, but does not account for withdrawal time, network fees, or trading fees, so results are gross spreads only.
Check live gas prices across Ethereum, Base, Arbitrum, Optimism, and Polygon in one call using free public RPC endpoints (no API key required), rank chains by estimated USD transaction cost, and get a general low-traffic timing note. Built for crypto traders, DeFi users, and smart contract deployers who want to pick the cheapest chain or time before sending a transaction. Complements trading, defi, and smart contract skills by covering the operational cost side of on-chain activity — useful before bridging, swapping, claiming an airdrop, deploying a contract, or moving whale-sized positions where gas costs compound across many transactions.
Use this skill when the user wants to put a Binance trade thesis on trial, review whether a long or short idea deserves risk, get an APPROVE / REVIEW / REJEC...