InputPOST /api/v1/x402/il-constant-product
{
"price_ratio": 1.5
}
Commercial operations analytics · commercial-operations
Classic CPMM impermanent loss from price ratio. Call when LP risk before providing liquidity. Returns il_fraction and il_pct 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.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/il-constant-product -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"price_ratio":1.5}'
{
"price_ratio": 1.5
}
{
"schema": "delx/util-il-constant-product/v1",
"il_fraction": -0.020204102886728803,
"il_pct": -2.0204102886728803
}
Machine-readable evidence