Polymarket wallet positions now use Data API v2
The wallet positions endpoint now reads Polymarket Data API v2 ahead of the upstream v1 retirement on October 24, 2026. The public /v1/polymarket/wallet/positions response keeps its shape, and the upstream request pins the v1 defaults (open positions, 1-share floor, size-descending order), so the served population and page order are unchanged — verified live against both APIs side by side, byte-identical first page. Pagination is the breaking part: cursors minted by the old offset-backed implementation are rejected, so restart from the first page; has_more is now the upstream's exact answer rather than a full-page heuristic; and on cursor pages pagination.limit reports the page size the cursor carries. One edge: v2 rejects Polymarket protocol contract addresses (such as the zero address) with a 400 where v1 served an empty page.