Swaps
Get SwapVM swap calldata
Returns the {to, data} pair the trader sends on chain to execute the swap. Same input as /quote — call /quote first to confirm amountOut and slippage, then /prepare to get the calldata.
curl -X POST "https://example.com/api/v1/swaps/prepare"Empty
Empty
List recent protocol-wide swaps
Marketplace activity feed. Cached briefly (cache.ttl.short).
Get SwapVM swap quote
Simulates the swap against the SwapVM router to return amountOut, executed amountIn, and revert reason. Used by traders to preview a swap before submitting. Read-only — no on-chain state changes.