Expand description
Provides the HTTP client for the Polymarket Gamma API.
Gamma keyset constraints honored by the paginators and load_ids chunker:
/markets/keysetaccepts at most 100 items per page./events/keysetaccepts at most 500 items per page.- Keyset endpoints reject
offset; the paginators apply a requested initial offset locally for compatibility. - Missing
next_cursorends pagination; a full final page can still include one. condition_ids=accepts at most 100 IDs per request, soload_idsfor larger sets chunks the request and unions the responses.condition_idslookups stop at one market per distinct ID, since a redundant cursor request can exceed Gamma’s URI limit (HTTP 414).
Structs§
- Polymarket
Gamma Http Client - Provides a domain HTTP client for Polymarket instrument fetching.
- Polymarket
Gamma RawHttp Client - Provides a raw HTTP client for the Polymarket Gamma API.