RathRath Finance

Why xPath?

Understand why teams use xPath to unify routing, execution, and gasless flows behind one API.

Why xPath

xPath exists to remove the integration burden of fragmented onchain execution.

Instead of wiring together bridge providers, DEX routers, token catalogs, execution builders, and gasless flows separately, you integrate one API that handles route discovery and execution preparation in a consistent way.

TL;DR

  • One API for same-chain swaps, cross-chain routing, and gasless execution
  • Less provider-specific logic in your app
  • Faster time to ship for wallets, trading apps, and DeFi products
  • Unified token discovery, chain discovery, quoting, and transaction building
  • Cleaner operational model for status tracking and route execution

The Problem xPath Solves

Building onchain routing products usually means dealing with:

  • different bridge providers with different behaviors and coverage
  • different DEXs and aggregators per chain
  • token metadata and token search spread across ecosystems
  • separate systems for quoting, route selection, and transaction building
  • additional complexity for Permit2 and gasless execution flows
  • inconsistent monitoring and support workflows after submission

That fragmentation slows down product development and increases maintenance cost.

What xPath Changes

xPath gives you one routing and orchestration layer for:

  • quote generation across supported chains and providers
  • token and chain discovery
  • transaction-ready calldata generation
  • gasless Permit2-based swap flows
  • status tracking for route and bridge execution

Your product can stay focused on user experience, policy, and business logic instead of provider-level plumbing.

Who It Is For

xPath is useful for teams building:

  • wallets and embedded wallet products
  • trading apps and exchanges
  • DeFi frontends and aggregators
  • cross-chain asset movement flows
  • gasless swap experiences
  • agentic workflows that need executable route data

Without xPath vs. With xPath

Without xPathWith xPath
RoutingBuild provider logic yourselfUse one routing surface
ExecutionAssemble calldata per flowBuild transaction-ready payloads
Token discoveryMaintain token search separatelyUse shared discovery endpoints
Gasless supportAdd a separate relayer pathUse dedicated gasless endpoints
MonitoringTrack state across systemsUse shared status endpoints
MaintenanceHigher operational overheadLower integration complexity

Next Steps

On this page