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

# Overview

> Polymarket prediction market data on Polygon, built only from onchain data.

> [!NOTE]
>
> This schema is currently in Beta.

The Polygon Predictions Onchain schema contains Polymarket data built only from Polygon onchain data. It contains no data from Polymarket's APIs.

Tables share names with the [Polygon Predictions](/historical-data/supported-blockchains/evm/polygon/predictions) schema, so most queries move between the two by changing the schema name.

## Available Tables

| Schema | Description | Tables |
| - | - | - |
| Predictions Onchain | Polymarket markets, resolutions, trades, positions, prices and open interest from onchain data. | [combo\_legs](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/combo-legs), [markets](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/markets), [open\_interest\_daily](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/open-interest-daily), [resolutions](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/resolutions), [token\_prices\_daily](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/token-prices-daily), [trades](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/trades), [trades\_enriched](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/trades-enriched), [user\_actions](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/user-actions), [user\_positions\_daily](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/user-positions-daily), [wallets](/historical-data/supported-blockchains/evm/polygon/predictions_onchain/wallets) |

## Compared with Polygon Predictions

| Data | Polygon Predictions Onchain |
| - | - |
| Trades, fees, wallets and user actions | Same as Polygon Predictions. |
| Positions | Same as Polygon Predictions. |
| Resolutions | From the onchain resolution. |
| Market questions and descriptions | As published onchain. |
| Outcome names | As published onchain. |
| Daily prices | From onchain trades. |
| Open interest | Valued with onchain prices only. |
| Categories, tags and market status | Not available. |
| Order books, hourly prices, hourly open interest, builder codes and the proxy owner registry | Not available. |
