Skip to main content
Swap converts between stablecoins on-chain. The rate-then-accept flow and status enum are unchanged between versions. The main change: v3 dropped swap cancellation entirely, along with the fields that supported it. See the platform-wide changes for ID format, pagination, error shape, and idempotency.
Transfer Approval never applied to Swap in either version — there’s no requireApproval/requiresApproval field here on either side.

Endpoints

Request changes: create a swap

v2:
v3:

Response changes

v2 (nested envelope, includes cancellation state):
v3 (flat, no cancellation fields):

Status and lifecycle

Shared status enum on both sides. Note CANCELLED still exists in the enum even though there’s no public way to reach it via the v3 API anymore.