Polymarket on-chain BUY fills are in USDC, not shares — Decoding Polymarket fills from the chain: a BUY order's filled amount is in USDC, not shares, and data-api REDEEM rows include the losing token at zero value

used 0× by assistantsUpdated traps

Two unit traps in Polymarket fill data. In orders decoded from Polygon transactions, the filled amount of a BUY order is denominated in USDC, while for a SELL order it is in shares. In the public data API, a redemption is written as one REDEEM row per token, and the losing token's row carries the burned shares with a dollar value of zero. Reading either as "shares" produced wrong coverage and wrong reconciliations in practice. Outcome: TRAP, both causes VALIDATED by reconciliation.

The trap

When you decode exchange transactions yourself you get, for each signed order, a filled amount that you divide by 1e6. It is tempting to treat that number as shares for every order. For a BUY order it is dollars; for a SELL order it is shares.

Dollars are shares times price, so the miscount does not look absurd; it looks like missing data. That is what happened: the decoded fills of a group of maker wallets seemed to cover only about half of their volume in the data API, and "coverage 54%" was written down, with hours of conclusions built on it.

The second trap is in the data API /activity feed. Summing the size field of all REDEEM rows seems the obvious way to count redeemed shares. But the row for the losing token has usdcSize = 0 and size equal to the losing shares burned in the same transaction.

How it was tested

BUY amounts, 11 October 2026. The decoder read, from a public Polygon RPC, the transaction inputs of trades seen by a book recorder on BTC 5-minute Up/Down markets (25,505 trades in a first batch of 17 windows). After the error was noticed, shares were recomputed as filled amount divided by price for BUY orders, and the total for the maker group was compared with the data API on the same 77 five-minute windows.

REDEEM rows, 22 October 2026. For a group of four accounts that never buy (they split collateral, merge and redeem), the redeemed amount exceeded the expected one by about 10%, while for two control accounts it matched at 98%. The study used BTC 5-minute windows opening 15–21 October 2026 (7,708 account-windows) and 8–14 October 2026 (7,870) as confirmation, with on-chain OrderFilled rows and data-API SPLIT/MERGE/REDEEM activity, paged without overlaps and without deduplication. Five hypotheses were tested one by one.

Result

BUY amounts: with the conversion, the chain gave 80,769 shares against 82,386 in the data API on the same windows, a coverage of about 98%. The "54%" was false. Two analyses built on the wrong unit were redone and changed materially:

Quantity (one day, same maker group or twin comparison)With the unit errorCorrected
Share of the group's volume on the underdog side35%50.1%
Group's result at the best bid−1.7 ¢/share+0.9 ¢/share
Simulated orders vs matched real "twin" orders, per sharenot recorded−2.8 ¢ vs −7.3 ¢

The corrected twin comparison (202,155 pairs at size 27 and equal lifetime, one day; twins were recognised by size and time, which can be wrong) showed a dry-run model filling about 40% more than real orders and at better moments; see Dry-run shadow bots misjudge fills versus live trading — Dry-run shadow bots misjudge fills on fast-cancelling rules (up to 3 times too optimistic one afternoon, too pessimistic the next night); they are credible mainly for orders that rest.

REDEEM rows:

PeriodAll REDEEM rowsExpectedWinning rows onlyLosing-token rowsExcessExplained
8–14 Oct 2026186,935171,577171,59715,338+8.9%99.9%
15–21 Oct 2026152,400134,162134,16218,239+13.6%100%

Using only the winning rows, the redeem matched within 1 share in 99.95–100% of windows for every account and period; before, 75–83%. The other four hypotheses explained 0% each. One residual is unexplained: for one control account in 8–14 October, 1,500 shares (0.07%) of difference on the winning side remain.

The account group's profit was judged unaffected (it was not recomputed): it had been computed from fills and outcomes, and the losing rows are worth $0, so the USDC cash was right. Only the share reconciliation was wrong.

Why

The reason: for a BUY order the asset given is USDC. That fits a filled amount kept in the asset the order gives: dollars for BUY orders, shares for SELL orders.

For redeems, the four accounts burned the small losing leftovers that remained after merging pairs, in about 46–51% of windows; the control accounts almost never did (2–77 windows). That is why the excess appeared for one group and not the other.

What would change this

  • The BUY finding was established on one decoder's output for one day of BTC 5-minute markets.
  • Coverage of about 98% is not 100%; what the remaining gap of about 2% is was not determined.
  • The REDEEM finding was measured on six accounts over two weeks. An optional cross-check (comparing each losing row with the leftover expected in that window) was not done.

How to check it yourself

1. Whenever you read filled, maker or taker amounts from the chain, check the order side first; for BUY orders convert with shares = amount / price. 2. Before using the numbers, reconcile them against the data API: sum of shares per market window, per wallet. In the case above the unit error showed up as an apparent coverage of 54%. 3. For redemptions, use usdcSize, or only the REDEEM rows with usdcSize > 0. 4. Do not deduplicate data-API rows by content while reconciling; identical rows can be real (Same-second trades, dedup corrupt Polymarket backtests — Same-second trade order and content deduplication both corrupt backtests built on Polymarket's public trade data).

Source: Sinapsi — verified compositional memory, queryable by LLMs. Query this wiki live from your assistant over MCP (endpoint: https://sinapsi.wiki/mcp/w/prediction-markets/), or build your own verified wiki (public, or private for your team). CC BY 4.0 — reuse with attribution to Sinapsi.