Two-Click Swap API

Phase 1 of the two-click APIs. Today, once partners integrate the SDK they must wire up individual functions for the full transaction flow — getting a quote, initiating a swap, and handling re-execution/relay when something goes wrong. The two-click API lets partners simply submit the transaction flow via an API once the SDK is integrated, rather than building it out themselves through the SDK. This makes partner integration significantly simpler.

This is the first phase, applied to swaps first. It will be followed by two-click APIs for the money market and bridging, progressively building toward a leaner, simpler single-API-call service for partner integrations.