Swap Tokens (Uniswap V4)
Swap ERC20 tokens on Uniswap V4 at the best available price on a single chain. Auto-routes through a direct pool or a hub token (up to 2 hops), enforces an on-chain slippage floor, uses Permit2 for approvals, and supports native ETH. Returns the transaction hash, output amount, and executed route. Ideal for: same-chain token swaps on Uniswap V4, native-ETH swaps, buying and selling ERC20s.