@0xinsider/sdk 0.62.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -0
- package/dist/client.d.ts +123 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +140 -0
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/provenance.d.ts +2 -2
- package/dist/provenance.js +3 -3
- package/dist/schema.d.ts +538 -24
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -226,6 +226,71 @@ export type CategorySkillV2 = {
|
|
|
226
226
|
edge_lower_95: number | null;
|
|
227
227
|
brier_event_avg: number | null;
|
|
228
228
|
};
|
|
229
|
+
export type Clv = {
|
|
230
|
+
/** Polymarket condition id. */
|
|
231
|
+
condition_id: string;
|
|
232
|
+
/** measured: clv carries the figures. in_play: placed_at is at or after kickoff, so the pre-game close does not grade it. pending: no close is stored yet. unavailable: no close will grade it; see unavailable_reason. */
|
|
233
|
+
status: "measured" | "in_play" | "pending" | "unavailable";
|
|
234
|
+
/** Set exactly when status is unavailable: the close's own unavailable_reason (GET /api/v1/market/{condition_id}/close), or anchor_stale when kickoff moved more than six hours after the close was captured. */
|
|
235
|
+
unavailable_reason: "no_observation_in_lookback" | "provider_empty_window" | "provider_invalid_contract" | "capture_window_closed" | "no_game_start_time" | "not_one_sided_resolution" | "not_captured" | "close_token_mismatch" | "anchor_stale" | "outcome_unknown" | null;
|
|
236
|
+
outcome: ClvOutcome;
|
|
237
|
+
/** Both outcomes of the market, the first (YES) then the second (NO). */
|
|
238
|
+
outcomes: ClvOutcome[];
|
|
239
|
+
/** Which way the entry traded the outcome. A sell is measured as the buy of the other outcome. */
|
|
240
|
+
side: "buy" | "sell";
|
|
241
|
+
/** The price the caller got. */
|
|
242
|
+
entry: {
|
|
243
|
+
/** For a buy, the break-even probability of the bet, 0 to 1: the Polymarket price paid, or 1 divided by the decimal odds. For a sell, the price received. */
|
|
244
|
+
price: number;
|
|
245
|
+
/** The odds as sent, when the entry was sportsbook odds; null for a price entry. */
|
|
246
|
+
from_odds: string | null;
|
|
247
|
+
/** The format from_odds was read in; null for a price entry. */
|
|
248
|
+
format: "american" | "decimal" | null;
|
|
249
|
+
/** The bought side's decimal odds: the total return per 1 staked. */
|
|
250
|
+
decimal_odds: number;
|
|
251
|
+
/** When the bet was placed, as sent; null when not sent, which is read as a bet placed before kickoff. */
|
|
252
|
+
placed_at: string | null;
|
|
253
|
+
};
|
|
254
|
+
/** The stored close of the outcome, as GET /api/v1/market/{condition_id}/close serves it. */
|
|
255
|
+
close: {
|
|
256
|
+
/** The close endpoint's status for the market. */
|
|
257
|
+
status: "measured" | "pending" | "unavailable";
|
|
258
|
+
/** Set exactly when close.status is unavailable. */
|
|
259
|
+
unavailable_reason: "no_observation_in_lookback" | "provider_empty_window" | "provider_invalid_contract" | "capture_window_closed" | "no_game_start_time" | "not_one_sided_resolution" | "not_captured" | "close_token_mismatch" | "anchor_stale" | "outcome_unknown" | null;
|
|
260
|
+
/** The outcome's closing price, 0 to 1, whenever a close is stored: the stored YES price, or 1 minus it for the NO leg. null otherwise, never 0. */
|
|
261
|
+
price: number | null;
|
|
262
|
+
/** The market's kickoff as stored now. */
|
|
263
|
+
game_start_time: string | null;
|
|
264
|
+
/** The instant the close was measured at: the kickoff when it was captured. */
|
|
265
|
+
close_anchor_at: string | null;
|
|
266
|
+
/** true when kickoff has moved more than the 6-hour lookback since the close was captured. null without a stored close. */
|
|
267
|
+
anchor_stale: boolean | null;
|
|
268
|
+
/** Start of the provider bucket the close is. */
|
|
269
|
+
observed_at: string | null;
|
|
270
|
+
/** Provider endpoint and grain, e.g. polymarket_data_v2_prices_history@minute-window-v1. */
|
|
271
|
+
source: string | null;
|
|
272
|
+
};
|
|
273
|
+
/** The CLV figures, set exactly when status is measured; every field null otherwise. Gross of fees. */
|
|
274
|
+
clv: {
|
|
275
|
+
/** Price entries only: the close minus the price paid (a sell: the price received minus the close), in cents per share. null for an odds entry. */
|
|
276
|
+
cents: number | null;
|
|
277
|
+
/** The close probability minus the entry's break-even probability, in percentage points. Positive beat the close. */
|
|
278
|
+
points: number | null;
|
|
279
|
+
/** The entry's decimal odds over the close's decimal odds, minus 1, in percent. */
|
|
280
|
+
price_pct: number | null;
|
|
281
|
+
/** The entry's decimal odds times the close probability, minus 1, in percent: the expected return per unit staked if the close was fair. Equal to price_pct against a Polymarket close. */
|
|
282
|
+
ev_at_close_pct: number | null;
|
|
283
|
+
};
|
|
284
|
+
/** The CLV definition, clv@v1, the large trades' own. */
|
|
285
|
+
basis_version: string;
|
|
286
|
+
};
|
|
287
|
+
/** One outcome of the market. */
|
|
288
|
+
export type ClvOutcome = {
|
|
289
|
+
/** Provider outcome index: 0 is the YES leg, 1 the NO leg. */
|
|
290
|
+
index: number;
|
|
291
|
+
/** The outcome's label. */
|
|
292
|
+
label: string | null;
|
|
293
|
+
};
|
|
229
294
|
export type Combo = {
|
|
230
295
|
/** Combo identifier: 0x followed by 62 lowercase hex characters. This differs from a binary market condition ID. */
|
|
231
296
|
condition_id: string;
|
|
@@ -601,6 +666,21 @@ export type EdgeHunterMarketContext = {
|
|
|
601
666
|
/** Exact local canonical metadata writer market_canonical.updated_at. This is not a provider observation clock; null means unavailable. */
|
|
602
667
|
metadata_updated_at: string | null;
|
|
603
668
|
};
|
|
669
|
+
/** One sport's most_held_48h cutoff: the last market the selection admitted and the values it was ranked by. */
|
|
670
|
+
export type EdgeHunterMostHeld48hCutoff = {
|
|
671
|
+
/** Canonical sport bucket, as on a row's category. */
|
|
672
|
+
sport: string;
|
|
673
|
+
/** The market's place in the sport's most_held_48h admission order, which is the number of markets most_held_48h admitted in the sport: 8 when the sport has 8 to admit. */
|
|
674
|
+
position: number;
|
|
675
|
+
/** The market. It may have no card in an admission=most_held_48h response when its holder read ended without one (a split pile, no read). */
|
|
676
|
+
condition_id: string;
|
|
677
|
+
/** The first ranking value: S, A and B graded wallets in the 0xinsider index holding either outcome, as on a row's indexed_graded_holders. */
|
|
678
|
+
indexed_graded_holders: number;
|
|
679
|
+
/** The second ranking value, as on a row's volume. null only for a market without a stored volume, which the ranking never holds: such a market counts as invalid_market. */
|
|
680
|
+
volume: number | null;
|
|
681
|
+
/** The third ranking value: of two markets with equal holders and volume, the earlier kickoff ranks first, then the lower condition_id. */
|
|
682
|
+
game_start_time: string;
|
|
683
|
+
};
|
|
604
684
|
/** One explicitly observation-only holder-pile measurement. It is evidence for cohort evaluation, not an execution instruction, and is isolated from the funded Edge Hunter signals view. */
|
|
605
685
|
export type EdgeHunterObservation = {
|
|
606
686
|
/** The side profitable wallets hold, as a provider-backed display label. Canonical spelling of piled_side (#16310), same value: when provider group context is unavailable it may remain a bare Yes/No/Over/Under, so do not use it alone as participant identity. */
|
|
@@ -685,6 +765,8 @@ export type EdgeHunterObservation = {
|
|
|
685
765
|
market_context: EdgeHunterMarketContext | null;
|
|
686
766
|
/** S, A and B graded wallets in the 0xinsider index holding either outcome of the market, as the stored market universe last counted them. Every most-held place ranks by this count: admission=most_held_48h and most_held_48h_by_type, the default selection's most_held places and in_play slots. It can be larger or smaller than graded_holders, which counts the piled side of the provider's holder page. Null only on a row of a generation computed before this field existed. */
|
|
687
767
|
indexed_graded_holders: number | null;
|
|
768
|
+
/** admission=most_held_48h and most_held_48h_by_type only: the market's 1-based place in its sport's most_held_48h admission order, every market type ranked together, from the same refresh that admitted the row. The order is most indexed_graded_holders first, then most volume, then soonest game_start_time, then condition_id, skipping a market whose event (parent event first) already holds 4 markets of the order. Places 1 to 8 are the most_held_48h list; a place above 8 is the number of slots the sport would need for this market to take one, so compare it with most_held_48h_cutoffs[].position. null when the market has no place: its event already held 4 markets ranked above it, so no number of sport slots would admit it. A place stays taken by a market whose holder read ended without a card (a split pile, no read), so the cards of a most_held_48h response can skip places. Omitted on a default read and on a snapshot computed before this field. */
|
|
769
|
+
most_held_48h_position?: number | null;
|
|
688
770
|
};
|
|
689
771
|
/** Measured coverage of the frozen canonical observation generation and this requested page. For sports and esports reads, the first four counts remain global through category, cohort and all selectors; with admission=most_held_48h they count that selection's generation, where every wider_holder candidate it did not take is capacity_limited. They are neither a census of all provider markets nor a count of successfully evaluated holders. Selected and returned counts describe the requested projection. An unmappable legacy category synthesizes a zero-work empty generation with all six counts zero and no degradation reasons; it does not read the all-sports cache. */
|
|
690
772
|
export type EdgeHunterObservationCoverage = {
|
|
@@ -751,6 +833,8 @@ export type EdgeHunterObservationsResponse = {
|
|
|
751
833
|
departures?: EdgeHunterObservationDeparture[];
|
|
752
834
|
/** The ranked_at of the view=signals snapshot whose listed markets this snapshot excluded from wider_holder as primary_slate_candidate. The refresh that computed this snapshot read it as it started, so it can be one refresh older than the view=signals snapshot a reader sees at the same moment. null when no view=signals snapshot could be read: that refresh excluded no market, and the funnel counts no primary_slate_candidate. Omitted on an unmappable legacy category, which reads no generation. */
|
|
753
835
|
signals_as_of?: string | null;
|
|
836
|
+
/** admission=most_held_48h and most_held_48h_by_type only: for each sport in the response's category scope that most_held_48h admitted a market in, the last market it admitted in the same snapshot (the 8th when 8 are admitted) and the values it was ranked by. A row whose most_held_48h_position is greater than its sport's position took no most_held_48h slot. Not narrowed by selectors other than category. Omitted on a default read and on a snapshot computed before this field. */
|
|
837
|
+
most_held_48h_cutoffs?: EdgeHunterMostHeld48hCutoff[];
|
|
754
838
|
};
|
|
755
839
|
/** Closed 25-value terminal-reason vocabulary for the accountable Edge Hunter observation funnel. capacity_limited is intentional bounded provider-work admission and does not itself set the snapshot degraded. board_source_unavailable is a completed board-source failure; board_deadline_unavailable means live-board work missed either an internal configured-scope deadline or the outer fair-wave deadline; both classify only already-started rows, so for the upcoming source read funnel.sports[].board_upcoming_status instead; provider_unavailable is reserved for a holder read sent to the provider that failed, with no reusable holder page; holder_deadline_unavailable is holder cache/provider absolute-deadline exhaustion or a holder read local capacity never sent, with no reusable holder page. */
|
|
756
840
|
export type EdgeHunterObservationTerminalReason = "outside_horizon" | "resolved" | "provider_closed" | "provider_excluded" | "invalid_market" | "missing_token" | "missing_stored_market" | "not_provider_live" | "board_source_unavailable" | "board_deadline_unavailable" | "primary_slate_candidate" | "zero_indexed_holder_research" | "capacity_limited" | "provider_unavailable" | "holder_deadline_unavailable" | "holder_computation_unavailable" | "holder_scan_incomplete" | "no_current_graded_holder" | "split_holder_pile" | "price_unavailable" | "wider_holder_emitted" | "in_play_emitted" | "in_play_stale_observed" | "in_play_directional_unavailable" | "internal_unclassified";
|
|
@@ -1143,7 +1227,7 @@ export type ExploreMarket = {
|
|
|
1143
1227
|
event_slug: string | null;
|
|
1144
1228
|
smart_score: number | null;
|
|
1145
1229
|
smart_count: number | null;
|
|
1146
|
-
/** The outcome graded money leans toward RELATIVE TO THE PRICE: named only when the graded money's share of a side
|
|
1230
|
+
/** The outcome graded money leans toward RELATIVE TO THE PRICE: named only when the graded money's share of a side sits well past that side's price-implied share, enough graded money backs the leaning side that a few small positions cannot name it, and the side is not a long shot holding nearly all of the graded money. Null when the money sits with the price (no lean), when there is no graded money, or when the price is unavailable. The same rule as the market page. */
|
|
1147
1231
|
smart_label: string | null;
|
|
1148
1232
|
/** When the oldest stored smart-money wallet behind this split (smart_score, smart_count and smart_label) last finished syncing. Graded wallets sync on different schedules, so this is often hours or days ago. Some holdings in the split can come from a Polymarket holder read cached for up to 3 minutes, which this time does not describe. Null when there is no split or a wallet's sync time is unknown. */
|
|
1149
1233
|
sharp_money_as_of: string | null;
|
|
@@ -1271,6 +1355,114 @@ export type ExportVolumeReconciliation = {
|
|
|
1271
1355
|
/** Always null, for the same reason as provider_activity_volume_gap. */
|
|
1272
1356
|
activity_volume_coverage: number | null;
|
|
1273
1357
|
};
|
|
1358
|
+
/** One game outcome's Polymarket fair price, with the checks that say whether it is fit to price a bet against. */
|
|
1359
|
+
export type FairPrice = {
|
|
1360
|
+
/** ok: two-sided, within max_spread_c, at or above min_book_usd_within_2c where the depth is known, confirmed current within 60 seconds. closed: the market closed or resolved, so there is no price to take. unavailable: no midpoint, and unavailable_reason says why. Otherwise the first entry of failed_checks. */
|
|
1361
|
+
status: "ok" | "wide_spread" | "thin_book" | "stale_quote" | "closed" | "unavailable";
|
|
1362
|
+
/** Set exactly when status is unavailable. cache_miss: the cache holds no book for the outcome yet, and this read starts its live book, so a read a few seconds later may answer. cache_unavailable: the book cache could not be read; a read a few seconds later may answer. stream_capacity: the market is not streamed and API reads hold every live book they may open; read it less often. no_orderbook: the provider confirmed the outcome has no order book. missing_provider_token_id: the outcome has no provider token id. one_sided_book: the book holds bids or asks, not both. empty_book: the book holds no orders. other_outcome_unavailable: the outcome's book is two-sided, but another outcome of its market (a 1X2 game's other leg, or a two-way market's other side) has no midpoint, so the midpoints cannot be normalised. */
|
|
1363
|
+
unavailable_reason: "cache_miss" | "cache_unavailable" | "stream_capacity" | "no_orderbook" | "missing_provider_token_id" | "one_sided_book" | "empty_book" | "other_outcome_unavailable" | null;
|
|
1364
|
+
/** Every check the quote failed, in status order; empty when none did. wide_spread: the spread is above max_spread_c. thin_book: a side holds less than min_book_usd_within_2c within 2 cents of the midpoint. stale_quote: the book was last confirmed current more than 60 seconds before as_of (quote.confirmed_age_seconds above 60). */
|
|
1365
|
+
failed_checks: ("wide_spread" | "thin_book" | "stale_quote")[];
|
|
1366
|
+
/** The market's condition id. */
|
|
1367
|
+
condition_id: string;
|
|
1368
|
+
/** The market's own event: the game's slug, or a child event's (a soccer game's spreads and totals sit under its -more-markets event). game.event_slug is always the game's. */
|
|
1369
|
+
event_slug: string;
|
|
1370
|
+
/** moneyline, spread or total; null for another market type, priced by condition_id. */
|
|
1371
|
+
market_type: "moneyline" | "spread" | "total" | null;
|
|
1372
|
+
/** The provider's sportsMarketType, verbatim: moneyline, spreads, totals or another type. */
|
|
1373
|
+
sports_market_type: string | null;
|
|
1374
|
+
/** The provider's per-market display name, for example Albania on a 1X2 leg. */
|
|
1375
|
+
title: string | null;
|
|
1376
|
+
/** The outcome's own handicap on a spread (-3.5), the total on a total (222.5); null on a moneyline. */
|
|
1377
|
+
line: number | null;
|
|
1378
|
+
/** Whether the market is a leg of a soccer 1X2 game: fair.prob is then normalised over the three legs' Yes midpoints. */
|
|
1379
|
+
three_way: boolean;
|
|
1380
|
+
/** The priced outcome. */
|
|
1381
|
+
outcome: {
|
|
1382
|
+
/** The provider's outcome index, 0 or 1. */
|
|
1383
|
+
index: number;
|
|
1384
|
+
/** The provider's outcome label: Commanders, Over, or Yes on a 1X2 leg. */
|
|
1385
|
+
label: string | null;
|
|
1386
|
+
/** The outcome's CLOB token id, a decimal string; null when the provider has none. */
|
|
1387
|
+
token_id: string | null;
|
|
1388
|
+
};
|
|
1389
|
+
/** The outcome's cached top of book. */
|
|
1390
|
+
quote: {
|
|
1391
|
+
/** The outcome's best bid, 0 to 1; null when the book holds no bids. */
|
|
1392
|
+
best_bid: number | null;
|
|
1393
|
+
/** The outcome's best ask, 0 to 1; null when the book holds no asks. */
|
|
1394
|
+
best_ask: number | null;
|
|
1395
|
+
/** (best_bid + best_ask) / 2; null without both sides. */
|
|
1396
|
+
mid: number | null;
|
|
1397
|
+
/** best_ask less best_bid, in cents, to a hundredth of a cent; null without both sides. */
|
|
1398
|
+
spread_c: number | null;
|
|
1399
|
+
/** USD resting within 2 cents of the midpoint on each side; null when the cache holds none, which is unknown, never 0, and fails no check. */
|
|
1400
|
+
book_depth_within_2c: {
|
|
1401
|
+
/** USD resting on bids at or above the midpoint less 0.02: each level's price times size. */
|
|
1402
|
+
bid_usd: number;
|
|
1403
|
+
/** USD resting on asks at or below the midpoint plus 0.02: each level's price times size. */
|
|
1404
|
+
ask_usd: number;
|
|
1405
|
+
} | null;
|
|
1406
|
+
/** When best_bid or best_ask last changed: the CLOB frame, or CLOB books read, behind them. A quiet book keeps it for as long as it stands. */
|
|
1407
|
+
observed_at: string | null;
|
|
1408
|
+
/** Seconds from observed_at to as_of: how long the bid and ask have stood. stale_quote reads confirmed_age_seconds instead. */
|
|
1409
|
+
age_seconds: number | null;
|
|
1410
|
+
/** The last instant the book is known to have been current: observed_at, or later when the live CLOB stream has since confirmed the unchanged book still matched. A dropped or stalled stream, a book the stream stopped matching, and a CLOB REST read confirm nothing, so confirmed_at is then observed_at. Null when observed_at is. */
|
|
1411
|
+
confirmed_at: string | null;
|
|
1412
|
+
/** Seconds from confirmed_at to as_of. Above 60 fails stale_quote. */
|
|
1413
|
+
confirmed_age_seconds: number | null;
|
|
1414
|
+
/** Who read the book: the CLOB stream or a CLOB REST read. */
|
|
1415
|
+
source: "clob_stream" | "clob_rest" | null;
|
|
1416
|
+
};
|
|
1417
|
+
/** The taker fee a buy at quote.best_ask pays: fee per share = rate x (p x (1 - p))^exponent, with p the ask. */
|
|
1418
|
+
fee: {
|
|
1419
|
+
/** observed: the market's own Gamma fee curve. disabled: the market's Gamma record says it charges no fee. assumed: no record in hand, so the 0.05 sports rate Polymarket's fee page documents, exponent 1. */
|
|
1420
|
+
basis: "observed" | "disabled" | "assumed";
|
|
1421
|
+
/** The taker fee rate; 0 when basis is disabled. */
|
|
1422
|
+
rate: number;
|
|
1423
|
+
/** The fee curve's exponent. */
|
|
1424
|
+
exponent: number;
|
|
1425
|
+
/** When the market's Gamma record was read; null when basis is assumed. */
|
|
1426
|
+
observed_at: string | null;
|
|
1427
|
+
/** The taker fee per share of a buy at quote.best_ask, in USD; null without an ask. */
|
|
1428
|
+
taker_fee_per_share: number | null;
|
|
1429
|
+
/** best_ask plus taker_fee_per_share: what one share costs a taker, in USD; null without an ask. */
|
|
1430
|
+
taker_all_in_ask: number | null;
|
|
1431
|
+
};
|
|
1432
|
+
/** The fair probability and the odds it implies. */
|
|
1433
|
+
fair: {
|
|
1434
|
+
/** The fair probability, 0 to 1: the outcome's midpoint normalised over the market's mutually exclusive outcomes; null without a midpoint. */
|
|
1435
|
+
prob: number | null;
|
|
1436
|
+
/** The outcome's own midpoint, before normalising. */
|
|
1437
|
+
prob_mid: number | null;
|
|
1438
|
+
/** 1 / prob: the shortest decimal odds that are not negative expected value at the fair probability. */
|
|
1439
|
+
decimal_odds: number | null;
|
|
1440
|
+
/** The same price as American odds: (decimal_odds - 1) x 100 when decimal_odds is 2 or more, else -100 / (decimal_odds - 1). */
|
|
1441
|
+
american_odds: number | null;
|
|
1442
|
+
/** two_way_mid: the outcome's midpoint over the sum of both outcomes' midpoints. three_way_mid: a 1X2 leg's Yes midpoint over the sum of the three Yes midpoints; its No is one less that. */
|
|
1443
|
+
method: "two_way_mid" | "three_way_mid";
|
|
1444
|
+
};
|
|
1445
|
+
/** The game the market belongs to. */
|
|
1446
|
+
game: {
|
|
1447
|
+
/** The game's event slug, the key of GET /api/v1/games/{event_slug}. */
|
|
1448
|
+
event_slug: string;
|
|
1449
|
+
/** The stored kickoff; null when the mirror holds none. */
|
|
1450
|
+
start: string | null;
|
|
1451
|
+
/** Whether the kickoff had passed at as_of, so the price may be in play; null when the kickoff is unknown. */
|
|
1452
|
+
started: boolean | null;
|
|
1453
|
+
};
|
|
1454
|
+
/** The limits this answer was checked against. */
|
|
1455
|
+
thresholds: {
|
|
1456
|
+
/** The spread cap, in cents: the request's max_spread_c, default 3. */
|
|
1457
|
+
max_spread_c: number;
|
|
1458
|
+
/** The depth floor per side, in USD: the request's min_book_usd_within_2c, default 500. */
|
|
1459
|
+
min_book_usd_within_2c: number;
|
|
1460
|
+
/** The oldest book that still prices, in seconds: 60. */
|
|
1461
|
+
max_quote_age_seconds: number;
|
|
1462
|
+
};
|
|
1463
|
+
/** When this answer was read. */
|
|
1464
|
+
as_of: string;
|
|
1465
|
+
};
|
|
1274
1466
|
export type FreshnessFailure = {
|
|
1275
1467
|
/** The caller's requested whole-response freshness ceiling in seconds. */
|
|
1276
1468
|
max_age_s: number;
|
|
@@ -1420,6 +1612,8 @@ export type GameMarket = {
|
|
|
1420
1612
|
winning_outcome_index: number | null;
|
|
1421
1613
|
oracle_updated_at: string | null;
|
|
1422
1614
|
};
|
|
1615
|
+
/** Polymarket's top of book for this market's YES outcome (outcome_yes), on traded and untraded markets alike; on a market nobody has traded, where prices reads incomplete, it is the only price the game carries. Omitted when the provider read carried neither a bid nor an ask, and on a finished game read from its stored record. */
|
|
1616
|
+
yes_quote?: GameMarketQuote;
|
|
1423
1617
|
};
|
|
1424
1618
|
/** One market's liquidity as Polymarket reports it (Gamma liquidityNum), verbatim. Polymarket documents it only as reported market liquidity, with no unit. It describes the market's resting order book, not traded volume. */
|
|
1425
1619
|
export type GameMarketLiquidity = {
|
|
@@ -1485,6 +1679,17 @@ export type GameMarketPrices = {
|
|
|
1485
1679
|
observation_source: "board_snapshot" | "clob_display";
|
|
1486
1680
|
};
|
|
1487
1681
|
export type GameMarketProviderPrices = GameMarketPricePaired | GameMarketPriceIncomplete | GameMarketPriceInvalid;
|
|
1682
|
+
/** The YES outcome's best bid and best ask as Polymarket reports them (Gamma bestBid and bestAsk), verbatim; no midpoint is computed from them. In a binary market the NO outcome's book mirrors this one (its bid is 1 minus this ask). Per-outcome CLOB books with depth are on GET /api/v1/games/{event_slug}/markets?expand=quotes. */
|
|
1683
|
+
export type GameMarketQuote = {
|
|
1684
|
+
/** The highest resting bid for the YES outcome, 0 to 1. null when Polymarket reports no bid. */
|
|
1685
|
+
best_bid: number | null;
|
|
1686
|
+
/** The lowest resting ask for the YES outcome, 0 to 1. null when Polymarket reports no ask. */
|
|
1687
|
+
best_ask: number | null;
|
|
1688
|
+
/** Always gamma: the Polymarket Gamma API. */
|
|
1689
|
+
source: "gamma";
|
|
1690
|
+
/** When 0xinsider read the sports board body this quote came from, never a provider-authored timestamp. Omitted when that read has no clock. */
|
|
1691
|
+
observed_at?: string;
|
|
1692
|
+
};
|
|
1488
1693
|
/** What this deployment covers, published with every page so a client never has to guess whether an empty list means no games or no coverage. */
|
|
1489
1694
|
export type GamesCoverage = {
|
|
1490
1695
|
/** Canonical sport buckets served, sorted. */
|
|
@@ -1500,7 +1705,7 @@ export type GameSharpMoney = {
|
|
|
1500
1705
|
computed_at: string | null;
|
|
1501
1706
|
event_slug: string;
|
|
1502
1707
|
holders_partial: boolean | null;
|
|
1503
|
-
lifecycle: "live" | "settled" | "indeterminate" | null;
|
|
1708
|
+
lifecycle: "live" | "settled" | "indeterminate" | "ended" | "in_play" | null;
|
|
1504
1709
|
money_as_of: string | null;
|
|
1505
1710
|
object: string;
|
|
1506
1711
|
outcomes: ({
|
|
@@ -2219,7 +2424,7 @@ export type MarketHolder = {
|
|
|
2219
2424
|
/** Why `category_win_rate` is present or absent: `measured` (rate present), `not_enough_data` (under the floor of 5 decided markets in the category), or `unavailable` (the market has no canonical category, or the read failed; retry later). Never `untracked`: this route lists S, A and B wallets only, all on file. Always present on this route. */
|
|
2220
2425
|
category_win_rate_status: "measured" | "not_enough_data" | "unavailable" | "untracked";
|
|
2221
2426
|
category_evidence?: HolderCategoryEvidence;
|
|
2222
|
-
/** Whole UTC calendar days since this wallet's first trade: the number of UTC dates from the first trade's date to today, so a first trade at 23:00 UTC reads 1 an hour later. Every wallet's age changes at 00:00 UTC, once a day, not on every request. The five badge fields are present together, only for a wallet that draws at least one badge. */
|
|
2427
|
+
/** Whole UTC calendar days since this wallet's first trade, as an integer (271, not 271.0): the number of UTC dates from the first trade's date to today, so a first trade at 23:00 UTC reads 1 an hour later. Every wallet's age changes at 00:00 UTC, once a day, not on every request. The five badge fields are present together, only for a wallet that draws at least one badge. */
|
|
2223
2428
|
wallet_age_days?: number | null;
|
|
2224
2429
|
/** True when the wallet's first trade was under 30 days ago. */
|
|
2225
2430
|
is_new_wallet?: boolean;
|
|
@@ -2554,7 +2759,7 @@ export type MarketTopHolder = {
|
|
|
2554
2759
|
category_win_rate_game?: string;
|
|
2555
2760
|
/** Why `category_win_rate` is present or absent: `measured` (rate present), `not_enough_data` (the wallet is on file and under the floor of 5 decided markets in the category), `untracked` (0xinsider has no record of the wallet, so nothing was measured; `grade`, `in_scope_realized_pnl` and `in_scope_volume` are null too), or `unavailable` (a read failed; retry later). Absent when the market has no canonical category. */
|
|
2556
2761
|
category_win_rate_status?: "measured" | "not_enough_data" | "unavailable" | "untracked";
|
|
2557
|
-
/** Whole UTC calendar days since this wallet's first trade: the number of UTC dates from the first trade's date to today, so a first trade at 23:00 UTC reads 1 an hour later. Every wallet's age changes at 00:00 UTC, once a day, not on every request. The five badge fields are present together, only for a wallet that draws at least one badge. */
|
|
2762
|
+
/** Whole UTC calendar days since this wallet's first trade, as an integer (271, not 271.0): the number of UTC dates from the first trade's date to today, so a first trade at 23:00 UTC reads 1 an hour later. Every wallet's age changes at 00:00 UTC, once a day, not on every request. The five badge fields are present together, only for a wallet that draws at least one badge. */
|
|
2558
2763
|
wallet_age_days?: number | null;
|
|
2559
2764
|
/** True when the wallet's first trade was under 30 days ago. */
|
|
2560
2765
|
is_new_wallet?: boolean;
|
|
@@ -2564,6 +2769,8 @@ export type MarketTopHolder = {
|
|
|
2564
2769
|
is_bot?: boolean;
|
|
2565
2770
|
/** The wallet's X handle without the @, when linked. */
|
|
2566
2771
|
x_username?: string | null;
|
|
2772
|
+
/** When this wallet's category record was recounted, sent only when that is later than the `category_records_as_of` beside the rows: a wallet's record is also recounted about an hour after its markets settle, between daily rebuilds. This row's `category_win_rate`, `category_win_record` and `category_avg_price` are as of this time. Absent on every other row, which is as of the payload's `category_records_as_of`. */
|
|
2773
|
+
category_records_as_of?: string;
|
|
2567
2774
|
};
|
|
2568
2775
|
export type MarketTopHolders = {
|
|
2569
2776
|
market: MarketHoldersMarket;
|
|
@@ -2574,7 +2781,7 @@ export type MarketTopHolders = {
|
|
|
2574
2781
|
totals: MarketTopHoldersTotals;
|
|
2575
2782
|
/** `unavailable` when the wallet record read failed: `in_scope_realized_pnl`, `in_scope_volume` and `strategy_type` are then null for every row because they were not read, not because they are unknown. */
|
|
2576
2783
|
profiles_status: "available" | "unavailable";
|
|
2577
|
-
/** When the daily pass behind the rows' category win records began. Absent when the market has no category or the read answered no row. */
|
|
2784
|
+
/** When the daily pass behind the rows' category win records began: the oldest any row's record can be. A row whose wallet was recounted since carries its own, later `category_records_as_of`; every other row is as of this time. Absent when the market has no category or the read answered no row. */
|
|
2578
2785
|
category_records_as_of?: string;
|
|
2579
2786
|
/** When this holder sample was built. */
|
|
2580
2787
|
computed_at?: string;
|
|
@@ -2739,6 +2946,33 @@ export type PickHolder = {
|
|
|
2739
2946
|
category_price_edge_hold?: PickHolderPriceEdgeHold;
|
|
2740
2947
|
/** Why there is no `category_scope_price_edge` beside a game or league rate, with the rule's figures when it has them. Present only beside `category_win_rate_game`, and never beside `category_scope_price_edge`. Absent otherwise and on payloads predating the field. */
|
|
2741
2948
|
category_scope_price_edge_hold?: PickHolderPriceEdgeHold;
|
|
2949
|
+
/** What this wallet did on the pick's market after the pick was released, read from the fills, merges, splits and redemptions 0xinsider stores. Sits beside the release `shares`, which never change. `state` is `held`, `added`, `reduced` or `exited` for the time between release and the game's start, then `redeemed` once the wallet redeemed backed shares after settlement. Read `unavailable` as unknown, never as held. Present on `display_holders` items of a full pick; absent on teasers and on payloads predating the field. */
|
|
2950
|
+
after_release?: {
|
|
2951
|
+
/** End of the share-change window: the game's start once it has started, else `observed_at`. Trading during the game does not count. */
|
|
2952
|
+
changes_through: string;
|
|
2953
|
+
/** True once the facts are stored, 72 hours after settlement; they no longer change. */
|
|
2954
|
+
frozen: boolean;
|
|
2955
|
+
/** Time of the wallet's latest fill, merge or split on either outcome in the change window. Absent when it made none. */
|
|
2956
|
+
last_change_at?: string;
|
|
2957
|
+
/** When the facts were read, to the minute, or when they were stored. */
|
|
2958
|
+
observed_at: string;
|
|
2959
|
+
/** Net shares of the other outcome the wallet gained in the change window: positive when it bought the other side. */
|
|
2960
|
+
other_shares_change?: number;
|
|
2961
|
+
/** When the wallet's latest redemption of backed shares settled. Present beside `redeemed_shares`. */
|
|
2962
|
+
redeemed_at?: string;
|
|
2963
|
+
/** Backed shares the wallet redeemed after the market settled, up to `redemptions_through`. Absent when it redeemed none. */
|
|
2964
|
+
redeemed_shares?: number;
|
|
2965
|
+
/** End of the redemption window: settlement plus 72 hours once stored, else `observed_at`. */
|
|
2966
|
+
redemptions_through: string;
|
|
2967
|
+
/** The release `shares` plus `shares_change`, never below zero. */
|
|
2968
|
+
shares_after?: number;
|
|
2969
|
+
/** Net backed shares gained in the change window: bought, minus sold and merged, plus split. Negative when the wallet cut its position. */
|
|
2970
|
+
shares_change?: number;
|
|
2971
|
+
/** `held`: no change to its backed shares before the game. `added`: bought more. `reduced`: sold or merged some. `exited`: left under one backed share. `redeemed`: redeemed backed shares after settlement. `unavailable`: the facts could not be read; see `unavailable_reason`. */
|
|
2972
|
+
state: "held" | "added" | "reduced" | "exited" | "redeemed" | "unavailable";
|
|
2973
|
+
/** Present only when `state` is `unavailable`. `read_failed`: the read failed or ran out of time, and a later request can answer. `wallet_not_indexed` or `market_not_indexed`: 0xinsider stores no fills of that wallet or on that market. */
|
|
2974
|
+
unavailable_reason?: "read_failed" | "wallet_not_indexed" | "market_not_indexed";
|
|
2975
|
+
};
|
|
2742
2976
|
};
|
|
2743
2977
|
/** Edge over the price paid in one category, game or league: how often the side a wallet bought won, minus the average price it paid, over its settled markets there of $20 or more at a known entry price. Probabilities throughout: edge -0.171 is -17.1 percentage points. A market bought on both sides counts by its shares: the winning side's share of the shares bought is its hit, the cost over those shares its price. Figures from the daily record rebuild. */
|
|
2744
2978
|
export type PickHolderPriceEdge = {
|
|
@@ -2840,7 +3074,7 @@ export type PickOfTheDay = {
|
|
|
2840
3074
|
* @deprecated
|
|
2841
3075
|
*/
|
|
2842
3076
|
smart_wallet_count?: number;
|
|
2843
|
-
/** Best recorded S/A grade in the public V1 compatibility projection. */
|
|
3077
|
+
/** Best recorded S/A grade in the public V1 compatibility projection. Absent when the pick lists no S or A grade wallet, for example a pick that lists only B grade wallets; display_holders lists every grade. */
|
|
2844
3078
|
top_grade?: string;
|
|
2845
3079
|
/** Recorded graded-flow magnitude in USD on the backed side. Absent when the recorded value is zero, and on every pick that carries lead_backer. */
|
|
2846
3080
|
sharp_usd?: number;
|
|
@@ -2912,7 +3146,7 @@ export type PickOfTheDay = {
|
|
|
2912
3146
|
holders?: PickHolder[];
|
|
2913
3147
|
/** Optional recorded holder roster in display order, with lead_backer first when present. Preserve the returned order. The roster can include wallets outside the recorded count and aggregate fields; do not derive holder_count, wallet counts or backed_sharp_usd from its length or a sum. Position values are gross holdings on the backed outcome and can coexist with holdings on the other outcome. Historical rows retain their recorded display shape. */
|
|
2914
3148
|
display_holders?: PickHolder[];
|
|
2915
|
-
/** S/A holder count for the public V1 compatibility projection. display_holders can include additional grades. */
|
|
3149
|
+
/** S/A holder count for the public V1 compatibility projection. display_holders can include additional grades. sharp_positioned_usd and backed_side_share count every grade the pick lists, so a pick that lists only B grade wallets reads 0 here beside a positive sharp_positioned_usd. */
|
|
2916
3150
|
holder_count?: number;
|
|
2917
3151
|
/** Display-ready explanation of the recorded pick. Render the returned text rather than reconstructing it from holder counts or grades. */
|
|
2918
3152
|
thesis?: string;
|
|
@@ -3023,10 +3257,28 @@ export type PickOfTheDay = {
|
|
|
3023
3257
|
resolved_at?: string;
|
|
3024
3258
|
/** When the backed game starts (RFC3339 UTC): the same instant the 0xinsider site shows for the pick, read from the provider's current schedule, so a rescheduled game shows its new start, else the start recorded with the pick. scheduled_picks and proof_pending_picks use the same name for a pick's start. Omitted (not null) only when neither is on record, on a legacy pick; never estimated. Additive and optional for mixed-version client compatibility. */
|
|
3025
3259
|
kickoff?: string;
|
|
3026
|
-
/**
|
|
3260
|
+
/** The Sharp side share the pick's page shows, from the same recorded value: of all the dollars graded wallets held in the market, on both sides, the part on the backed side, as a fraction from 0 to 1 (pick 2153 reads 0.887, which the page prints as 88.7%). It counts the grades of the pick's own wallet policy: S, A and B wallets on picks dated 2026-08-12 or later, where sharp_pct is absent, and S and A wallets before that date, where it equals sharp_pct. Frozen when the pick was selected, or at its first complete pre-game publication read for a pick stored without a selection snapshot, and not updated after. A measure of positioning, not a winning probability. Absent when the pick recorded no share. Additive and optional. */
|
|
3027
3261
|
backed_side_share?: number;
|
|
3028
|
-
/**
|
|
3262
|
+
/** The Sharp positioned value the pick's page shows, from the same recorded value: the dollars, in USD, that the wallets the pick counts held on the backed side, on the same grade basis as backed_side_share. When the pick's frozen wallet list states each counted wallet's shares, it is those shares at the pick's recorded price; otherwise it is the figure stored when the pick was selected, which covers every graded wallet on the backed side then. On picks dated before 2026-08-12 it equals backed_sharp_usd. Recorded for the pick and not updated after: not a live balance or entry cost. The display_holders roster can include additional wallets; use this value rather than summing that roster. Absent when the pick recorded no value. Additive and optional. */
|
|
3029
3263
|
sharp_positioned_usd?: number;
|
|
3264
|
+
/** Every graded wallet (S, A or B) holding the backed side when the pick was selected, listed or not: the wallets whose money backed_side_share is the share of. display_holders lists some of them, so this can exceed holder_count and the roster's length (pick 2178 lists 6 of 11). Sent on picks recorded under the current S, A and B wallet policy that stored the count; absent otherwise, on a teaser, and on payloads predating the field. Additive and optional. */
|
|
3265
|
+
side_graded_wallet_count?: number;
|
|
3266
|
+
/** Those wallets' gross USD on the backed side when the pick was selected, sent only beside side_graded_wallet_count and only when above zero. It values every share at selection, so it can differ from sharp_positioned_usd. Not a live balance or entry cost. Additive and optional. */
|
|
3267
|
+
side_graded_usd?: number;
|
|
3268
|
+
/** The pick's sealed pre-game commitment as 64 lowercase hex characters: the commitment_hash its entry in GET /api/v1/pick-of-the-day/ledger/{pick_id} and the public repository github.com/0xinsider/picks carry. Sent with sealed_at, ledger_url and committed_kickoff, all four or none; absent on a pick that was never sealed. Additive and optional. */
|
|
3269
|
+
commitment_hash?: string;
|
|
3270
|
+
/** The game start the sealed commitment bound (RFC3339 UTC): the start the pick was released against, the kickoff its opened ledger payload carries. kickoff follows the provider's current schedule, so the two differ when the game moved after release; measure how far ahead of the game a pick went out from this one. Sent with commitment_hash. Additive and optional. */
|
|
3271
|
+
committed_kickoff?: string;
|
|
3272
|
+
/** The same instant as kickoff, under the name the 0xinsider site's own pick body uses. Sent whenever kickoff is. Additive and optional. */
|
|
3273
|
+
game_start_time?: string;
|
|
3274
|
+
/** When the pick's release read of its listed wallets was taken (RFC3339 UTC): the first accepted read of the backed side's holders, stored once at release and never read again, keeping only the wallets display_holders lists. Absent when no release read is stored for the pick yet, when the stored read was not taken at release (picks released before the release read began on November 10, 2026, or whose first read came late), and on picks without display_holders. Additive and optional. */
|
|
3275
|
+
holders_observed_at?: string;
|
|
3276
|
+
/** The page of the public ledger file in github.com/0xinsider/picks that records this pick's product day; its history shows the commit that recorded the hash. Sent with commitment_hash. Additive and optional. */
|
|
3277
|
+
ledger_url?: string;
|
|
3278
|
+
/** When the daily wallet-record pass behind the listed wallets' records began (RFC3339 UTC), from the same stored release read as holders_observed_at and under the same conditions: the oldest a listed wallet's records can be, since a wallet is also recounted about an hour after its markets settle. Absent when that read recorded no pass. Additive and optional. */
|
|
3279
|
+
records_as_of?: string;
|
|
3280
|
+
/** When the commitment was sealed (RFC3339 UTC), the sealed_at its ledger entry carries; always before committed_kickoff. Sent with commitment_hash. Additive and optional. */
|
|
3281
|
+
sealed_at?: string;
|
|
3030
3282
|
};
|
|
3031
3283
|
export type PickOfTheDayArchive = {
|
|
3032
3284
|
/** Published Pick of the Day selections that have not been withdrawn, newest first by pick_date and then pick_rank within each product day. Withdrawn rows stay excluded after settlement. */
|
|
@@ -3082,7 +3334,7 @@ export type PickOfTheDayArchiveEntry = {
|
|
|
3082
3334
|
image_url?: string;
|
|
3083
3335
|
/** The backed side's outcome label. Omitted for a still-pending pick when the request is not from an authenticated Pro key. */
|
|
3084
3336
|
pick_outcome_label?: string;
|
|
3085
|
-
/** Recorded
|
|
3337
|
+
/** Recorded best S or A grade on the backed side in the public V1 compatibility projection. Omitted when unavailable, including on a pick that lists no S or A grade wallet. Historical values remain recorded snapshots. */
|
|
3086
3338
|
top_grade?: string;
|
|
3087
3339
|
/** Settlement outcome of the backed side; 'pending' until the market resolves. */
|
|
3088
3340
|
outcome: "pending" | "win" | "loss" | "void";
|
|
@@ -3192,6 +3444,7 @@ export type PickOfTheDayArchiveSummary = {
|
|
|
3192
3444
|
pick_outcome_label?: string;
|
|
3193
3445
|
publication_order: number;
|
|
3194
3446
|
required_tier?: string;
|
|
3447
|
+
/** The best S or A grade the pick lists on the backed side. Absent when it lists no S or A grade wallet, and on a locked row. */
|
|
3195
3448
|
top_grade?: string;
|
|
3196
3449
|
unit_score?: number;
|
|
3197
3450
|
}[];
|
|
@@ -4598,6 +4851,35 @@ export type PotdEntryAuthorization = {
|
|
|
4598
4851
|
/** Authorization expiry timestamp. Existing grants do not extend; an expired authorization cannot authorize a new automated entry. */
|
|
4599
4852
|
expires_at: string;
|
|
4600
4853
|
};
|
|
4854
|
+
/** What outcome 0's midpoint did after the move, read from the live order book: two-sided with a spread of 10 cents or less. Each checkpoint is measured (mid and its read time), unavailable (unavailable_reason), or pending. Null never means 0. */
|
|
4855
|
+
export type PriceMoveOutcomeAfter = {
|
|
4856
|
+
/** pending: a checkpoint is not due yet, or due and not read yet. final: every checkpoint is measured or unavailable, and nothing here changes again. */
|
|
4857
|
+
status: "pending" | "final";
|
|
4858
|
+
/** Outcome 0's midpoint at the first read at or after detected_at + 15 minutes, as a decimal string; null until measured or when unavailable. */
|
|
4859
|
+
mid_15m: string | null;
|
|
4860
|
+
/** When the 15-minute midpoint was read. */
|
|
4861
|
+
mid_15m_at: string | null;
|
|
4862
|
+
/** Whether the 15-minute midpoint kept at least half of the move; null when not measured. */
|
|
4863
|
+
held_15m: boolean | null;
|
|
4864
|
+
/** no_quote: no two-sided quote with a spread of 10 cents or less at the checkpoint (an empty or one-sided book, a settled market). missed: no read landed within 5 minutes of the checkpoint. */
|
|
4865
|
+
mid_15m_unavailable_reason: "no_quote" | "missed" | null;
|
|
4866
|
+
/** As mid_15m, at detected_at + 60 minutes. */
|
|
4867
|
+
mid_60m: string | null;
|
|
4868
|
+
/** When the 60-minute midpoint was read. */
|
|
4869
|
+
mid_60m_at: string | null;
|
|
4870
|
+
/** Whether the 60-minute midpoint kept at least half of the move; null when not measured. */
|
|
4871
|
+
held_60m: boolean | null;
|
|
4872
|
+
/** As mid_15m_unavailable_reason. */
|
|
4873
|
+
mid_60m_unavailable_reason: "no_quote" | "missed" | null;
|
|
4874
|
+
/** As mid_15m, at the market's scheduled kickoff, for a pre-game move only. */
|
|
4875
|
+
mid_kickoff: string | null;
|
|
4876
|
+
/** When the kickoff midpoint was read. */
|
|
4877
|
+
mid_kickoff_at: string | null;
|
|
4878
|
+
/** Whether the kickoff midpoint kept at least half of the move; null when not measured and for every move that was not pre-game. */
|
|
4879
|
+
held_kickoff: boolean | null;
|
|
4880
|
+
/** no_quote and missed as for mid_15m_unavailable_reason. not_pre_game: the move was in play or its phase unknown, so it has no kickoff checkpoint. no_scheduled_start: the market had no scheduled kickoff after the move. */
|
|
4881
|
+
mid_kickoff_unavailable_reason: "no_quote" | "missed" | "not_pre_game" | "no_scheduled_start" | null;
|
|
4882
|
+
};
|
|
4601
4883
|
/** Settings for market_price_moved: required when event_types includes it, refused (400) when it does not. A PATCH without it keeps the stored settings; removing the event clears them. A subscription receives at most one delivery per market per window: the one level step whose (previous_level_cents, level_cents] holds min_move_cents. */
|
|
4602
4884
|
export type PriceMoveSubscriptionFilters = {
|
|
4603
4885
|
/** Move threshold in whole cents of outcome 0's midpoint. */
|
|
@@ -5059,6 +5341,14 @@ export type SportLeaderboard = {
|
|
|
5059
5341
|
/** What each row's volume measures. sports_and_esports: the wallet's volume across all its sports and esports markets, not this sport's or league's alone. */
|
|
5060
5342
|
volume_scope: "sports_and_esports";
|
|
5061
5343
|
};
|
|
5344
|
+
/** One stored price move: the market_price_moved payload of the episode's largest step, unchanged, plus move_id, episode_started_at and outcome_after. */
|
|
5345
|
+
export type StoredPriceMove = MarketPriceMovedData & {
|
|
5346
|
+
/** Stable id of the stored move: mv_ and a number. */
|
|
5347
|
+
move_id: string;
|
|
5348
|
+
/** When the episode opened, the order of every page. detected_at is the step this item holds, the episode's largest so far. */
|
|
5349
|
+
episode_started_at: string;
|
|
5350
|
+
outcome_after: PriceMoveOutcomeAfter;
|
|
5351
|
+
};
|
|
5062
5352
|
export type SuspiciousTrade = {
|
|
5063
5353
|
/** Prefixed ID (rf_...). */
|
|
5064
5354
|
id: string;
|
|
@@ -5225,7 +5515,7 @@ export type Trader = {
|
|
|
5225
5515
|
score?: number;
|
|
5226
5516
|
/** Optional forecast score on the documented display scale. Null when unavailable. */
|
|
5227
5517
|
forecast_score?: number;
|
|
5228
|
-
/** Optional
|
|
5518
|
+
/** Optional 0-1 share of forecast_score that the trader's own resolved-market record supports, to two decimal places. It rises toward 1 as more of the trader's markets resolve and never reaches it. Missing values remain unavailable rather than being inferred. */
|
|
5229
5519
|
forecast_evidence?: number;
|
|
5230
5520
|
rank?: number;
|
|
5231
5521
|
pnl: {
|
|
@@ -5366,7 +5656,7 @@ export type TraderCategoryRecords = {
|
|
|
5366
5656
|
basis: "settled_markets_all_sizes";
|
|
5367
5657
|
/** Decided markets a category needs before win_rate is served. Published so a caller can apply its own sample rule to the raw counts. */
|
|
5368
5658
|
min_decided_for_win_rate: number;
|
|
5369
|
-
/** When the served records were last rebuilt (RFC3339, Z): the newest stamp among every row served, game and scope rows included, which the daily rebuild writes in one transaction. Null when the wallet has no record at all. */
|
|
5659
|
+
/** When the served records were last rebuilt (RFC3339, Z): the newest stamp among every row served, game and scope rows included, which the daily rebuild, or the recount about an hour after a settlement, writes in one transaction. Null when the wallet has no record at all. */
|
|
5370
5660
|
computed_at: string | null;
|
|
5371
5661
|
/** One entry per canonical category with at least one decided market, ordered by decided descending then category. A category with no decided market is omitted. The Esports entry carries its per-game records in games, and every entry its per-scope records in scopes. */
|
|
5372
5662
|
records: TraderCategoryRecord[];
|
|
@@ -5378,7 +5668,7 @@ export type TraderCategoryScopeRecord = {
|
|
|
5378
5668
|
display_name: string;
|
|
5379
5669
|
/** Markets in this scope the wallet closed with a profit. */
|
|
5380
5670
|
wins: number;
|
|
5381
|
-
/** Markets in this scope it closed with a profit or a loss. A subset of the parent record's decided: the two are read from the same
|
|
5671
|
+
/** Markets in this scope it closed with a profit or a loss. A subset of the parent record's decided: the two are read from the same rebuild. */
|
|
5382
5672
|
decided: number;
|
|
5383
5673
|
/** wins / decided in [0,1], truncated to four decimals. Null when status is not_enough_data. */
|
|
5384
5674
|
win_rate: number | null;
|
|
@@ -5539,7 +5829,7 @@ export type TraderEsportsGameRecord = {
|
|
|
5539
5829
|
series_slug: string;
|
|
5540
5830
|
/** Markets in this game the wallet closed with a profit. */
|
|
5541
5831
|
wins: number;
|
|
5542
|
-
/** Markets in this game it closed with a profit or a loss. A subset of the parent Esports record's decided: the two are read from the same
|
|
5832
|
+
/** Markets in this game it closed with a profit or a loss. A subset of the parent Esports record's decided: the two are read from the same rebuild. */
|
|
5543
5833
|
decided: number;
|
|
5544
5834
|
/** wins / decided in [0,1], truncated to four decimals. Null when status is not_enough_data. */
|
|
5545
5835
|
win_rate: number | null;
|
|
@@ -6039,7 +6329,7 @@ export type TrendingWallet = {
|
|
|
6039
6329
|
window_markets_traded: number;
|
|
6040
6330
|
/** Distinct in-window UTC trade days from our trades (0 if the winner is not in our DB). */
|
|
6041
6331
|
window_trade_days: number;
|
|
6042
|
-
/** All-time trader grade; a separate axis from streak_tier.
|
|
6332
|
+
/** All-time trader grade; a separate axis from streak_tier. A grade ranks realized profit on settled sports and esports markets against other graded wallets (since 2026-10-22, the sports and esports share of the wallet's realized P&L). Win rate, forecasting edge, record length, drawdown and consistency count too, so a smaller earner with a stronger record can rank above a bigger one. S, A and B go only to wallets that have banked a profit on these markets, and the top grades also check record depth, money at stake, edge and the worst drawdown. Relative, so it drifts as the cohort moves. Omitted when the trader is Unranked (fewer than 5 sports or esports markets, or too little verified record to cohort-rank). */
|
|
6043
6333
|
grade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
6044
6334
|
/** Hot-streak tier (trailing-7d cross-sectional percentile). Omitted when there is no recent activity. */
|
|
6045
6335
|
streak_tier?: "hot" | "rising" | "neutral" | "cooling" | "cold";
|
|
@@ -6589,12 +6879,14 @@ export interface OperationData {
|
|
|
6589
6879
|
};
|
|
6590
6880
|
getApiDiscovery: ApiDiscovery;
|
|
6591
6881
|
getCategoryLeaderboard: CategoryLeader[];
|
|
6882
|
+
getClv: Clv;
|
|
6592
6883
|
getCombo: ComboDetail;
|
|
6593
6884
|
getCombosSummary: CombosSummary;
|
|
6594
6885
|
getCoverage: Platforms;
|
|
6595
6886
|
getDailyReportSnapshot: ReportSnapshot;
|
|
6596
6887
|
getEdgeHunter: EdgeHunterBoard | EdgeHunterRankedSignal[] | EdgeHunterObservation[];
|
|
6597
6888
|
getEventReplaySince: EventReplayEvent[];
|
|
6889
|
+
getFairPrice: FairPrice;
|
|
6598
6890
|
getGame: Game;
|
|
6599
6891
|
getGameHolders: BatchGameHoldersItem[];
|
|
6600
6892
|
getGameSharpMoney: GameSharpMoney;
|
|
@@ -6649,6 +6941,7 @@ export interface OperationData {
|
|
|
6649
6941
|
event_slug?: string;
|
|
6650
6942
|
game_ended?: boolean;
|
|
6651
6943
|
game_started?: boolean;
|
|
6944
|
+
/** The full pick's holder_count: the S and A grade wallets the pick lists on the backed side. sharp_positioned_usd and backed_side_share count every grade the pick lists, so a pick that lists only B grade wallets reads 0 here beside a positive sharp_positioned_usd; read it with pick_id for its display_holders. */
|
|
6652
6945
|
holder_count?: number;
|
|
6653
6946
|
is_free_selection: boolean;
|
|
6654
6947
|
matchup?: string;
|
|
@@ -6661,13 +6954,14 @@ export interface OperationData {
|
|
|
6661
6954
|
return_usd?: number;
|
|
6662
6955
|
stake_usd?: number;
|
|
6663
6956
|
token_id?: string;
|
|
6957
|
+
/** The full pick's top_grade: the best S or A grade the pick lists on the backed side. Absent when the pick lists no S or A grade wallet, for example a pick that lists only B grade wallets. */
|
|
6664
6958
|
top_grade?: string;
|
|
6665
6959
|
unit_score?: number;
|
|
6666
6960
|
/** When the backed game starts (RFC3339 UTC): the full pick's kickoff. */
|
|
6667
6961
|
kickoff?: string;
|
|
6668
|
-
/** The full pick's backed_side_share: the
|
|
6962
|
+
/** The full pick's backed_side_share: the Sharp side share the pick's page shows, the part of the graded wallets' dollars in the market that sat on the backed side when the pick was selected, as a fraction from 0 to 1 (0.887 is the page's 88.7%). */
|
|
6669
6963
|
backed_side_share?: number;
|
|
6670
|
-
/** The full pick's sharp_positioned_usd: the Sharp positioned value the pick's page shows, in USD. */
|
|
6964
|
+
/** The full pick's sharp_positioned_usd: the Sharp positioned value the pick's page shows, the dollars the pick's counted graded wallets held on the backed side, in USD, recorded for the pick and not updated after. */
|
|
6671
6965
|
sharp_positioned_usd?: number;
|
|
6672
6966
|
}[];
|
|
6673
6967
|
proof_pending_picks?: ({
|
|
@@ -6697,6 +6991,48 @@ export interface OperationData {
|
|
|
6697
6991
|
getPickOfTheDayLedger: PickOfTheDayLedger;
|
|
6698
6992
|
getPickOfTheDayLedgerEntry: PickOfTheDayLedgerEntry;
|
|
6699
6993
|
getPickOfTheDayStats: PickOfTheDayStats | PickOfTheDayStatsSections;
|
|
6994
|
+
getPickOfTheDayWalletMarkets: {
|
|
6995
|
+
address: string;
|
|
6996
|
+
as_of: string;
|
|
6997
|
+
basis: "at_release" | "current";
|
|
6998
|
+
category: string;
|
|
6999
|
+
has_more: boolean;
|
|
7000
|
+
listed: {
|
|
7001
|
+
markets: number;
|
|
7002
|
+
matches_printed: boolean | null;
|
|
7003
|
+
status: "counted";
|
|
7004
|
+
won: number;
|
|
7005
|
+
won_share: number | null;
|
|
7006
|
+
} | {
|
|
7007
|
+
status: "counting";
|
|
7008
|
+
} | {
|
|
7009
|
+
status: "unavailable";
|
|
7010
|
+
};
|
|
7011
|
+
markets: ({
|
|
7012
|
+
condition_id: string;
|
|
7013
|
+
polymarket_url: string | null;
|
|
7014
|
+
price_paid: number | null;
|
|
7015
|
+
realized_pnl_usd: number | null;
|
|
7016
|
+
result: "won" | "lost" | "split" | "profit" | "loss";
|
|
7017
|
+
settled_at: string | null;
|
|
7018
|
+
side: "yes" | "no" | "both" | null;
|
|
7019
|
+
side_name: string | null;
|
|
7020
|
+
stake_usd: number | null;
|
|
7021
|
+
title: string | null;
|
|
7022
|
+
won_share: number;
|
|
7023
|
+
})[];
|
|
7024
|
+
name: string | null;
|
|
7025
|
+
next_cursor: string | null;
|
|
7026
|
+
pick_id: number;
|
|
7027
|
+
printed: {
|
|
7028
|
+
markets: number;
|
|
7029
|
+
won: number;
|
|
7030
|
+
won_share: number | null;
|
|
7031
|
+
} | null;
|
|
7032
|
+
sample: "edge" | "record";
|
|
7033
|
+
scope: string | null;
|
|
7034
|
+
within: "scope" | "category";
|
|
7035
|
+
};
|
|
6700
7036
|
getPlatforms: Platforms;
|
|
6701
7037
|
getPositionTimeline: PositionTimelineEvent[];
|
|
6702
7038
|
getPositionTimelineById: PositionTimelineEvent[];
|
|
@@ -6763,6 +7099,16 @@ export interface OperationData {
|
|
|
6763
7099
|
};
|
|
6764
7100
|
};
|
|
6765
7101
|
getTraderGradeAt: TraderGradeAt;
|
|
7102
|
+
getTraderMarkets: ({
|
|
7103
|
+
category: string | null;
|
|
7104
|
+
condition_id: string;
|
|
7105
|
+
cost: ExactDecimal | null;
|
|
7106
|
+
last_trade_at: string | null;
|
|
7107
|
+
realized_pnl: ExactDecimal | null;
|
|
7108
|
+
resolved_at: string | null;
|
|
7109
|
+
status: string;
|
|
7110
|
+
title: string | null;
|
|
7111
|
+
})[];
|
|
6766
7112
|
getTraderPnl: TraderPnl;
|
|
6767
7113
|
getUsage: {
|
|
6768
7114
|
rate_limit: {
|
|
@@ -6953,8 +7299,10 @@ export interface OperationData {
|
|
|
6953
7299
|
listLargeTrades: LargeTrade[];
|
|
6954
7300
|
listLeaderboard: LeaderboardEntry[];
|
|
6955
7301
|
listLeaderboardLeagues: LeaderboardLeagues;
|
|
7302
|
+
listMarketPriceMoves: StoredPriceMove[];
|
|
6956
7303
|
listMarketTrades: MarketTrade[];
|
|
6957
7304
|
listPositions: Position[];
|
|
7305
|
+
listPriceMoves: StoredPriceMove[];
|
|
6958
7306
|
listProps: ({
|
|
6959
7307
|
competitors: string[];
|
|
6960
7308
|
condition_id: string;
|
|
@@ -7161,6 +7509,22 @@ export interface OperationQuery {
|
|
|
7161
7509
|
/** Opaque cel_ pagination cursor from a prior response. It binds the lower-bound/independent-event/wallet boundary to the committed category-skill ranking and to the slug, active_within and min_events of the request that issued it; a cursor from another filter is 400 on cursor, and one issued before the ranking refreshed is 400 with error.reason=cursor_expired. */
|
|
7162
7510
|
cursor?: string;
|
|
7163
7511
|
};
|
|
7512
|
+
getClv: {
|
|
7513
|
+
/** Market condition ID. Accepts the raw provider-backed condition_id returned by /api/v1/markets/search or /api/v1/markets/explore, or the mkt_-prefixed market.id emitted by V1 responses. */
|
|
7514
|
+
condition_id: string;
|
|
7515
|
+
/** The outcome the entry is on: 0 is the first (YES) outcome, 1 the second (NO). The response names both in outcomes. */
|
|
7516
|
+
outcome: 0 | 1;
|
|
7517
|
+
/** A Polymarket price paid, or received with side=sell, strictly between 0 and 1, such as 0.455. Send price or odds, not both. */
|
|
7518
|
+
price?: number;
|
|
7519
|
+
/** Sportsbook odds for the outcome: +130 or -140 with format=american (URL-encode the plus sign as %2B), 2.30 with format=decimal. American odds are +100 or more, or -100 or less; decimal odds are above 1; both within 100,000. Send price or odds, not both; odds are always a buy. */
|
|
7520
|
+
odds?: string;
|
|
7521
|
+
/** How odds is written. Required with odds. */
|
|
7522
|
+
format?: "american" | "decimal";
|
|
7523
|
+
/** buy (the default) or sell. sell is a Polymarket price received and needs price. */
|
|
7524
|
+
side?: "buy" | "sell";
|
|
7525
|
+
/** RFC3339 time the bet was placed. At or after the close's anchor (kickoff) the answer is status in_play with no figures. Omitted, the bet is read as placed before kickoff. */
|
|
7526
|
+
placed_at?: string;
|
|
7527
|
+
};
|
|
7164
7528
|
getCombo: Record<string, never>;
|
|
7165
7529
|
getCombosSummary: Record<string, never>;
|
|
7166
7530
|
getCoverage: Record<string, never>;
|
|
@@ -7175,7 +7539,7 @@ export interface OperationQuery {
|
|
|
7175
7539
|
category?: string;
|
|
7176
7540
|
/** Required for view=observations; wider_holder, in_play or emerging_pile. Rejected for board and signals. wider_holder covers pregame markets that view=signals does not list at its widest selection (horizon_hours=48, min_grade=B, no selector), so until kickoff a market is read in one view or the other. A market view=signals lists leaves wider_holder as primary_slate_candidate, and is a wider_holder candidate again in the first refresh after view=signals stops listing it; signals_as_of names the view=signals snapshot each refresh read. Each refresh evaluates at most 8 markets per sport and cohort, wider_holder by soonest kickoff (most graded holders first among equal kickoffs) and in_play by most graded holders, so a market among a sport's 8 soonest stays evaluated until its game starts. wider_holder also evaluates up to 8 more markets per sport that kick off within 24 hours, most graded holders first, so the most-held markets appear up to a day before kickoff. Each of these keeps its place in later refreshes until its game starts while its holder page still shows a card or could not be read, so a more-held market waits for a free place instead of displacing it. Each row's admitted_by names its place, most_held or soonest_kickoff. The rest count in coverage.capacity_limited_markets. Emerging pile is a wider-holder projection with sharp_pct in [0.75,0.85), complete holder scans and future kickoff, not an independent population or arrival history. */
|
|
7177
7541
|
cohort?: "wider_holder" | "in_play" | "emerging_pile";
|
|
7178
|
-
/** Opt-in admission rule for view=observations with cohort=wider_holder; rejected for every other view and cohort. most_held_48h returns the most-held selection instead of the default one: per sport, up to 8 wider_holder markets kicking off within 48 hours, most indexed_graded_holders first, then most volume, then soonest kickoff, at most 4 per event. indexed_graded_holders, on every row, counts the S, A and B wallets in the 0xinsider index holding either outcome; graded_holders counts the piled side of the provider's holder page and can be larger or smaller, so check the selection against indexed_graded_holders. rank orders the admitted rows by directional_rank_score, as in the default selection, not by either count. It is recomputed every refresh and keeps no place, so a more-held market displaces a less-held one; markets view=signals lists stay excluded. Every row carries admitted_by most_held_48h, including a market the default selection also evaluates, and the response echoes admission. funnel, coverage, degraded and degradation_reasons describe this selection: a wider_holder candidate it did not take counts as capacity_limited, and one it skips counts as provider_excluded. It skips every market of a game the provider marks postponed, cancelled, suspended or final, its exact-score, half-time and other side events included, and a market of the game's main event at a Yes price of 0.02 or lower, or 0.98 or higher. Its markets that no default place covers are read at most once per 10 minutes, one with no holder page to serve right after every default market with none, so a row can rest on a holder page up to 15 minutes old, or up to 30 minutes for a market more than an hour before kickoff that has not traded since that page (holder_snapshot_at). most_held_48h_by_type requires market_types and runs the same rule within each named type: per sport and market_context.market_type, up to 8 markets (4 per event), most indexed_graded_holders first, then volume, then soonest kickoff, so a type whose markets hold fewer wallets than team-win markets still gets its own places. Its rows carry admitted_by most_held_48h_by_type and it has no departures. Its markets no other selection read take turns with the most_held_48h ones in that same order, at most once per 10 minutes. A market type not asked for in the last 30 minutes answers 503 read_model_warming with Retry-After 45 s while the next refresh computes it. Omit for the default selection. Cursors and ETags bind it. */
|
|
7542
|
+
/** Opt-in admission rule for view=observations with cohort=wider_holder; rejected for every other view and cohort. most_held_48h returns the most-held selection instead of the default one: per sport, up to 8 wider_holder markets kicking off within 48 hours, most indexed_graded_holders first, then most volume, then soonest kickoff, at most 4 per event. indexed_graded_holders, on every row, counts the S, A and B wallets in the 0xinsider index holding either outcome; graded_holders counts the piled side of the provider's holder page and can be larger or smaller, so check the selection against indexed_graded_holders. rank orders the admitted rows by directional_rank_score, as in the default selection, not by either count. It is recomputed every refresh and keeps no place, so a more-held market displaces a less-held one; markets view=signals lists stay excluded. Every row carries admitted_by most_held_48h, including a market the default selection also evaluates, and the response echoes admission. funnel, coverage, degraded and degradation_reasons describe this selection: a wider_holder candidate it did not take counts as capacity_limited, and one it skips counts as provider_excluded. It skips every market of a game the provider marks postponed, cancelled, suspended or final, its exact-score, half-time and other side events included, and a market of the game's main event at a Yes price of 0.02 or lower, or 0.98 or higher. Its markets that no default place covers are read at most once per 10 minutes, one with no holder page to serve right after every default market with none, so a row can rest on a holder page up to 15 minutes old, or up to 30 minutes for a market more than an hour before kickoff that has not traded since that page (holder_snapshot_at). most_held_48h_by_type requires market_types and runs the same rule within each named type: per sport and market_context.market_type, up to 8 markets (4 per event), most indexed_graded_holders first, then volume, then soonest kickoff, so a type whose markets hold fewer wallets than team-win markets still gets its own places. Its rows carry admitted_by most_held_48h_by_type and it has no departures. most_held_48h ranks every market type in one queue per sport with no type weighted or dropped before ranking, ties broken by soonest kickoff and then condition_id; market_types narrows its rows only after admission. Both values add most_held_48h_position to each row, the market's place in that queue, and most_held_48h_cutoffs, each sport's last most_held_48h market and its ranking values, so a most_held_48h_by_type row shows how far it was from a most_held_48h slot. Its markets no other selection read take turns with the most_held_48h ones in that same order, at most once per 10 minutes. A market type not asked for in the last 30 minutes answers 503 read_model_warming with Retry-After 45 s while the next refresh computes it. Omit for the default selection. Cursors and ETags bind it. */
|
|
7179
7543
|
admission?: "most_held_48h" | "most_held_48h_by_type";
|
|
7180
7544
|
/** Board and signals: S, A or B, default B. Requires a piled-side holder at the selected grade floor or better, without removing other holders. Rejected for observations. */
|
|
7181
7545
|
min_grade?: "S" | "A" | "B";
|
|
@@ -7220,6 +7584,24 @@ export interface OperationQuery {
|
|
|
7220
7584
|
/** Repeatable. trade adds the public trade read to every event (the object GET /api/v1/whale-trades/{id} returns for it), from one query per page, so a page of 100 events needs no per-event detail request. Not bound to the cursor: switch it on or off mid-walk. */
|
|
7221
7585
|
expand?: "trade"[];
|
|
7222
7586
|
};
|
|
7587
|
+
getFairPrice: {
|
|
7588
|
+
/** The market's condition id, raw or the mkt_-prefixed market.id V1 responses emit, from GET /api/v1/games/{event_slug}/markets. Pass it with outcome, or pass event_slug instead; both is a 400. */
|
|
7589
|
+
condition_id?: string;
|
|
7590
|
+
/** The outcome index to price, 0 or 1, as outcomes[].index on GET /api/v1/games/{event_slug}/markets. Required with condition_id; a 400 with event_slug. */
|
|
7591
|
+
outcome?: 0 | 1;
|
|
7592
|
+
/** The game's event slug from GET /api/v1/games, for example nfl-was-nyg-2026-11-13. Matched case-insensitively. Pass it with market_type and outcome_label, or pass condition_id instead. */
|
|
7593
|
+
event_slug?: string;
|
|
7594
|
+
/** Which of the game's markets: moneyline (who wins), spread (a handicap) or total (over or under). Required with event_slug. */
|
|
7595
|
+
market_type?: "moneyline" | "spread" | "total";
|
|
7596
|
+
/** The side, as the provider labels it: a team name such as Commanders, or Over or Under. A soccer 1X2 leg is named by its title, the team or Draw, and prices that leg's Yes. Matched case-insensitively against the sides of market_type, an open one first. Required with event_slug. When it matches no side, the 404 message lists the game's open sides; when it matches more than one market, the 400 message lists their condition ids. */
|
|
7597
|
+
outcome_label?: string;
|
|
7598
|
+
/** The side's own handicap on a spread (-3.5 for the favourite, 3.5 for the underdog) or the total on a total (222.5). Required with market_type spread or total; a 400 with moneyline. */
|
|
7599
|
+
line?: number;
|
|
7600
|
+
/** The widest spread, best ask less best bid in cents, that still prices: above 0, at most 100, in steps of 0.01. Default 3. A wider spread fails wide_spread. */
|
|
7601
|
+
max_spread_c?: number;
|
|
7602
|
+
/** The least USD each side of the outcome's book must hold within 2 cents of its midpoint: bids at or above the midpoint minus 0.02 and asks at or below the midpoint plus 0.02, each level's price times size. A whole number from 1 to 10000000. Default 500. A thinner side fails thin_book; a depth the cache does not hold fails nothing. */
|
|
7603
|
+
min_book_usd_within_2c?: number;
|
|
7604
|
+
};
|
|
7223
7605
|
getGame: Record<string, never>;
|
|
7224
7606
|
getGameHolders: {
|
|
7225
7607
|
/** 1 to 25 condition_id values of this game's markets, comma-separated. The key may also repeat (condition_ids=a&condition_ids=b). A raw provider condition_id or the mkt_-prefixed market id. */
|
|
@@ -7303,6 +7685,16 @@ export interface OperationQuery {
|
|
|
7303
7685
|
/** Backward-compatible bracket alias for sections, for clients that emit array keys. Repeatable and comma-separated, with the same names. */
|
|
7304
7686
|
"sections[]"?: ("hit_rate" | "series" | "market_expectations" | "outcome_stats" | "ask_comparison" | "days" | "categories" | "sports" | "tiers" | "months" | "price_bands" | "market_types" | "total_sides" | "streaks" | "records" | "voids")[];
|
|
7305
7687
|
};
|
|
7688
|
+
getPickOfTheDayWalletMarkets: {
|
|
7689
|
+
/** edge: the markets behind the row's edge (won X% of N markets, settled markets of $20 or more where the side and price are known). record: the markets behind its any-size record (X of N markets in profit). Any other value, or none, returns 400 bad_request with error.param=sample. */
|
|
7690
|
+
sample: "edge" | "record";
|
|
7691
|
+
/** scope: the league or esports title the row names; the default when it names one. category: the whole sport, the default otherwise. scope on a row that names none returns 404. Any other value returns 400 bad_request with error.param=within. */
|
|
7692
|
+
within?: "scope" | "category";
|
|
7693
|
+
/** Markets per page, 1 to 200, default 50. An integer outside that range is clamped into it, and X-Effective-Query reports the limit applied; a value that is not an integer returns 400 invalid_query. */
|
|
7694
|
+
limit?: number;
|
|
7695
|
+
/** The next_cursor of the previous page: the markets after it, newest first. A value this list did not return in that form returns 400 bad_request with error.param=cursor. */
|
|
7696
|
+
cursor?: string;
|
|
7697
|
+
};
|
|
7306
7698
|
getPlatforms: Record<string, never>;
|
|
7307
7699
|
getPositionTimeline: {
|
|
7308
7700
|
/** Market condition_id. One timeline per (trader, market). */
|
|
@@ -7398,6 +7790,14 @@ export interface OperationQuery {
|
|
|
7398
7790
|
/** RFC3339 instant whose historically visible grade is requested. Future instants are refused. Send the trade or decision time, not the ranking date. */
|
|
7399
7791
|
as_of: string;
|
|
7400
7792
|
};
|
|
7793
|
+
getTraderMarkets: {
|
|
7794
|
+
/** open, closed (default) or all. closed is the profile Closed tab. all is one time order, newest last trade first, not open rows before closed rows. */
|
|
7795
|
+
status?: "open" | "closed" | "all";
|
|
7796
|
+
/** Markets per page. Default 20, at most 100. */
|
|
7797
|
+
limit?: number;
|
|
7798
|
+
/** next_cursor from the previous page. It is bound to the same status. */
|
|
7799
|
+
cursor?: string;
|
|
7800
|
+
};
|
|
7401
7801
|
getTraderPnl: {
|
|
7402
7802
|
/** Inclusive UTC calendar-date lower bound in YYYY-MM-DD form for the daily series (entries and drawdown). Omit for the whole stored history. A value that is not a calendar date, or a from later than to, returns 400 bad_request with error.param from. Does not change stats, monthly or year_totals, which stay defined over the full history. */
|
|
7403
7803
|
from?: string;
|
|
@@ -7491,7 +7891,7 @@ export interface OperationQuery {
|
|
|
7491
7891
|
limit?: number;
|
|
7492
7892
|
/** Pagination cursor from previous response. */
|
|
7493
7893
|
cursor?: string;
|
|
7494
|
-
/** Minimum suspicion score (0-100).
|
|
7894
|
+
/** Minimum suspicion score (0-100). Every listed trade already meets the flag floor, so a lower value changes nothing. */
|
|
7495
7895
|
min_suspicion?: number;
|
|
7496
7896
|
/** Compatible filter. flag selects live threshold crossings. watch returns no rows because no live watch policy exists. */
|
|
7497
7897
|
severity?: "flag" | "watch";
|
|
@@ -7547,7 +7947,7 @@ export interface OperationQuery {
|
|
|
7547
7947
|
min_grade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7548
7948
|
/** Minimum grade the trader held when the trade filled (trader.grade_at_trade). Only rows whose trader.grade_at_trade_status is graded can match, so a trade before 2026-09-19T23:00Z, or one made while the wallet's grade was changing, never does. The same basis as min_grade_at_trade on GET /api/v1/large-trades, GET /api/v1/stream and webhook trade_filters, so a history read and a stream with the same floor agree. Applies to both sorts and beside condition_id, event_slug, trader and from/to. Sending it with min_grade is 400. A means S or A, B means S, A or B. */
|
|
7549
7949
|
min_grade_at_trade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7550
|
-
/** When true, return only
|
|
7950
|
+
/** When true, return only the trades the unusual-activity check flagged. The filter is applied before SQL-backed limit + 1 pagination. */
|
|
7551
7951
|
suspicious_only?: boolean;
|
|
7552
7952
|
/** Filter by whale_alerts.platform. all is equivalent to omitted. */
|
|
7553
7953
|
platform?: "polymarket" | "all";
|
|
@@ -7575,7 +7975,7 @@ export interface OperationQuery {
|
|
|
7575
7975
|
min_grade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7576
7976
|
/** Minimum grade the trader held when the trade filled (trader.grade_at_trade). Only rows whose trader.grade_at_trade_status is graded can match, so a trade before 2026-09-19T23:00Z, or one made while the wallet's grade was changing, never does. The same basis as min_grade_at_trade on GET /api/v1/stream and on webhook trade_filters, so a client that catches up here and then streams gets one answer. Applies to every path: recent, since, sort=market_volume_share, condition_id and event_slug. Sending it with min_grade is 400. A means S or A, B means S, A or B. */
|
|
7577
7977
|
min_grade_at_trade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7578
|
-
/** When true, return only
|
|
7978
|
+
/** When true, return only the trades the unusual-activity check flagged. The filter is applied before SQL-backed limit + 1 pagination. */
|
|
7579
7979
|
suspicious_only?: boolean;
|
|
7580
7980
|
/** Keep only trades whose market_volume_share is known and at least this. A fraction, not a percent: 0.01 is one percent of the market's traded volume. A trade whose share is unavailable is never returned by a non-zero value, because an unavailable share cannot be said to clear a floor. */
|
|
7581
7981
|
min_market_volume_share?: number;
|
|
@@ -7605,6 +8005,26 @@ export interface OperationQuery {
|
|
|
7605
8005
|
activity?: "all" | "active" | "inactive";
|
|
7606
8006
|
};
|
|
7607
8007
|
listLeaderboardLeagues: Record<string, never>;
|
|
8008
|
+
listMarketPriceMoves: {
|
|
8009
|
+
/** Least whole-cent level the move reached (level_cents). The detector stores moves of 2 cents or more, so 1 and 2 both return every move. */
|
|
8010
|
+
min_move_cents?: number;
|
|
8011
|
+
/** Only moves measured over this window, in seconds. Omitted: every window. */
|
|
8012
|
+
window_seconds?: 60 | 120 | 300 | 900;
|
|
8013
|
+
/** Only moves detected in this game phase. Omitted: every phase, unknown included. */
|
|
8014
|
+
phase?: "pre_game" | "in_play";
|
|
8015
|
+
/** Only moves that held at this checkpoint: outcome 0's midpoint there kept at least half of the move, (mid - from_price) / (to_price - from_price) >= 0.5. A move not measured there yet, or with no price there, is left out. */
|
|
8016
|
+
held?: "15m" | "60m" | "kickoff";
|
|
8017
|
+
/** Only moves whose book_depth_within_2c was measured and held at least this many USD within 2 cents of the midpoint on each side; a move with no measured depth is left out. The webhook filter of the same name applies the same rule. */
|
|
8018
|
+
min_book_usd_within_2c?: number;
|
|
8019
|
+
/** Inclusive RFC 3339 lower bound on episode_started_at. Earlier than 90 days ago, or omitted: 90 days ago, the retention. */
|
|
8020
|
+
since?: string;
|
|
8021
|
+
/** Exclusive RFC 3339 upper bound on episode_started_at. Omitted: now. */
|
|
8022
|
+
until?: string;
|
|
8023
|
+
/** Page size. Out-of-range values are clamped to 1..200. */
|
|
8024
|
+
limit?: number;
|
|
8025
|
+
/** Opaque pm_v1_ cursor from next_cursor. It continues the walk before the position it names; send the same filters with it. A cursor these routes did not issue returns 400 with error.param=cursor. */
|
|
8026
|
+
cursor?: string;
|
|
8027
|
+
};
|
|
7608
8028
|
listMarketTrades: {
|
|
7609
8029
|
/** Inclusive RFC 3339 lower bound on traded_at. Omitted or earlier than coverage.recorded_from: the walk runs to the start of the record (coverage.recorded_from). With cursor, it must match the cursor's. */
|
|
7610
8030
|
from?: string;
|
|
@@ -7637,6 +8057,32 @@ export interface OperationQuery {
|
|
|
7637
8057
|
/** Filter by the binary outcome side. `yes` maps to outcome_index=0, `no` to outcome_index=1. */
|
|
7638
8058
|
side?: "yes" | "no";
|
|
7639
8059
|
};
|
|
8060
|
+
listPriceMoves: {
|
|
8061
|
+
/** One league prefix, lowercase, as the event slug starts: nba, nfl, epl, cs2. Name at most one of league, event_slug and condition_id. */
|
|
8062
|
+
league?: string;
|
|
8063
|
+
/** One Polymarket event (game): the moves of each of its markets. An event outside sports and esports returns 404 market_out_of_scope. */
|
|
8064
|
+
event_slug?: string;
|
|
8065
|
+
/** One market's moves, as GET /api/v1/market/{condition_id}/price-moves returns them. Accepts the raw condition_id or the mkt_-prefixed market.id. */
|
|
8066
|
+
condition_id?: string;
|
|
8067
|
+
/** Least whole-cent level the move reached (level_cents). The detector stores moves of 2 cents or more, so 1 and 2 both return every move. */
|
|
8068
|
+
min_move_cents?: number;
|
|
8069
|
+
/** Only moves measured over this window, in seconds. Omitted: every window. */
|
|
8070
|
+
window_seconds?: 60 | 120 | 300 | 900;
|
|
8071
|
+
/** Only moves detected in this game phase. Omitted: every phase, unknown included. */
|
|
8072
|
+
phase?: "pre_game" | "in_play";
|
|
8073
|
+
/** Only moves that held at this checkpoint: outcome 0's midpoint there kept at least half of the move, (mid - from_price) / (to_price - from_price) >= 0.5. A move not measured there yet, or with no price there, is left out. */
|
|
8074
|
+
held?: "15m" | "60m" | "kickoff";
|
|
8075
|
+
/** Only moves whose book_depth_within_2c was measured and held at least this many USD within 2 cents of the midpoint on each side; a move with no measured depth is left out. The webhook filter of the same name applies the same rule. */
|
|
8076
|
+
min_book_usd_within_2c?: number;
|
|
8077
|
+
/** Inclusive RFC 3339 lower bound on episode_started_at. Earlier than 90 days ago, or omitted: 90 days ago, the retention. */
|
|
8078
|
+
since?: string;
|
|
8079
|
+
/** Exclusive RFC 3339 upper bound on episode_started_at. Omitted: now. */
|
|
8080
|
+
until?: string;
|
|
8081
|
+
/** Page size. Out-of-range values are clamped to 1..200. */
|
|
8082
|
+
limit?: number;
|
|
8083
|
+
/** Opaque pm_v1_ cursor from next_cursor. It continues the walk before the position it names; send the same filters with it. A cursor these routes did not issue returns 400 with error.param=cursor. */
|
|
8084
|
+
cursor?: string;
|
|
8085
|
+
};
|
|
7640
8086
|
listProps: {
|
|
7641
8087
|
/** League tag as GET /api/v1/games coverage.leagues spells it, for example nfl or nba. Matched case-insensitively. */
|
|
7642
8088
|
league: string;
|
|
@@ -7726,7 +8172,7 @@ export interface OperationQuery {
|
|
|
7726
8172
|
limit?: number;
|
|
7727
8173
|
/** Pagination cursor from previous response. */
|
|
7728
8174
|
cursor?: string;
|
|
7729
|
-
/** Minimum suspicion score (0-100).
|
|
8175
|
+
/** Minimum suspicion score (0-100). Every listed trade already meets the flag floor, so a lower value changes nothing. */
|
|
7730
8176
|
min_suspicion?: number;
|
|
7731
8177
|
/** Compatible filter. flag selects live threshold crossings. watch returns no rows because no live watch policy exists. */
|
|
7732
8178
|
severity?: "flag" | "watch";
|
|
@@ -7784,7 +8230,7 @@ export interface OperationQuery {
|
|
|
7784
8230
|
min_grade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7785
8231
|
/** Minimum grade the trader held when the trade filled (trader.grade_at_trade). Only rows whose trader.grade_at_trade_status is graded can match, so a trade before 2026-09-19T23:00Z, or one made while the wallet's grade was changing, never does. The same basis as min_grade_at_trade on GET /api/v1/large-trades, GET /api/v1/stream and webhook trade_filters, so a history read and a stream with the same floor agree. Applies to both sorts and beside condition_id, event_slug, trader and from/to. Sending it with min_grade is 400. A means S or A, B means S, A or B. */
|
|
7786
8232
|
min_grade_at_trade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7787
|
-
/** When true, return only
|
|
8233
|
+
/** When true, return only the trades the unusual-activity check flagged. The filter is applied before SQL-backed limit + 1 pagination. */
|
|
7788
8234
|
suspicious_only?: boolean;
|
|
7789
8235
|
/** Filter by whale_alerts.platform. all is equivalent to omitted. */
|
|
7790
8236
|
platform?: "polymarket" | "all";
|
|
@@ -7812,7 +8258,7 @@ export interface OperationQuery {
|
|
|
7812
8258
|
min_grade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7813
8259
|
/** Minimum grade the trader held when the trade filled (trader.grade_at_trade). Only rows whose trader.grade_at_trade_status is graded can match, so a trade before 2026-09-19T23:00Z, or one made while the wallet's grade was changing, never does. The same basis as min_grade_at_trade on GET /api/v1/stream and on webhook trade_filters, so a client that catches up here and then streams gets one answer. Applies to every path: recent, since, sort=market_volume_share, condition_id and event_slug. Sending it with min_grade is 400. A means S or A, B means S, A or B. */
|
|
7814
8260
|
min_grade_at_trade?: "S" | "A" | "B" | "C" | "D" | "F";
|
|
7815
|
-
/** When true, return only
|
|
8261
|
+
/** When true, return only the trades the unusual-activity check flagged. The filter is applied before SQL-backed limit + 1 pagination. */
|
|
7816
8262
|
suspicious_only?: boolean;
|
|
7817
8263
|
/** Keep only trades whose market_volume_share is known and at least this. A fraction, not a percent: 0.01 is one percent of the market's traded volume. A trade whose share is unavailable is never returned by a non-zero value, because an unavailable share cannot be said to clear a floor. */
|
|
7818
8264
|
min_market_volume_share?: number;
|
|
@@ -7893,6 +8339,7 @@ export interface OperationPath {
|
|
|
7893
8339
|
/** The category slug, for example soccer, basketball, tennis or esports, as GET /api/v1/leaderboard/categories lists it lowercased. Matched case-insensitively. */
|
|
7894
8340
|
slug: string;
|
|
7895
8341
|
};
|
|
8342
|
+
getClv: Record<string, never>;
|
|
7896
8343
|
getCombo: {
|
|
7897
8344
|
/** Combo identifier: 0x followed by 62 lowercase hex characters. This differs from a binary market condition ID. */
|
|
7898
8345
|
condition_id: string;
|
|
@@ -7902,6 +8349,7 @@ export interface OperationPath {
|
|
|
7902
8349
|
getDailyReportSnapshot: Record<string, never>;
|
|
7903
8350
|
getEdgeHunter: Record<string, never>;
|
|
7904
8351
|
getEventReplaySince: Record<string, never>;
|
|
8352
|
+
getFairPrice: Record<string, never>;
|
|
7905
8353
|
getGame: {
|
|
7906
8354
|
/** The game's event slug, for example nfl-buf-nyj-2026-09-22. Matched case-insensitively. */
|
|
7907
8355
|
event_slug: string;
|
|
@@ -7968,6 +8416,12 @@ export interface OperationPath {
|
|
|
7968
8416
|
pick_id: string;
|
|
7969
8417
|
};
|
|
7970
8418
|
getPickOfTheDayStats: Record<string, never>;
|
|
8419
|
+
getPickOfTheDayWalletMarkets: {
|
|
8420
|
+
/** The pick's stable pick_id as decimal text. */
|
|
8421
|
+
pick_id: string;
|
|
8422
|
+
/** A wallet address the pick's display_holders list, 0x and 40 hex characters, either case. Any other value returns 404. */
|
|
8423
|
+
address: string;
|
|
8424
|
+
};
|
|
7971
8425
|
getPlatforms: Record<string, never>;
|
|
7972
8426
|
getPositionTimeline: {
|
|
7973
8427
|
/** Trader identity: 0x... wallet address, username, trd_-prefixed trader id, bare integer traders.id, or @username. Resolved with precedence @username -> wallet -> trd_ -> integer -> username (a leading @ forces a username lookup, for all-digit usernames); wallet matching is case-insensitive. */
|
|
@@ -8020,6 +8474,10 @@ export interface OperationPath {
|
|
|
8020
8474
|
/** Wallet address (0x...), username, or trd_-prefixed trader id. */
|
|
8021
8475
|
address: string;
|
|
8022
8476
|
};
|
|
8477
|
+
getTraderMarkets: {
|
|
8478
|
+
/** Wallet address (0x...), username, or trd_-prefixed trader id. */
|
|
8479
|
+
address: string;
|
|
8480
|
+
};
|
|
8023
8481
|
getTraderPnl: {
|
|
8024
8482
|
/** Wallet address (0x...), username, or trd_-prefixed trader id. */
|
|
8025
8483
|
address: string;
|
|
@@ -8071,11 +8529,16 @@ export interface OperationPath {
|
|
|
8071
8529
|
listLargeTrades: Record<string, never>;
|
|
8072
8530
|
listLeaderboard: Record<string, never>;
|
|
8073
8531
|
listLeaderboardLeagues: Record<string, never>;
|
|
8532
|
+
listMarketPriceMoves: {
|
|
8533
|
+
/** Market condition ID. Accepts the raw provider-backed condition_id returned by /api/v1/markets/search or /api/v1/markets/explore, or the mkt_-prefixed market.id emitted by V1 responses. */
|
|
8534
|
+
condition_id: string;
|
|
8535
|
+
};
|
|
8074
8536
|
listMarketTrades: {
|
|
8075
8537
|
/** Market condition ID. Accepts the raw provider-backed condition_id returned by /api/v1/markets/search or /api/v1/markets/explore, or the mkt_-prefixed market.id emitted by V1 responses. */
|
|
8076
8538
|
condition_id: string;
|
|
8077
8539
|
};
|
|
8078
8540
|
listPositions: Record<string, never>;
|
|
8541
|
+
listPriceMoves: Record<string, never>;
|
|
8079
8542
|
listProps: Record<string, never>;
|
|
8080
8543
|
listSettledMarkets: Record<string, never>;
|
|
8081
8544
|
listSharpMoneyFlows: Record<string, never>;
|
|
@@ -8179,12 +8642,14 @@ export interface OperationBody {
|
|
|
8179
8642
|
getAccountIdentity: never;
|
|
8180
8643
|
getApiDiscovery: never;
|
|
8181
8644
|
getCategoryLeaderboard: never;
|
|
8645
|
+
getClv: never;
|
|
8182
8646
|
getCombo: never;
|
|
8183
8647
|
getCombosSummary: never;
|
|
8184
8648
|
getCoverage: never;
|
|
8185
8649
|
getDailyReportSnapshot: never;
|
|
8186
8650
|
getEdgeHunter: never;
|
|
8187
8651
|
getEventReplaySince: never;
|
|
8652
|
+
getFairPrice: never;
|
|
8188
8653
|
getGame: never;
|
|
8189
8654
|
getGameHolders: never;
|
|
8190
8655
|
getGameSharpMoney: never;
|
|
@@ -8206,6 +8671,7 @@ export interface OperationBody {
|
|
|
8206
8671
|
getPickOfTheDayLedger: never;
|
|
8207
8672
|
getPickOfTheDayLedgerEntry: never;
|
|
8208
8673
|
getPickOfTheDayStats: never;
|
|
8674
|
+
getPickOfTheDayWalletMarkets: never;
|
|
8209
8675
|
getPlatforms: never;
|
|
8210
8676
|
getPositionTimeline: never;
|
|
8211
8677
|
getPositionTimelineById: never;
|
|
@@ -8222,6 +8688,7 @@ export interface OperationBody {
|
|
|
8222
8688
|
getTraderExportSnapshot: never;
|
|
8223
8689
|
getTraderExportStatus: never;
|
|
8224
8690
|
getTraderGradeAt: never;
|
|
8691
|
+
getTraderMarkets: never;
|
|
8225
8692
|
getTraderPnl: never;
|
|
8226
8693
|
getUsage: never;
|
|
8227
8694
|
getWebhook: never;
|
|
@@ -8242,8 +8709,10 @@ export interface OperationBody {
|
|
|
8242
8709
|
listLargeTrades: never;
|
|
8243
8710
|
listLeaderboard: never;
|
|
8244
8711
|
listLeaderboardLeagues: never;
|
|
8712
|
+
listMarketPriceMoves: never;
|
|
8245
8713
|
listMarketTrades: never;
|
|
8246
8714
|
listPositions: never;
|
|
8715
|
+
listPriceMoves: never;
|
|
8247
8716
|
listProps: never;
|
|
8248
8717
|
listSettledMarkets: never;
|
|
8249
8718
|
listSharpMoneyFlows: never;
|
|
@@ -8364,6 +8833,11 @@ export interface OperationResponse {
|
|
|
8364
8833
|
total?: number;
|
|
8365
8834
|
meta: ResponseMeta;
|
|
8366
8835
|
};
|
|
8836
|
+
getClv: {
|
|
8837
|
+
object: "clv";
|
|
8838
|
+
data: OperationData["getClv"];
|
|
8839
|
+
meta: ResponseMeta;
|
|
8840
|
+
};
|
|
8367
8841
|
getCombo: ComboResponse;
|
|
8368
8842
|
getCombosSummary: CombosSummaryResponse;
|
|
8369
8843
|
getCoverage: {
|
|
@@ -8384,6 +8858,11 @@ export interface OperationResponse {
|
|
|
8384
8858
|
next_cursor: string;
|
|
8385
8859
|
meta: EventReplayMeta;
|
|
8386
8860
|
};
|
|
8861
|
+
getFairPrice: {
|
|
8862
|
+
object: "fair_price";
|
|
8863
|
+
data: OperationData["getFairPrice"];
|
|
8864
|
+
meta: ResponseMeta;
|
|
8865
|
+
};
|
|
8387
8866
|
getGame: {
|
|
8388
8867
|
object: "game";
|
|
8389
8868
|
data: OperationData["getGame"];
|
|
@@ -8495,6 +8974,11 @@ export interface OperationResponse {
|
|
|
8495
8974
|
data: OperationData["getPickOfTheDayStats"];
|
|
8496
8975
|
meta: ResponseMeta;
|
|
8497
8976
|
};
|
|
8977
|
+
getPickOfTheDayWalletMarkets: {
|
|
8978
|
+
object: "pick_of_the_day_wallet_markets";
|
|
8979
|
+
data: OperationData["getPickOfTheDayWalletMarkets"];
|
|
8980
|
+
meta: ResponseMeta;
|
|
8981
|
+
};
|
|
8498
8982
|
getPlatforms: {
|
|
8499
8983
|
object: "platforms";
|
|
8500
8984
|
data: OperationData["getPlatforms"];
|
|
@@ -8571,6 +9055,14 @@ export interface OperationResponse {
|
|
|
8571
9055
|
data: OperationData["getTraderGradeAt"];
|
|
8572
9056
|
meta: ResponseMeta;
|
|
8573
9057
|
};
|
|
9058
|
+
getTraderMarkets: {
|
|
9059
|
+
object: "list";
|
|
9060
|
+
data: OperationData["getTraderMarkets"];
|
|
9061
|
+
meta: ResponseMeta;
|
|
9062
|
+
has_more: boolean;
|
|
9063
|
+
next_cursor?: string;
|
|
9064
|
+
total?: number;
|
|
9065
|
+
};
|
|
8574
9066
|
getTraderPnl: {
|
|
8575
9067
|
object: "trader_pnl";
|
|
8576
9068
|
data: OperationData["getTraderPnl"];
|
|
@@ -8710,6 +9202,17 @@ export interface OperationResponse {
|
|
|
8710
9202
|
data: OperationData["listLeaderboardLeagues"];
|
|
8711
9203
|
meta: ResponseMeta;
|
|
8712
9204
|
};
|
|
9205
|
+
listMarketPriceMoves: {
|
|
9206
|
+
object: "list";
|
|
9207
|
+
/** Newest episode first by episode_started_at, then move_id. Can hold fewer than limit moves, even none, while has_more is true. */
|
|
9208
|
+
data: OperationData["listMarketPriceMoves"];
|
|
9209
|
+
/** True when older moves may remain: send next_cursor for them. A page reads a fixed share of the history, so follow next_cursor until has_more is false rather than stopping at a short page. */
|
|
9210
|
+
has_more: boolean;
|
|
9211
|
+
/** Opaque pm_v1_ cursor for the next page; absent when has_more is false. */
|
|
9212
|
+
next_cursor?: string;
|
|
9213
|
+
meta: ResponseMeta;
|
|
9214
|
+
total?: number;
|
|
9215
|
+
};
|
|
8713
9216
|
listMarketTrades: {
|
|
8714
9217
|
object: "list";
|
|
8715
9218
|
/** Newest first by traded_at, then transaction_hash, then log_index. */
|
|
@@ -8750,6 +9253,17 @@ export interface OperationResponse {
|
|
|
8750
9253
|
};
|
|
8751
9254
|
meta: ResponseMeta;
|
|
8752
9255
|
};
|
|
9256
|
+
listPriceMoves: {
|
|
9257
|
+
object: "list";
|
|
9258
|
+
/** Newest episode first by episode_started_at, then move_id. Can hold fewer than limit moves, even none, while has_more is true. */
|
|
9259
|
+
data: OperationData["listPriceMoves"];
|
|
9260
|
+
/** True when older moves may remain: send next_cursor for them. A page reads a fixed share of the history, so follow next_cursor until has_more is false rather than stopping at a short page. */
|
|
9261
|
+
has_more: boolean;
|
|
9262
|
+
/** Opaque pm_v1_ cursor for the next page; absent when has_more is false. */
|
|
9263
|
+
next_cursor?: string;
|
|
9264
|
+
meta: ResponseMeta;
|
|
9265
|
+
total?: number;
|
|
9266
|
+
};
|
|
8753
9267
|
listProps: {
|
|
8754
9268
|
as_of: string;
|
|
8755
9269
|
data: OperationData["listProps"];
|