{"slug":"kette-halowerk-com-v1-pool-range-single-step-swap-b5e15d","title":"Single-step swap cost returns gross input, fee and output required to reach the ","host":"kette.halowerk.com","method":"POST","resource":"https://kette.halowerk.com/v1/pool-range-single-step-swap","category":"market","description":"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.","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"fee_ppm":500,"liquidity":"1045974769787936709","sqrt":"1931360149565646249726964824798706","target":"1929428789416080603477237859973907"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"fee_ppm":{"maximum":999999,"minimum":0,"type":"integer"},"liquidity":{"pattern":"^[0-9]{1,49}$","type":"string"},"sqrt":{"pattern":"^[0-9]{1,49}$","type":"string"},"target":{"pattern":"^[0-9]{1,49}$","type":"string"}},"required":["sqrt","target","liquidity","fee_ppm"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"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.","last_updated":"2026-11-25T19:57:23.338Z","schemes":["exact"]}