data.evm. See the Swap Quoting page for the full input parameters.
Native sentinel
tokenIn / tokenOut for the chain’s native token (ETH on Ethereum/L2s, BNB on BNB Chain, MATIC on Polygon, AVAX on Avalanche, …). The router wraps/unwraps automatically.
Supported chains
Full list of integer chain IDs: see
MOBULA_CHAIN_MAP in the chains package.
Request
Response — data.evm
data.evm.transaction fields
Signing
/swap/send call needed for EVM (the call goes straight from the user’s wallet to their RPC).
Routing
All EVM swaps go through MobulaRouter, deployed identically on each supported chain. Under the hood it dispatches to the best aggregator (KyberSwap, NAOS, Li.Fi) — pick one explicitly viaonlyRouters or let the API choose. DEX filtering (Uniswap V2/V3/V4, Curve, Balancer, PancakeSwap, Aerodrome, Velodrome, Sushi, …) via onlyProtocols / excludedProtocols.
Limits
- Approvals required for any non-native sell token. Always check
approvals[]and execute first. - Gas estimation —
gasLimitis a router-level upper bound. Wallets typically simulate to tighten. - Address case — both lowercased and EIP-55 checksummed accepted on input.