← Back to directory

Single-step swap cost returns gross input, fee and output required to reach the ...

https://kette.halowerk.com/v1/pool-range-single-step-swap

Overview

Single-step swap cost returns gross input, fee and output required to reach the target square-root price. Use it when an agent needs replaying a constant-liquidity segment.

Protocol x402 (POST)
Price $0.0050
Payment Asset USD Coin
Payment Network eip155:8453
Category crypto/defi
Provider HALOWERK kettenwerk
Source bazaar
Indexed 2026-11-25 21:04:30

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "fee_ppm": 500, "liquidity": "1045974769787936709", "sqrt": "1931360149565646249726964824798706", "target": "1929428789416080603477237859973907" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "data": { "amount_out": "25497928056274317769", "fee": "21486182", "gross_in": "42972363406", "input_token": 0 }, "limitations": "Raw token units and Q96 prices. Supplied-state calculation, excluding accrued fees and liquidity crossings unless specified.", "measured_at": "2026-11-25T19:23:12.969Z", "source": { "reference": "Uniswap V3 protocol math; caller-supplied state", "retrieved_at": "2026-11-25T19:23:12.969Z" } }, "type": "json" }