# Prediction Market Support

WheelX supports prediction market routing through the standard quote flow.

### Currently Supported Prediction Markets

| Prediction Market | `to_platform_id` |
| ----------------- | ---------------- |
| Opinion           | `1`              |
| Probable          | `2`              |
| Polymarket        | `3`              |
| Predict           | `4`              |

### 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

```json
{
  "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

```json
{
  "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
}
```

{% hint style="info" %}
Replace the placeholder address with your own destination wallet before executing a live trade.
{% endhint %}
