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

# Combo Legs 🌱

> Legs of Polymarket V3 combo (parlay) markets, from onchain data only.

The `polygon.predictions_onchain.combo_legs` table breaks each Polymarket V3 combo (parlay) market into its legs. Each row represents one leg of one combo.

This table contains no Polymarket API data. The equivalent table with Polymarket API metadata is [`polygon.predictions.combo_legs`](/historical-data/supported-blockchains/evm/polygon/predictions/combo-legs).

### Table Details

| Property | Value |
| - | - |
| Table Name | `polygon.predictions_onchain.combo_legs` |
| Table Status | Beta 🌱 |
| Unique Key | `combo_condition_id`, `leg_ordinal` |

### Table Columns

| Column Name | Data Type | Description |
| - | - | - |
| combo\_condition\_id | VARCHAR(16777216) | Combo (parlay) condition id. Matches `trades_enriched.condition_id` on Combos (`v3`) rows. |
| leg\_ordinal | NUMBER(38,0) | 0-based position of the leg in the combo's ordered legs. |
| leg\_position\_id | VARCHAR(16777216) | Leg outcome PositionManager id. |
| leg\_module | VARCHAR(16777216) | `01` binary market, `02` negrisk. |
| leg\_outcome | VARCHAR(16777216) | `YES` or `NO`. |
| leg\_condition\_id | VARCHAR(16777216) | Underlying market condition id. |
| leg\_question\_id | VARCHAR(16777216) | Negrisk question id for the leg. |
| leg\_event\_name | VARCHAR(16777216) | Negrisk event name for the leg. |
| leg\_question | VARCHAR(16777216) | Leg market question text published onchain. |
| market\_token\_id | VARCHAR(16777216) | Outcome token id for the leg, matching a `markets.token_id`. |

***

### Sample Query

```sql theme={null}
select *
from polygon.predictions_onchain.combo_legs
limit 100
```
