evm_swap
Build a non-custodial swap across 7 EVM chains via KyberSwap aggregator. Returns unsigned calldata for you to sign with your wallet.
Instructions
Build a NON-CUSTODIAL EVM DEX swap via KyberSwap aggregator on eth/base/bsc/arbitrum/polygon/optimism/avax: returns UNSIGNED calldata {to,data,value} — sign with YOUR OWN wallet. Server never touches funds. 0.3% routing fee. ERC20 input needs prior approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | EVM chain | |
| amount | No | Human amount (native only) | |
| account | Yes | Your 0x wallet address | |
| tokenIn | Yes | 0x-address or native | |
| tokenOut | Yes | 0x-address or native | |
| amountRaw | No | Base units (any token) | |
| slippageBps | No | 10-2000, default 100 |