> ## Documentation Index
> Fetch the complete documentation index at: https://docs.velora.xyz/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Run Market and Delta in parallel

> Keep your Market integration wired, opt into Delta intents alongside it, and branch on the response shape.

## 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](/docs/integrate/trading-modes).

## Steps

1. Switch from `GET /prices` to `GET /v2/quote?mode=ALL`.
2. 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).
3. 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.
