x402
utility

Upper-bound CPMM price impact loss for size vs reserves. Call when pre-trade MEV/slippage stress without mempool access. Returns impact_fraction and loss_notional as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

post/api/v1/x402/mev-sandwich-upper

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/mev-sandwich-upper
  • Auth: none declared

Request body

reserve_innumber required

Pool reserve of input asset

reserve_outnumber required

Pool reserve of output asset

amount_innumber required

Trade size in input asset units

Response

Paid utility result. Downstream tool errors are returned as structured result payloads with HTTP 200 after payment succeeds.

schemastring
impact_fractionnumber
loss_notionalnumber

Changes

No recorded changes to this operation across all 1 revision of this API.