Example inputPOST /api/v1/x402/mev-sandwich-upper
{
"reserve_in": 10000,
"reserve_out": 10000,
"amount_in": 100
}
Portable intent card · commercial-operations
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.
Intent to transaction
The source header follows this discovery route through challenge, payment and delivery without exposing the buyer or request body.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/mev-sandwich-upper -m POST -H 'x-delx-source: intent-card-mev-sandwich-upper-api' --max-amount 0.001 -b '{"reserve_in":10000,"reserve_out":10000,"amount_in":100}'
{
"reserve_in": 10000,
"reserve_out": 10000,
"amount_in": 100
}
{
"intent": "MEV Sandwich Loss Upper Bound for an agent workflow",
"tool_name": "util_mev_sandwich_upper",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/mev-sandwich-upper-api.json"
}
Portable and inspectable