The Swaps API enables trading of prediction market shares on EVM-compatible blockchains. It bridges centralized prediction markets (like Kalshi) with on-chain tokenization, allowing users to trade market positions as ERC-1155 tokens while maintaining liquidity through traditional exchanges.
The API handles the complete order lifecycle: from balance validation and order placement on Kalshi, to on-chain token minting and burning. Users interact with the API using wallet-based authentication, and orders are processed asynchronously through multiple stages until completion.