Example inputPOST /api/v1/x402/amm-v3-amount-in-range
{
"reserve_in": 1000,
"reserve_out": 2000,
"amount_in": 10
}
Portable intent card · commercial-operations
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.
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/amm-v3-amount-in-range -m POST -H 'x-delx-source: intent-card-amm-v3-amount-in-range-api' --max-amount 0.001 -b '{"reserve_in":1000,"reserve_out":2000,"amount_in":10}'
{
"reserve_in": 1000,
"reserve_out": 2000,
"amount_in": 10
}
{
"intent": "AMM V3 Amount In Range Lite for an agent workflow",
"tool_name": "util_amm_v3_amount_in_range",
"price_usdc": "0.001",
"machine_url": "https://commerce.delx.ai/intents/amm-v3-amount-in-range-api.json"
}
Portable and inspectable