{"slug":"golf-evm-math-x402-evm-math-workers-dev-defi-v2-swap-bcd088","title":"Exact integer Uniswap-V2 style swap output, price impact and post-swap reserves","host":"golf-evm-math.x402-evm-math.workers.dev","method":"GET","resource":"https://golf-evm-math.x402-evm-math.workers.dev/defi/v2-swap","category":"market","description":"Exact integer Uniswap-V2 style swap output, price impact and post-swap reserves. Query: reserve_in, reserve_out, amount_in (integers, base units), fee_bps (default 30).","price_listed":0.002,"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":2,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"amount_in":"1000000","reserve_in":"1000000000","reserve_out":"500000000000000000000"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Exact integer Uniswap-V2 style swap output, price impact and post-swap reserves. Query: reserve_in, reserve_out, amount_in (integers, base units), fee_bps (default 30).","last_updated":"2026-10-22T16:20:44.385Z","schemes":["exact"]}