> For the complete documentation index, see [llms.txt](https://docs.wheelx.fi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wheelx.fi/api-and-developer/integration-notes/prediction-market-support.md).

# Prediction Market Support

WheelX supports prediction market routing through the standard quote flow.

### Currently Supported Prediction Markets

### What to Know

* Use the standard quote flow
* Set `to_platform_id` to the target prediction market
* Set `to_address` to the wallet that will receive the routed funds

### Quote Example

#### Opinion

```
{
  "from_chain": 8453,
  "to_chain": 56,
  "from_token": "0x0000000000000000000000000000000000000000",
  "to_token": "0x55d398326f99059fF775485246999027B3197955",
  "from_address": "0x1111111111111111111111111111111111111111",
  "to_address": "0x1111111111111111111111111111111111111111",
  "amount": "1000000000000000000",
  "slippage": 200,
  "affiliation": null,
  "to_platform_id": 1,
  "quote_only": true
}
```

#### Polymarket

```
{
  "from_chain": 8453,
  "to_chain": 137,
  "from_token": "0x0000000000000000000000000000000000000000",
  "to_token": "0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174",
  "from_address": "0x1111111111111111111111111111111111111111",
  "to_address": "0x1111111111111111111111111111111111111111",
  "amount": "1000000000000000000",
  "slippage": 200,
  "affiliation": null,
  "to_platform_id": 3,
  "quote_only": true
}
```

> Replace the placeholder address with your own destination wallet before executing a live trade.
