| project | VARCHAR(16777216) | Project name (ex. polymarket). |
| protocol | VARCHAR(16777216) | Protocol name (ex. polymarket). |
| day | DATE | Date for the open interest snapshot. |
| address | VARCHAR(42) | Wallet address holding the position. |
| condition_id | VARCHAR(16777216) | Unique condition identifier for the market. |
| market_unique_id | VARCHAR(16777216) | Unique key for grouping related markets. |
| market_id | VARCHAR(16777216) | Neg-risk market identifier. |
| market_name | VARCHAR(16777216) | Title of the neg-risk event the condition belongs to. The condition’s question for conditions outside a neg-risk event and for neg-risk conditions with no event title published onchain, null when no question is published. For Polymarket Protocol V2 tokens not listed in the onchain markets table, the token’s own market name (the combo name for combo tokens). |
| market_description | VARCHAR(16777216) | Neg-risk event description published onchain. |
| question_id | VARCHAR(16777216) | Unique question identifier. |
| question | VARCHAR(16777216) | Market question text published onchain. |
| question_description | VARCHAR(16777216) | Market resolution description published onchain. |
| token_id | VARCHAR(16777216) | Token ID for the specific outcome token. |
| token_outcome | VARCHAR(16777216) | Outcome name for the token, such as Yes, No, Up or Down. |
| category | VARCHAR(16777216) | Category of the market, such as sports, politics, crypto or business, derived from onchain data only. The first rule that applies sets it: the market label of an oracle that resolves markets of one category; for an up/down market with a known asset, the asset’s category; the market text (question, event name and description) scored against a fixed phrase lexicon; the oracle category when it is not general; otherwise other. Null for a market first seen after the day’s labelling run, until the next run, and for a position or trade that does not map to a single market. |
| sub_category | VARCHAR(16777216) | Sub-category of the market within its category, such as soccer, bitcoin or us_politics, derived from onchain data only with the same order of rules: the oracle’s market label, the up/down asset, a league or asset named in the market’s template, phrases of the market text, then general. Null when no rule applies. |
| neg_risk | BOOLEAN | Whether this is a NegRisk market. |
| resolution_outcome | VARCHAR(16777216) | Market resolution outcome if resolved. |
| resolved_at | TIMESTAMP_NTZ(9) | Market resolution timestamp. |
| open_interest | FLOAT | Number of outcome tokens held (position size). |
| token_price | FLOAT | Token price for the day. |
| open_interest_usd | FLOAT | USD value of the open interest position. |
| is_price_known | BOOLEAN | Whether the token has an onchain price for the day. |
| is_winner | BOOLEAN | Whether this outcome won the market. |
| unique_id | VARCHAR(16777216) | Unique identifier combining day, address, and token_id (format ‘day-YYYY-MM-DD_address-_token_id-’). |