> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flux.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> Overview of the Swaps API

The Swaps API enables tokenized representations of prediction market contracts on EVM-compatible blockchains. It bridges centralized prediction markets 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 prediction markets, 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.
