swap_evm_quote
PAID ($0.01/call). Executable EVM swap: a firm KyberSwap-routed quote plus a ready-to-sign transaction for the taker's OWN wallet — non-custodial, no key, no account. A 1% platform fee in the chain's native coin is priced into the returned transaction, on top of the swap. Call once WITHOUT x402_payment to receive the x402 payment requirements (an accepts array); pay one of them with any x402 client/wallet, then call again with x402_payment set to the base64 X-PAYMENT payload. You are only charged when a result actually comes back.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | optional referrer 0x… address (splits the platform fee) | |
| taker | Yes | the wallet (0x…) that will sign and broadcast the returned transaction | |
| chainId | Yes | EVM chain id (e.g. 8453 = Base, 1 = Ethereum, 137 = Polygon, 42161 = Arbitrum, 43114 = Avalanche) | |
| buyToken | Yes | 'native' or the 0x… address of the token being bought | |
| sellToken | Yes | 'native' or the 0x… address of the token being sold | |
| sellAmount | Yes | integer amount in the sell token's base units | |
| x402_payment | No | base64 X-PAYMENT payload (omit on the first call to get payment requirements) |