x402
utility

Lite constant-product amount when price stays in a range. Call when estimating concentrated LP swaps without on-chain state. Returns amount_out approx and note 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/amm-v3-amount-in-range

Request

  • Base URL: https://api.delx.ai
  • URL: https://api.delx.ai/api/v1/x402/amm-v3-amount-in-range
  • 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
amount_outnumber
notestring

Changes

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