When to use
- Large same-chain stablecoin orders that exceed available solver inventory
- Orders where no direct liquidity match exists and a multi-hop pathway is more efficient
- Same-chain swaps where solvers can offer superior routing logic even without providing liquidity
How it works
- The user publishes and funds a same-chain intent (destination equals source), with the Local Prover as the intent’s prover.
- A solver computes the optimal swap pathway. It needs no inventory of its own.
- The solver triggers
flashFulfill, a flash-loan-style operation that routes the vault’s own funds through the chosen pathway and delivers the outcome within a single atomic transaction.
Standard vs Flash
Both same-chain modes run through the Local Prover; the difference is whose capital fills the order.
You don’t choose the mode per order. The protocol selects the optimal one based on solver competition and available pathways, the same tiering described in Settlement vs Orchestration.
Properties
- Atomic. The swap either completes end-to-end or it doesn’t happen at all. No partial-fill risk.
- Trustless. The solver operates on the user’s funds only within the constraints encoded in the intent itself.
- No inventory cap. Fill size is bound by the user’s balance, not the solver’s reserves.
- Same API surface. Applications integrated with Routes inherit Flash Intents automatically: no contract upgrades, no API migration, no user-facing configuration.
