poly-swap
v1.0.0Polygon Mainnet (137) DEX swap calldata builder for AI agents with x402 USDC support.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
polygon_swap
Build executable DEX swap calldata on Polygon Mainnet (137).
| Parameter | Type | Description |
|---|---|---|
amount * | string | Amount in base integer units (e.g. 1000000 for 1 USDC) |
fromToken * | string | ERC-20 address or 0x0000000000000000000000000000000000000000 for POL |
taker * | string | Wallet 0x address executing the swap |
toToken * | string | Destination token 0x address |