# 1️⃣1️⃣ Prediction Markets (Polymarket)

Fuul supports a native integration with Polymarket, enabling projects to reward users for trading activity on specific prediction markets.

### How It Works

Unlike traditional trading integrations that track activity per pool or pair, Polymarket tracks trade volume per **market** (also called a "condition"). Each market represents a yes/no question (e.g., "Will X happen by Y date?"), and traders buy or sell outcome shares.

| Step                      | What happens                                                                                     |
| ------------------------- | ------------------------------------------------------------------------------------------------ |
| **1. Specify the market** | Configure the trigger with a specific Polymarket condition (market) ID                           |
| **2. Fetch trades**       | Fuul pulls all trades for that market from the previous day                                      |
| **3. Calculate volume**   | Each trade's volume is computed as `size x price` and attributed to the trader's proxy wallet    |
| **4. Distribute rewards** | Rewards are split proportionally based on each trader's share of the market's total daily volume |

### What's Captured Per Trade

| Field            | Description                                          |
| ---------------- | ---------------------------------------------------- |
| **Volume**       | Trade size multiplied by price (USD value)           |
| **Side**         | Buy or sell                                          |
| **Outcome**      | Which outcome the trade is for (e.g., "Yes" or "No") |
| **Proxy wallet** | The user's Polymarket proxy wallet address           |

### Use Cases

* **Market creation incentives** — reward early traders to bootstrap liquidity in new markets
* **Volume campaigns** — incentivize trading activity on specific markets relevant to your project
* **Community engagement** — combine with referral rewards to grow your prediction market community

{% hint style="info" %}
Each Polymarket trigger targets a single market (condition). To incentivize multiple markets, create separate triggers for each one.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fuul.xyz/core-concepts/trigger-integrations/prediction-markets-polymarket.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
