Overview
Onchain order fills from Polymarket’s smart contracts. This data history goes back until 2022. This is generated from theOrderFilled event, since OrdersMatched loses information about all the parties the orders are matched with. Data is scraped from the CTFExchange contract as well as the NegRiskCTFExchange contract.
Columns
Column | Type | Description |
|---|---|---|
block_number | integer | Polygon block number |
block_timestamp | integer | Block timestamp in milliseconds |
side | string | Trade side: BUY or SELL |
size | decimal | Number of contracts filled |
price | decimal | Price |
maker | string | Maker address |
taker | string | Taker address |
Fetching Data
Using Market Slug + Outcome
Using Token ID
Notes
- Date format:
YYYY-MM-DD - No need to manage Polymarket’s frontend models (gamma) vs onchain CLOB token IDs
- Prices automatically calculated for both USDC trades and outcome-outcome trades (YES vs NO)