| project | VARCHAR(16777216) | Project name (ex. polymarket). |
| protocol | VARCHAR(16777216) | Protocol name (ex. polymarket). |
| day | DATE | Date of the position snapshot. |
| address | VARCHAR(42) | User wallet address holding the position. |
| token_address | VARCHAR(42) | Contract that issued the outcome token. |
| token_id | VARCHAR(16777216) | Token ID for the specific outcome token. |
| token_balance | FLOAT | Number of outcome tokens held at the end of the day. |
| 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_name | VARCHAR(16777216) | Combined outcome and question name, or outcome and combo name for V3 positions. |
| token_outcome | VARCHAR(16777216) | Outcome name for the token, such as Yes, No, Up or Down. |
| is_winner | BOOLEAN | Whether this outcome won the market. |
| 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. |
| oracle | VARCHAR(42) | Oracle contract address for market resolution. |
| resolution_outcome | VARCHAR(16777216) | Market resolution outcome if resolved. |
| resolved_at | TIMESTAMP_NTZ(9) | Market resolution timestamp. |
| unique_id | VARCHAR(16777216) | Unique identifier combining day, address, token_address, and token_id (format ‘day-YYYY-MM-DD_address-_token_address-_token_id-’). |