@0xinsider/sdk 0.132.2 → 0.133.1
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/dist/client.d.ts +8 -5
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +8 -5
- package/dist/client.js.map +1 -1
- package/dist/provenance.d.ts +1 -1
- package/dist/provenance.js +2 -2
- package/dist/schema.d.ts +33 -28
- package/dist/schema.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -630,15 +630,15 @@ export type EdgeHunterBoard = {
|
|
|
630
630
|
/** Ranked rows after normalized selections and grade filtering, before the view-specific limit cap. */
|
|
631
631
|
total: number;
|
|
632
632
|
rows: EdgeHunterRow[];
|
|
633
|
-
/** Markets the window and selection evaluated without a row, by reason. Candidates enter from 24-hour S/A/B large trades or multi-wallet S/A positioning, so total plus the four counts covers the evaluated candidates (with board rows deduplicated to one per event_slug). Null on a snapshot cached before the counts existed. */
|
|
633
|
+
/** Markets the window and selection evaluated without a row, by reason. Candidates enter from 24-hour S/A/B large trades or multi-wallet S/A positioning, so total plus the four counts covers the evaluated candidates (with board rows deduplicated to one per game: a companion event such as event_slug ...-more-markets counts as the same game). Null on a snapshot cached before the counts existed. */
|
|
634
634
|
unranked: {
|
|
635
|
-
/** A side is backed, but no wallet on it is at or above min_grade. */
|
|
635
|
+
/** A side is backed, but no wallet on it holding at least $25 net value is at or above min_grade. */
|
|
636
636
|
below_grade_floor: number;
|
|
637
637
|
/** No S or A wallet holds either side now; a market only B wallets hold counts here. */
|
|
638
638
|
no_graded_holders: number;
|
|
639
|
-
/** Graded money on the two sides is too evenly split to back a side. */
|
|
639
|
+
/** Graded money on the two sides is too evenly split to back a side, and neither side's S and A money share sits at least 0.05 above its market price. */
|
|
640
640
|
split_holder_pile: number;
|
|
641
|
-
/** S or A wallets hold a side, but its money share does not sit far enough above the market price (or lost
|
|
641
|
+
/** S or A wallets hold a side, but its money share does not sit far enough above the market price (or lost conflict reconciliation within its game: the other team, the draw, a fade of the backed team, or the other side of the same total). */
|
|
642
642
|
below_price_edge: number;
|
|
643
643
|
} | null;
|
|
644
644
|
};
|
|
@@ -649,7 +649,7 @@ export type EdgeHunterBoardResponse = {
|
|
|
649
649
|
/** Normalized axes requested with a selector or category; omitted on an unselected default read. */
|
|
650
650
|
selection?: EdgeHunterSelection;
|
|
651
651
|
};
|
|
652
|
-
/** Category evidence over the full uncapped piled-side S
|
|
652
|
+
/** Category evidence over the full uncapped piled-side S and A holder allocation. It never changes signal membership, ordering, routing, or sizing. */
|
|
653
653
|
export type EdgeHunterCategorySkill = {
|
|
654
654
|
status: "live" | "insufficient" | "stale" | "unknown" | "degraded";
|
|
655
655
|
model_version: string;
|
|
@@ -695,7 +695,7 @@ export type EdgeHunterMostHeld48hCutoff = {
|
|
|
695
695
|
position: number;
|
|
696
696
|
/** 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). */
|
|
697
697
|
condition_id: string;
|
|
698
|
-
/** The first ranking value: S
|
|
698
|
+
/** The first ranking value: S and A graded wallets in the 0xinsider index holding either outcome, as on a row's indexed_graded_holders. */
|
|
699
699
|
indexed_graded_holders: number;
|
|
700
700
|
/** 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. */
|
|
701
701
|
volume: number | null;
|
|
@@ -753,7 +753,7 @@ export type EdgeHunterObservation = {
|
|
|
753
753
|
s_count: number;
|
|
754
754
|
a_count: number;
|
|
755
755
|
b_count: number;
|
|
756
|
-
/** Piled-side S
|
|
756
|
+
/** Piled-side S and A wallets holding at least $25 net value (s_count + a_count). B wallets are listed in b_count and not counted; before late November 2026 this count added b_count. */
|
|
757
757
|
graded_holders: number;
|
|
758
758
|
top_grade: "S" | "A" | "B";
|
|
759
759
|
/**
|
|
@@ -786,11 +786,11 @@ export type EdgeHunterObservation = {
|
|
|
786
786
|
rank: number;
|
|
787
787
|
/** Required nullable frozen metadata context. Null only during the legacy-generation transition; selected reads require sidecar readiness and fail closed with 503 instead. */
|
|
788
788
|
market_context: EdgeHunterMarketContext | null;
|
|
789
|
-
/** S
|
|
789
|
+
/** S and A graded wallets in the 0xinsider index holding either outcome of the market (B wallets are not counted; before late November 2026 they were), 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. */
|
|
790
790
|
indexed_graded_holders: number | null;
|
|
791
791
|
/** 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. On admission=most_held_48h_min_25_usd it is the place in that selection's own order, most indexed_graded_holders_min_25_usd first. Omitted on a default read and on a snapshot computed before this field. */
|
|
792
792
|
most_held_48h_position?: number | null;
|
|
793
|
-
/** admission=most_held_48h_min_25_usd only: of indexed_graded_holders, the S
|
|
793
|
+
/** admission=most_held_48h_min_25_usd only: of indexed_graded_holders, the S and A graded wallets whose position in the market is worth $25 or more, both outcomes together, at the value the 0xinsider index last read for the wallet. That selection ranks each sport by this count, then by most volume, then by soonest game_start_time, then by condition_id, at most 4 markets per event. It is never larger than indexed_graded_holders. Omitted on every other response. */
|
|
794
794
|
indexed_graded_holders_min_25_usd?: number;
|
|
795
795
|
/** The Polymarket protocol the market trades on, Gamma's market version: v1 (CTF, ConditionalTokens) or v2 (Protocol V2). Read from the condition id, the same value GET /api/v1/markets/settled serves. On a v2 market every token_id this object names is a V2 position id: sign its orders for ExchangeV3 and read its balance as CONDITIONAL-V2. */
|
|
796
796
|
protocol_version: "v1" | "v2";
|
|
@@ -832,7 +832,7 @@ export type EdgeHunterObservationDeparture = {
|
|
|
832
832
|
last_observed_at: string;
|
|
833
833
|
/** snapshot_as_of of the first snapshot of this selection without the card. */
|
|
834
834
|
departed_at: string;
|
|
835
|
-
/** Why the market has no card: its terminal in this selection's funnel in the snapshot it left, and while that terminal reports a read that did not finish (holder_deadline_unavailable, provider_unavailable, holder_computation_unavailable, internal_unclassified), the terminal of each later snapshot until one answers; an answered reason stays, except as view=signals starts or stops listing the market. primary_slate_candidate: view=signals lists the market. While the entry stays, a later snapshot that read view=signals and no longer excludes the market replaces it with that snapshot's terminal, one that excludes the market replaces any other reason with it, and one with signals_as_of null leaves it as it is. capacity_limited: it lost its evaluation place without another outcome. missing_stored_market: the market was no longer in the stored market universe. Any other value means what it means in the funnel, for example split_holder_pile, no_current_graded_holder or resolved. */
|
|
835
|
+
/** Why the market has no card: its terminal in this selection's funnel in the snapshot it left, and while that terminal reports a read that did not finish (holder_deadline_unavailable, provider_unavailable, holder_computation_unavailable, internal_unclassified), the terminal of each later snapshot until one answers; an answered reason stays, except as view=signals starts or stops listing the market. primary_slate_candidate: view=signals lists the market. While the entry stays, a later snapshot that read view=signals and no longer excludes the market replaces it with that snapshot's terminal, one that excludes the market replaces any other reason with it, and one with signals_as_of null leaves it as it is. capacity_limited: it lost its evaluation place without another outcome. missing_stored_market: the market was no longer in the stored market universe. Any other value means what it means in the funnel, for example split_holder_pile, game_conflict, no_current_graded_holder or resolved. */
|
|
836
836
|
reason: EdgeHunterObservationTerminalReason;
|
|
837
837
|
};
|
|
838
838
|
/** A market's stay in a most-held selection's places that ended before kickoff, with why it ended. */
|
|
@@ -848,7 +848,7 @@ export type EdgeHunterObservationPlaceExit = {
|
|
|
848
848
|
game_start_time: string;
|
|
849
849
|
/** snapshot_as_of of the first snapshot that held the market in the selection's places. */
|
|
850
850
|
entered_at: string;
|
|
851
|
-
/** The count the selection ranked the market by when it entered: indexed_graded_holders, or indexed_graded_holders_min_25_usd on admission=most_held_48h_min_25_usd. */
|
|
851
|
+
/** The count the selection ranked the market by when it entered: indexed_graded_holders, or indexed_graded_holders_min_25_usd on admission=most_held_48h_min_25_usd. A stay that entered before late November 2026 carries its S, A and B count. */
|
|
852
852
|
entered_holders: number;
|
|
853
853
|
/** Its most_held_48h_position when it entered; null when it had none. */
|
|
854
854
|
entered_position: number | null;
|
|
@@ -888,11 +888,11 @@ export type EdgeHunterObservationsResponse = {
|
|
|
888
888
|
signals_as_of?: string | null;
|
|
889
889
|
/** 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. On admission=most_held_48h_min_25_usd they are that selection's own last markets, each with indexed_graded_holders_min_25_usd. Omitted on a default read and on a snapshot computed before this field. */
|
|
890
890
|
most_held_48h_cutoffs?: EdgeHunterMostHeld48hCutoff[];
|
|
891
|
-
/** With place_exits_since only: the selection's place stays that ended before kickoff at or after place_exits_since, newest left_at first, each with why it ended. Unlike departures, an exit stays readable after the game starts. A stay that ended at kickoff, or because no reader asked for its sport or market type, is not listed, and a withheld card (split_holder_pile) keeps its place, so it shows in departures only. Filtered by category, kind, sports, market_types, condition_ids and event_slugs as data is. Read when each request is served, not from the snapshot, so two pages of one snapshot can differ; part of the ETag. An exit can first appear one snapshot after the one that ended it, so pass the snapshot_as_of of your previous read. Omitted without place_exits_since. With it, a missing field means the exits could not be read in time: ask again; it never means no exits, which is an empty array. */
|
|
891
|
+
/** With place_exits_since only: the selection's place stays that ended before kickoff at or after place_exits_since, newest left_at first, each with why it ended. Unlike departures, an exit stays readable after the game starts. A stay that ended at kickoff, or because no reader asked for its sport or market type, is not listed, and a withheld card (split_holder_pile, game_conflict) keeps its place, so it shows in departures only. Filtered by category, kind, sports, market_types, condition_ids and event_slugs as data is. Read when each request is served, not from the snapshot, so two pages of one snapshot can differ; part of the ETag. An exit can first appear one snapshot after the one that ended it, so pass the snapshot_as_of of your previous read. Omitted without place_exits_since. With it, a missing field means the exits could not be read in time: ask again; it never means no exits, which is an empty array. */
|
|
892
892
|
place_exits?: EdgeHunterObservationPlaceExit[];
|
|
893
893
|
};
|
|
894
|
-
/** Closed
|
|
895
|
-
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";
|
|
894
|
+
/** Closed 26-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. */
|
|
895
|
+
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" | "game_conflict" | "price_unavailable" | "wider_holder_emitted" | "in_play_emitted" | "in_play_stale_observed" | "in_play_directional_unavailable" | "internal_unclassified";
|
|
896
896
|
/** One provider outcome in fixed YES/NO order, including its frozen token identity and independently observed quote. Null current_price means no verified current quote is available. */
|
|
897
897
|
export type EdgeHunterOutcome = {
|
|
898
898
|
index: 0 | 1;
|
|
@@ -967,9 +967,9 @@ export type EdgeHunterRankedSignal = {
|
|
|
967
967
|
a_count: number;
|
|
968
968
|
/** B-grade graded holders on the piled side. Listed, not counted in conviction_score or rank. */
|
|
969
969
|
b_count: number;
|
|
970
|
-
/** Piled-side
|
|
970
|
+
/** Piled-side S and A wallets holding at least $25 net value (s_count + a_count). B wallets are listed in b_count and not counted; before late November 2026 this count added b_count. */
|
|
971
971
|
graded_holders: number;
|
|
972
|
-
/** Best grade
|
|
972
|
+
/** Best grade among the piled side's counted S and A wallets; null when none. Never B. */
|
|
973
973
|
top_grade: "S" | "A" | "B" | null;
|
|
974
974
|
/**
|
|
975
975
|
* Canonical sharp-money score (yes_usd - no_usd)/(yes_usd + no_usd) in [-1, 1] (piled-yes positive, piled-no negative). Deprecated (#16310): `side_share` is the canonical spelling and carries the same value; this key stays on the wire.
|
|
@@ -1155,7 +1155,7 @@ export type EdgeHunterSportFunnelReport = {
|
|
|
1155
1155
|
board_upcoming_unavailable_scopes: ("category" | "nfl" | "cfb" | "nba" | "wnba" | "euroleague-basketball" | "ncaa-basketball" | "cwbb" | "bkbsl" | "nhl" | "mls" | "valorant" | "league-of-legends" | "counter-strike-2" | "dota-2" | "registry" | "union" | "wave")[];
|
|
1156
1156
|
/** Stored-universe rows plus provider-board rows missing from storage. */
|
|
1157
1157
|
input: number;
|
|
1158
|
-
/** Sparse counts over the closed
|
|
1158
|
+
/** Sparse counts over the closed 26-value terminal vocabulary: 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, game_conflict, price_unavailable, wider_holder_emitted, in_play_emitted, in_play_stale_observed, in_play_directional_unavailable, or internal_unclassified. primary_slate_candidate means the view=signals snapshot named by signals_as_of lists the market at its widest selection (horizon_hours=48, min_grade=B, no selector), so it is not a wider_holder candidate; when no view=signals snapshot could be read (signals_as_of null), no market takes it. capacity_limited is intentional bounded provider-work admission, is fully accounted here, and does not itself set degraded=true. board_source_unavailable means a completed board source was unavailable; board_deadline_unavailable means live-board work missed either an internal configured-scope deadline or the outer fair-wave deadline; provider_unavailable means a holder read sent to the provider failed and the market had no reusable holder page; holder_deadline_unavailable means holder cache/provider work missed the absolute request deadline, or local capacity never sent the holder read, and the market had no reusable holder page; holder_computation_unavailable means post-holder provider or DB-backed price/metadata evaluation was unavailable; no_current_graded_holder means no S or A wallet's money backs either side now, and a market only B wallets hold counts here; game_conflict means another card of the same game in the same selection and cohort ranked higher and backs a contradicting side (the other team, the draw, or the other side of the same total), so this card is withheld while the market keeps its place. */
|
|
1159
1159
|
terminals: Record<string, number>;
|
|
1160
1160
|
/** Sum of every sparse terminal count. */
|
|
1161
1161
|
terminal_total: number;
|
|
@@ -2856,12 +2856,13 @@ export type MarketHoldersScan = {
|
|
|
2856
2856
|
/** Every distinct wallet the complete walk saw with open shares, graded or not. The roster lists the graded S/A/B subset. */
|
|
2857
2857
|
wallet_count: number;
|
|
2858
2858
|
};
|
|
2859
|
+
/** Wallets netting one side by grade, B included: s + a is that side's count, and b is the B wallets beside it, in no total (#36945). */
|
|
2859
2860
|
export type MarketHoldersSideGrades = {
|
|
2860
2861
|
s: number;
|
|
2861
2862
|
a: number;
|
|
2862
2863
|
b: number;
|
|
2863
2864
|
};
|
|
2864
|
-
/** The rows' current_value_usd per grade on one side,
|
|
2865
|
+
/** The rows' current_value_usd per grade on one side, on the same values as that side's usd total, which counts S and A wallets (#36945): s + a is that total, and b is the B wallets' value beside it, in no total. Before #36945 the total was s + a + b. */
|
|
2865
2866
|
export type MarketHoldersSideGradeUsd = {
|
|
2866
2867
|
/** USD held by S-grade wallets netting this side. */
|
|
2867
2868
|
s: number;
|
|
@@ -2870,23 +2871,27 @@ export type MarketHoldersSideGradeUsd = {
|
|
|
2870
2871
|
/** USD held by B-grade wallets netting this side. */
|
|
2871
2872
|
b: number;
|
|
2872
2873
|
};
|
|
2873
|
-
/** Roster totals BEFORE any `outcome` or `min_grade` filter, so a page always knows the whole market it was cut from. */
|
|
2874
|
+
/** Roster totals BEFORE any `outcome` or `min_grade` filter, so a page always knows the whole market it was cut from. The counts, shares and dollars count S and A wallets, the graded money; the per-grade splits list B beside them, in no total (#36945, November 2026; before, every total counted B). A stored kickoff roster's totals are recomputed on the same basis. */
|
|
2874
2875
|
export type MarketHoldersTotals = {
|
|
2875
|
-
/** Distinct
|
|
2876
|
+
/** Distinct S and A wallets with net exposure; a two-sided wallet counts once. B wallets are in yes_grades.b and no_grades.b. */
|
|
2876
2877
|
graded_count: number;
|
|
2878
|
+
/** S and A wallets netting YES: yes_grades.s + yes_grades.a. */
|
|
2877
2879
|
yes_count: number;
|
|
2880
|
+
/** S and A wallets netting NO: no_grades.s + no_grades.a. */
|
|
2878
2881
|
no_count: number;
|
|
2882
|
+
/** The S and A wallets' net YES shares. */
|
|
2879
2883
|
yes_shares: number;
|
|
2884
|
+
/** The S and A wallets' net NO shares. */
|
|
2880
2885
|
no_shares: number;
|
|
2881
|
-
/** The rows' current_value_usd summed over the
|
|
2886
|
+
/** The rows' current_value_usd summed over the S and A wallets netting YES: a wallet holding both outcomes counts at its net shares' value. */
|
|
2882
2887
|
yes_usd: number;
|
|
2883
|
-
/** The rows' current_value_usd summed over the
|
|
2888
|
+
/** The rows' current_value_usd summed over the S and A wallets netting NO: a wallet holding both outcomes counts at its net shares' value. */
|
|
2884
2889
|
no_usd: number;
|
|
2885
2890
|
yes_grades: MarketHoldersSideGrades;
|
|
2886
2891
|
no_grades: MarketHoldersSideGrades;
|
|
2887
|
-
/**
|
|
2892
|
+
/** YES value by grade: s + a is yes_usd; b is the B wallets' value, in no total. */
|
|
2888
2893
|
yes_grade_usd: MarketHoldersSideGradeUsd;
|
|
2889
|
-
/**
|
|
2894
|
+
/** NO value by grade: s + a is no_usd; b is the B wallets' value, in no total. */
|
|
2890
2895
|
no_grade_usd: MarketHoldersSideGradeUsd;
|
|
2891
2896
|
};
|
|
2892
2897
|
/** `market_price_moved` data, also the MarketPriceMoved frame on GET /api/v1/stream: a sports or esports market's outcome-0 midpoint moved a whole-cent level over one window. Prices are decimal strings at full precision. A missing value is null with its *_unavailable_reason. */
|
|
@@ -7406,11 +7411,11 @@ export interface OperationQuery {
|
|
|
7406
7411
|
category?: string;
|
|
7407
7412
|
/** 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 in at most one of the two views. view=signals judges each holder by the wallet's current grade when it reads the holders, not the grade it had when it traded. 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. */
|
|
7408
7413
|
cohort?: "wider_holder" | "in_play" | "emerging_pile";
|
|
7409
|
-
/** 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
|
|
7414
|
+
/** 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 and A 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 departures lists its own cards that left. 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. most_held_48h_min_25_usd runs the most_held_48h rule counting only the graded holders whose position in the market is worth $25 or more: per sport, up to 8 markets (4 per event), most indexed_graded_holders_min_25_usd first, then most volume, then soonest kickoff, so a market held by many small positions no longer outranks one held by fewer, larger ones. Each row carries indexed_graded_holders_min_25_usd, the count it was ranked by, and admitted_by most_held_48h_min_25_usd; most_held_48h_position, most_held_48h_cutoffs and departures are that selection's own. most_held_48h and most_held_48h_by_type do not change. Its markets no other selection read take their turns after the other two selections', at most once per 10 minutes. A sport, or the all-sports scope, 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. */
|
|
7410
7415
|
admission?: "most_held_48h" | "most_held_48h_by_type" | "most_held_48h_min_25_usd";
|
|
7411
7416
|
/** view=observations with cohort=wider_holder and an admission only; rejected otherwise. An RFC 3339 time within the last 48 hours: the response adds place_exits, the selection's place stays that ended before kickoff at or after it, each with its reason, readable after the game starts. Pass the snapshot_as_of of your previous read. Rejected with leagues or series_slugs, which a stay does not record, and when the window holds more than 1000 exits; then pass a later time or one category. */
|
|
7412
7417
|
place_exits_since?: string;
|
|
7413
|
-
/** Board and signals: S, A or B, default B. Requires a piled-side
|
|
7418
|
+
/** Board and signals: S, A or B, default B. Requires a piled-side wallet holding at least $25 net value at the selected grade floor or better (an S wallet for S; an S or A wallet for A and B, since every ranked row needs S or A money), without removing other holders. Rejected for observations. */
|
|
7414
7419
|
min_grade?: "S" | "A" | "B";
|
|
7415
7420
|
/** Board row cap defaults to 30 and clamps integer values to 1..30; total counts selected admitted rows before the cap. Signals and observations page size defaults to 20 and clamps to 1..100. */
|
|
7416
7421
|
limit?: number;
|
|
@@ -7519,11 +7524,11 @@ export interface OperationQuery {
|
|
|
7519
7524
|
getMarketHolders: {
|
|
7520
7525
|
/** Keep holders netting one side. `all` (default) lists both. */
|
|
7521
7526
|
outcome?: "yes" | "no" | "all";
|
|
7522
|
-
/** Narrow within the graded cohort: `S` keeps S, `A` keeps S and A, `B`
|
|
7527
|
+
/** Narrow within the graded cohort: `S` keeps S, `A` (default) keeps S and A, the graded money, `B` keeps S, A and B. The default was `B` until #36945 (November 2026); pass `min_grade=B` for the whole roster. `C`, `D` and `F` are rejected with 400: the route lists the S/A/B cohort only. The cohort is the wallet's current grade (`traders.latest_grade`), so no value here reaches a C, D, F or ungraded holder; those are counted only in `scan.wallet_count`. `min_grade=D` on GET /api/v1/positions does return C and D, which is one of the three reasons the two routes' counts differ for the same market. */
|
|
7523
7528
|
min_grade?: "S" | "A" | "B";
|
|
7524
7529
|
/** Maximum holders per page. Out-of-range values are clamped to 1..100. */
|
|
7525
7530
|
limit?: number;
|
|
7526
|
-
/** Opaque pagination cursor from the previous response's next_cursor. New cursors carry an absolute next offset bound to normalized condition_id, outcome and effective min_grade, so limit can change without skipping or repeating rows on the same roster. Different market/filter bindings return 400 bad_request with param=cursor; omitted filters match all/B and mkt_-prefixed IDs match their raw condition_id. Page-only cursors from before 2026-10-02 are no longer accepted and return 400 bad_request with param=cursor; restart without a cursor. A cursor remains valid across roster refreshes, which can still repeat or skip holders as the live roster changes. A cursor also carries as_of: replay it with the same as_of, or receive 400 bad_request with param=cursor. */
|
|
7531
|
+
/** Opaque pagination cursor from the previous response's next_cursor. New cursors carry an absolute next offset bound to normalized condition_id, outcome and effective min_grade, so limit can change without skipping or repeating rows on the same roster. Different market/filter bindings return 400 bad_request with param=cursor; omitted filters match all/A (all/B for a cursor from before #36945, which now returns that 400 without min_grade=B) and mkt_-prefixed IDs match their raw condition_id. Page-only cursors from before 2026-10-02 are no longer accepted and return 400 bad_request with param=cursor; restart without a cursor. A cursor remains valid across roster refreshes, which can still repeat or skip holders as the live roster changes. A cursor also carries as_of: replay it with the same as_of, or receive 400 bad_request with param=cursor. */
|
|
7527
7532
|
cursor?: string;
|
|
7528
7533
|
/** kickoff: the roster as it stood at the game's kickoff, for a sports or esports game moneyline (#34064). Omit it for the current roster; any other value is 400 bad_request with param=as_of. Holders, shares, current_value_usd and the population come from the newest complete holder walk or pregame census held in the 15 minutes before kickoff (as_of.population_fetched_at, as much as about 4 hours before kickoff); grades, badges and category records were read when the roster was computed (as_of.captured_at). Both are before as_of.kickoff_at, and the stored roster is never rewritten after it. market.status and market.end_date are read now; everything else is the kickoff instant's. Until 30 s after kickoff: 404 not_found, error.reason kickoff_roster_pending, retry_at at that instant. No stored roster (not a game moneyline, a game that kicked off before the capture shipped, a game whose live score showed play before its listed kickoff, or no complete population held before kickoff): 404 not_found, error.reason kickoff_roster_not_captured, terminal for that market. A census population keeps no display names, so every holder's name is null (as_of.population_source census). */
|
|
7529
7534
|
as_of?: "kickoff";
|