What breaks if you do nothing
Nothing. This migration is opt-in. Your existing Market integration keeps working as-is.
Why migrate
Delta intents are gasless and MEV-protected: users sign once, solvers compete to fill, and Delta settles the winning fill. And you don’t rewrite anything to get there. GET /v2/quote with mode=ALL returns either a Delta delta block or a Market market block (the same shape as /prices’s priceRoute). Velora picks the winner server-side; you branch on which block is present. See Trading modes.
Steps
- Switch from
GET /prices to GET /v2/quote?mode=ALL.
- Branch on the response: if
response.delta exists, take the gasless path; else fall back to response.market and the existing calldata flow (it’s the same shape your code already handles).
- For the Delta path, call
POST /v2/delta/orders/build, sign the EIP-712 typed data, then POST /v2/delta/orders.
End-state check
Run a quote with mode=ALL. Confirm the response carries either a market or delta block (the server-picked winner) and complete a swap end-to-end.Last modified on June 14, 2026