Skip to main content
Skip to content
Crypto Trading

DEX Positive Slippage in 2027: Who Keeps the Tokens When Execution Beats the Quote?

A DEX swap that executes above its quoted output can generate positive slippage. DN’s surplus ledger models the division between user, integrator and platform under documented rules.

Green and gold premium abstract shapes representing positive DEX swap surplus
Reading options: audio, text size & sections

Decentralised News · 2027 edition · Official protocol docs checked 23 November 2026

What Matters

Favorable DEX execution can create surplus above the quote. How much reaches the user depends on the actual protocol, routing contract, pricing plan, surplus recipient and any separate integrator fees.

The Signal

0x explicitly permits surplus collection by selected custom-plan integrators; CoW Protocol’s solver auction and fees use a different mechanism.

DN Alpha Thesis

Evaluate final user token units and documented allocation rights, not marketing claims about positive slippage. Quote improvement and actual wallet receipt are separate facts.

DN Positive Slippage Allocation Calculator

Expected 1,000, realized 1,020: 20 units surplus. A hypothetical 75% capture and a separate 2-unit fee leave 1,003 units to the user.

No token, transaction, quote or integrator agreement is queried. The 75% share is entirely hypothetical.

A better execution price can create a separate entitlement question

A DEX app quotes 1,000 units of a buy token for a swap. When the trade settles, routing or solver execution actually produces 1,020 units before any designated fee or surplus allocation. The extra 20 units are positive execution surplus relative to the baseline. But who is entitled to receive those tokens: the trader, the integrator that provided the interface, the routing protocol, or a solver?

The answer depends on the exact order terms, API pricing plan, declared surplus recipient and settlement mechanism. An attractive displayed quote is not a universal promise that all favorable price improvement belongs to the user. Nor does a protocol’s ability to distribute surplus imply the user will always receive an extra amount on every trade.

0x documents distinct affiliate fees and trade surplus

0x’s Swap API monetization guide distinguishes an ordinary affiliate or integrator trading fee from the trade surplus created when the executed buy amount exceeds the quoted amount. It says affiliate fees are supported under ordinary plans, but collection of trade surplus by an integrator is restricted to selected custom pricing plans.

These are different monetary flows. An affiliate fee can be quoted in the sell token or buy token under supported configurations and deducted as a defined charge. A trade-surplus recipient can instead receive all or part of realized favorable improvement according to API settings and the relevant plan. The user must know both fields before reconstructing their final balance.

A named surplus recipient is economically significant

0x documents a tradeSurplusRecipient parameter for eligible custom-plan integrators. Its current guide says that when it is set under that mechanism, the corresponding surplus can be sent to the specified wallet and denominated in the buy token. It separately describes defaults and plan-dependent cases; one cannot infer that an omitted field always means the taker receives every extra unit on every pricing tier.

For a reliable audit, record the actual request parameters and returned firm quote, then match any recipient address and token transfer amounts in the settlement transaction. A wallet or app should clearly disclose the economic effect of charging fees and capturing positive slippage, instead of reporting only the minimum user amount.

CoW Protocol uses a different solver model

CoW Protocol’s solver-auction documentation models user surplus and protocol fees as separate elements of settlement scoring. Solvers compete to supply feasible matches, and the protocol’s fee rules can take a portion of the price improvement or charge other supported fee types, according to the order and current policy.

That architecture differs from simply inserting a 0x integrator surplus recipient into an EVM swap API request. The name “DEX aggregator” does not define one universal surplus-sharing arrangement. An article comparing them should use the respective protocol rule, not assume every solver or every front-end receives a fixed slice.

A 20-unit positive-surplus example

Suppose a hypothetical user-expected quote is 1,000 units, the trade’s gross realized output is 1,020, and an eligible integrator is assigned 75% of the 20-unit positive difference. Under that declared scenario, 15 units go to the integrator and 5 units remain as extra user output. If a separately disclosed 2-unit fee is deducted from the user’s buy token, the final user amount becomes 1,003 units.

This is a mathematical teaching case, not a statement that 0x or CoW uses a 75% split. A 100% integrator surplus allocation under an eligible API configuration would leave the baseline amount, subject to separate fees and the contract’s actual terms. If the quote was already expressed net of integrator fees, subtracting it again would double-count.

Minimum received and expected output are distinct thresholds

Many swap interfaces display both an expected quote and a minimum accepted output based on slippage tolerance. The minimum protects against execution worse than a stated bound, while the expected quote is a reference for whether the execution was favorable. Positive surplus is generally measured against the defined baseline in the service’s actual fee calculation, not automatically against the user’s minimum.

For example, if expected output is 1,000 and minimum is 990, a realized 1,020 has 20 units of improvement over the expected quote but 30 units over the minimum. An allocation based on 30 would materially differ from one based on 20. The applicable API/contract must define which baseline governs; our tool explicitly uses the entered expected quote as a hypothetical baseline.

Integrator commission must not be counted twice

A swap may have a separately disclosed integrator fee, a 0x or protocol fee, liquidity-provider trading fees and a surplus-recipient allocation. Some of those charges may already be embedded in the firm quote or deducted before a returned output field is reported. The correct record needs to determine whether each amount is gross or net at the stage where it is observed.

If a settlement API reports an integrator fee as a native buy-token transfer, adding an identical fee again to the wallet balance is a bookkeeping mistake. The DN ledger starts with an explicitly gross realized output, deducts a user-declared surplus allocation and a separately defined integrator fee exactly once. This choice is a scenario convention; a live service may use a different field order.

A good quote can still produce no positive slippage

The executed amount can equal the quote or be worse than it. A trade with no favorable improvement should not magically generate surplus income for an integrator. A trade executing below expected but above the user’s minimum is a different outcome and the surplus calculation should report zero or a negative quote difference, subject to the actual protocol’s fee and settlement rules.

For a real comparison, distinguish intended sell amount, original quote, estimated exchange rate, minimum output and final realized token balance. An alleged 10-unit price improvement is not a cash receipt until the relevant token transfers and fee recipient entries have been reconciled onchain.

Why a headline ‘best execution’ claim is insufficient

An aggregator could route through a solver or pool offering favorable execution and still retain more of the surplus than a different integration under another pricing plan. Conversely, an app with no surplus capture may charge a higher fixed fee. The customer needs the final native-token units received for the same input and close-in-time market conditions, not only the marketed slippage percentage.

Latency, quote expiry, routing failures and minimum-output limits further complicate this benchmark. DN’s earlier quote-decay analysis measures time-related deterioration; this article isolates the ownership and accounting of favorable improvements when a trade actually executes better than its declared baseline.

The audit record for one swap

  1. Record the exact integrator, API version, route, input and quote timestamp.
  2. Save the expected buy-token amount and minimum output separately.
  3. Identify the actual surplus calculation baseline and current applicable pricing plan.
  4. Read any declared surplus recipient and separate integrator-fee parameters.
  5. Capture the actual output transfers to user, integrator and other fee recipients.
  6. Reconcile gas, liquidity-provider charges and protocol fees without double-counting.
  7. Label unverified sharing rules and unknown fee fields rather than attributing every token to the user.

A reusable decision record is a transparent conservation of buy-token units from gross execution through every documented fee and recipient—not an untestable claim that the router delivers the best price every time.

Primary sources and commercial disclosure

0x Swap API monetization, 0x pricing/fee explanation, CoW auction solver mechanics.

Disclosure: DN may earn on unrelated affiliate links, but no positive-slippage arrangement is recommended or sold. The tool does not prove actual price improvement.

Methodology and limits

0x and CoW documentation checked 23 November 2026. The calculator assumes an explicitly gross realized buy-token amount and a separate fee applied once. In actual APIs, gross/net fields and fee timing differ. No funded trading or live price capture was performed. The 2027 title is a research edition, not a claim of future protocol policy. Corrections: press@decentralised.news.

FAQ

What is positive slippage in a swap?

It is favorable execution relative to a defined quote or benchmark, which may create token surplus.

Can a 0x integrator receive swap surplus?

Yes, 0x documents surplus monetization for selected custom-plan integrators, with recipient parameters and buy-token payouts.

Does every swap user receive all positive surplus?

No universal rule applies. It depends on the specific protocol, API plan, integrator and contract terms.

Is the minimum accepted output the same as the surplus baseline?

Not necessarily. Expected quote and minimum acceptable output are different values.

Does DN’s calculator fetch actual swap results?

No. It models hypothetical gross output, expected quote, allocation percentage and separately declared fees.

Related DN research

Our Products

Tokenized Trillions bookBlockchain Applied book

Bestseller

Best Seller Books

Follow us

Get the most talked about stories directly in your inbox

Join the Decentralised News briefing for independent crypto, DeFi and AI analysis. No spam, unsubscribe anytime.