Accurate on-chain quotes
Path search runs through adapter query methods with gas-aware scoring (findBestPathWithGas) so quotes reflect what can actually execute.
// PRODUCT
Differentiate on quote fidelity, on-chain access, and controllable routing — not on how many products sit in a mega-menu.
Path search runs through adapter query methods with gas-aware scoring (findBestPathWithGas) so quotes reflect what can actually execute.
Anyone can call router view methods on-chain. Quoting is not gated by a centralized API quota when you integrate the contracts.
Quotes match on-chain executable routes, reducing slippage and failed fills caused by quote drift between price and settlement.
Liquidation engines and arbitrage bots query the router directly — no mandatory off-chain quote service sitting in the critical path.
Supply your own path and adapters to swapNoSplit when you need full control instead of trusting a black-box router.
Adapter architecture lets new chains and DEXs plug in without rewriting the router core — coverage that keeps pace with the market.
// INTEGRATE
Start with on-chain quote and swap for liquidation and arbitrage. REST and Skills are optional convenience layers.
Query the router directly for quotes — the same path model used at execution time.
Pass your own path and adapters to swapNoSplit when strategy requires it.
Liquidation and arbitrage integrations call view + swap without a mandatory API middleman.
// On-chain quote (view) — no API rate limit
FormattedOffer memory offer = router.findBestPathWithGas(
amountIn,
tokenIn,
tokenOut,
maxSteps, // < 4
gasPrice // gwei, for gas-aware scoring
);
// Execute with the returned path + adapters
router.swapNoSplit(
Trade({
amountIn: offer.amounts[0],
amountOut: offer.amounts[offer.amounts.length - 1],
path: offer.path,
adapters: offer.adapters
}),
recipient,
feeBps
);// METRICS
EVM chains via adapters
DEX & pool adapters
API rate-limit delay
Quote-to-fill alignment