x402
utility

Expected impact price from mid and signed slippage fraction. Call when simulating worse fills before sending size. Returns impacted price from mid 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/impact-price

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/impact-price
  • Auth: none declared

Request body

midinteger required

Input field: mid.

slippage_bpsinteger required

Input field: slippage bps.

sidestring required

Input field: side.

Response

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

schemastring
midnumber
sidestring
impact_pricenumber

Changes

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