@codex-data/sdk 2.2.2 → 2.3.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.
@@ -528,7 +528,8 @@ export declare enum ContractProposalStatus {
528
528
  /** Type of the contract. */
529
529
  export declare enum ContractType {
530
530
  Nft = "NFT",
531
- Token = "TOKEN"
531
+ Token = "TOKEN",
532
+ Wallet = "WALLET"
532
533
  }
533
534
  export type CreateApiTokensInput = {
534
535
  /** Number of tokens to create, default is 1 */
@@ -1973,6 +1974,12 @@ export type FilterNetworkWalletsInput = {
1973
1974
  /** A list of wallet addresses to filter by. */
1974
1975
  wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1975
1976
  };
1977
+ /** Response returned by `onFilterTokenUpdated`. */
1978
+ export type FilterTokenUpdates = {
1979
+ __typename?: 'FilterTokenUpdates';
1980
+ /** The list of updated token results matching the subscription parameters. */
1981
+ updates?: Maybe<Array<Maybe<TokenFilterResult>>>;
1982
+ };
1976
1983
  /** The input for filtering wallets for a token. */
1977
1984
  export type FilterTokenWalletsInput = {
1978
1985
  /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/walletlabel) for possible values. */
@@ -5810,6 +5817,8 @@ export type Pair = {
5810
5817
  token1: Scalars['String']['output'];
5811
5818
  /** Metadata for the second token in the pair. */
5812
5819
  token1Data?: Maybe<EnhancedToken>;
5820
+ /** The virtual pooled amounts of each token in the pair. */
5821
+ virtualPooled?: Maybe<PooledTokenValues>;
5813
5822
  };
5814
5823
  /** Input type of `PairChartInput`. */
5815
5824
  export type PairChartInput = {
@@ -6673,7 +6682,7 @@ export type PredictionEvent = {
6673
6682
  /** Categories associated with this entity. */
6674
6683
  categories?: Maybe<Array<PredictionCategory>>;
6675
6684
  /** The timestamp when this entity closes. */
6676
- closesAt: Scalars['Int']['output'];
6685
+ closesAt?: Maybe<Scalars['Int']['output']>;
6677
6686
  /** The creation timestamp. */
6678
6687
  createdAt: Scalars['Int']['output'];
6679
6688
  /** The unique identifier. */
@@ -6699,7 +6708,7 @@ export type PredictionEvent = {
6699
6708
  /** The actual resolution timestamp. */
6700
6709
  resolvedAt?: Maybe<Scalars['Int']['output']>;
6701
6710
  /** The expected resolution timestamp. */
6702
- resolvesAt: Scalars['Int']['output'];
6711
+ resolvesAt?: Maybe<Scalars['Int']['output']>;
6703
6712
  /** Primary rules text. */
6704
6713
  rulesPrimary: Scalars['String']['output'];
6705
6714
  /** Secondary rules text. */
@@ -6834,7 +6843,7 @@ export type PredictionEventFilterResult = {
6834
6843
  /** Categories associated with this entity. */
6835
6844
  categories: Array<Scalars['String']['output']>;
6836
6845
  /** The timestamp when this entity closes. */
6837
- closesAt: Scalars['Int']['output'];
6846
+ closesAt?: Maybe<Scalars['Int']['output']>;
6838
6847
  /** The creation timestamp. */
6839
6848
  createdAt: Scalars['Int']['output'];
6840
6849
  /** Simplified event data from search index. Use predictionEvent for full event details. */
@@ -6906,7 +6915,7 @@ export type PredictionEventFilterResult = {
6906
6915
  /** The actual resolution timestamp. */
6907
6916
  resolvedAt?: Maybe<Scalars['Int']['output']>;
6908
6917
  /** The expected resolution timestamp. */
6909
- resolvesAt: Scalars['Int']['output'];
6918
+ resolvesAt?: Maybe<Scalars['Int']['output']>;
6910
6919
  /** The current status. */
6911
6920
  status: PredictionEventStatus;
6912
6921
  /** The unix timestamp. */
@@ -7360,6 +7369,8 @@ export type PredictionEventTopMarketsBarsInput = {
7360
7369
  resolution: PredictionMarketBarsResolution;
7361
7370
  /** Unix timestamp (seconds) for the end of the range */
7362
7371
  to: Scalars['Int']['input'];
7372
+ /** Use pre-computed leaderboard ranking (overrides rankBy options when true) */
7373
+ useLeaderboard?: InputMaybe<Scalars['Boolean']['input']>;
7363
7374
  };
7364
7375
  /** Response returned by `predictionEventTopMarketsBars`. */
7365
7376
  export type PredictionEventTopMarketsBarsResponse = {
@@ -7991,6 +8002,47 @@ export type PredictionMarketFilters = {
7991
8002
  /** Volume in USD. */
7992
8003
  volumeUsdAll?: InputMaybe<NumberFilter>;
7993
8004
  };
8005
+ /** Price data for a single outcome within a prediction market. */
8006
+ export type PredictionMarketOutcomePrice = {
8007
+ __typename?: 'PredictionMarketOutcomePrice';
8008
+ /** The best ask in collateral token units. */
8009
+ bestAskCT?: Maybe<Scalars['String']['output']>;
8010
+ /** The best ask in USD. */
8011
+ bestAskUsd?: Maybe<Scalars['String']['output']>;
8012
+ /** The best bid in collateral token units. */
8013
+ bestBidCT?: Maybe<Scalars['String']['output']>;
8014
+ /** The best bid in USD. */
8015
+ bestBidUsd?: Maybe<Scalars['String']['output']>;
8016
+ /** The last trade price in collateral token units. */
8017
+ lastTradePriceCT?: Maybe<Scalars['String']['output']>;
8018
+ /** The last trade price in USD. */
8019
+ lastTradePriceUsd?: Maybe<Scalars['String']['output']>;
8020
+ /** The ID of the outcome. */
8021
+ outcomeId: Scalars['String']['output'];
8022
+ /** The spread in collateral token units. */
8023
+ spreadCT?: Maybe<Scalars['String']['output']>;
8024
+ /** The spread in USD. */
8025
+ spreadUsd?: Maybe<Scalars['String']['output']>;
8026
+ /** The timestamp of the price data. */
8027
+ timestamp: Scalars['Int']['output'];
8028
+ };
8029
+ /** Price data for a prediction market. */
8030
+ export type PredictionMarketPrice = {
8031
+ __typename?: 'PredictionMarketPrice';
8032
+ /** The ID of the prediction market. */
8033
+ marketId: Scalars['String']['output'];
8034
+ /** The prices for the outcomes. */
8035
+ outcomes: Array<PredictionMarketOutcomePrice>;
8036
+ /** The timestamp of the price data. */
8037
+ timestamp: Scalars['Int']['output'];
8038
+ };
8039
+ /** Input for fetching prediction market price data. */
8040
+ export type PredictionMarketPriceInput = {
8041
+ /** The ID of the prediction market. */
8042
+ marketId: Scalars['String']['input'];
8043
+ /** The timestamp (unix seconds). If not provided, the latest price will be returned. */
8044
+ timestamp?: InputMaybe<Scalars['Int']['input']>;
8045
+ };
7994
8046
  /** A ranking to apply when sorting prediction markets. */
7995
8047
  export type PredictionMarketRanking = {
7996
8048
  /** Market-level attribute to rank by (use this OR outcome + outcomeAttribute) */
@@ -10347,6 +10399,8 @@ export type Query = {
10347
10399
  predictionEventTopMarketsBars?: Maybe<PredictionEventTopMarketsBarsResponse>;
10348
10400
  /** Returns OHLC-style bar data for a prediction market. */
10349
10401
  predictionMarketBars?: Maybe<PredictionMarketBarsResponse>;
10402
+ /** Returns price data for a prediction market at a specific timestamp or latest. */
10403
+ predictionMarketPrice?: Maybe<PredictionMarketPrice>;
10350
10404
  /** Returns prediction markets by ID. */
10351
10405
  predictionMarkets: Array<PredictionMarket>;
10352
10406
  /** Returns token holder balances for a prediction market. */
@@ -10800,6 +10854,9 @@ export type QueryPredictionEventTopMarketsBarsArgs = {
10800
10854
  export type QueryPredictionMarketBarsArgs = {
10801
10855
  input: PredictionMarketBarsInput;
10802
10856
  };
10857
+ export type QueryPredictionMarketPriceArgs = {
10858
+ input: PredictionMarketPriceInput;
10859
+ };
10803
10860
  export type QueryPredictionMarketsArgs = {
10804
10861
  input: PredictionMarketsInput;
10805
10862
  };
@@ -11016,7 +11073,7 @@ export type SandwichedLabelData = {
11016
11073
  export type SearchPredictionEvent = {
11017
11074
  __typename?: 'SearchPredictionEvent';
11018
11075
  /** The timestamp when this entity closes. */
11019
- closesAt: Scalars['Int']['output'];
11076
+ closesAt?: Maybe<Scalars['Int']['output']>;
11020
11077
  /** The creation timestamp. */
11021
11078
  createdAt: Scalars['Int']['output'];
11022
11079
  /** The description. */
@@ -11038,7 +11095,7 @@ export type SearchPredictionEvent = {
11038
11095
  /** The actual resolution timestamp. */
11039
11096
  resolvedAt?: Maybe<Scalars['Int']['output']>;
11040
11097
  /** The expected resolution timestamp. */
11041
- resolvesAt: Scalars['Int']['output'];
11098
+ resolvesAt?: Maybe<Scalars['Int']['output']>;
11042
11099
  /** The URL slug. */
11043
11100
  slug: Scalars['String']['output'];
11044
11101
  /** The current status. */
@@ -11235,6 +11292,8 @@ export type Subscription = {
11235
11292
  onEventsCreated?: Maybe<AddEventsOutput>;
11236
11293
  /** Live-streamed transactions for a maker. */
11237
11294
  onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
11295
+ /** Live-streamed filter token updates for the current `filterTokens` result set. Requires `useAggregatedStats: true`. */
11296
+ onFilterTokenUpdated?: Maybe<FilterTokenUpdates>;
11238
11297
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
11239
11298
  onHoldersUpdated?: Maybe<HoldersUpdate>;
11240
11299
  /**
@@ -11333,6 +11392,19 @@ export type SubscriptionOnEventsCreatedByMakerArgs = {
11333
11392
  input: OnEventsCreatedByMakerInput;
11334
11393
  };
11335
11394
  /** Live-streamed prediction data subscriptions for trades, stats, and bar updates. */
11395
+ export type SubscriptionOnFilterTokenUpdatedArgs = {
11396
+ excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
11397
+ filters?: InputMaybe<TokenFilters>;
11398
+ limit?: InputMaybe<Scalars['Int']['input']>;
11399
+ offset?: InputMaybe<Scalars['Int']['input']>;
11400
+ phrase?: InputMaybe<Scalars['String']['input']>;
11401
+ rankings?: InputMaybe<Array<InputMaybe<TokenRanking>>>;
11402
+ statsType?: InputMaybe<TokenPairStatisticsType>;
11403
+ tokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
11404
+ updatePeriod?: InputMaybe<Scalars['Int']['input']>;
11405
+ useAggregatedStats?: InputMaybe<Scalars['Boolean']['input']>;
11406
+ };
11407
+ /** Live-streamed prediction data subscriptions for trades, stats, and bar updates. */
11336
11408
  export type SubscriptionOnHoldersUpdatedArgs = {
11337
11409
  tokenId: Scalars['String']['input'];
11338
11410
  };
@@ -11848,6 +11920,8 @@ export type TokenFilterResult = {
11848
11920
  token?: Maybe<EnhancedToken>;
11849
11921
  /** The percentage of total supply held by the top 10 holders. */
11850
11922
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
11923
+ /** A heuristic based on various factors used to rank tokens based on how trending they are. */
11924
+ trendingScore?: Maybe<Scalars['Float']['output']>;
11851
11925
  /** The number of transactions in the past hour. */
11852
11926
  txnCount1?: Maybe<Scalars['Int']['output']>;
11853
11927
  /** The number of transactions in the past 4 hours. */
@@ -15288,7 +15362,7 @@ export type DetailedPredictionEventStatsQuery = {
15288
15362
  };
15289
15363
  predictionEvent: {
15290
15364
  __typename?: 'PredictionEvent';
15291
- closesAt: number;
15365
+ closesAt?: number | null;
15292
15366
  createdAt: number;
15293
15367
  id: string;
15294
15368
  imageLargeUrl?: string | null;
@@ -15300,7 +15374,7 @@ export type DetailedPredictionEventStatsQuery = {
15300
15374
  protocol: PredictionProtocol;
15301
15375
  question: string;
15302
15376
  resolvedAt?: number | null;
15303
- resolvesAt: number;
15377
+ resolvesAt?: number | null;
15304
15378
  rulesPrimary: string;
15305
15379
  rulesSecondary?: string | null;
15306
15380
  status: PredictionEventStatus;
@@ -16119,7 +16193,7 @@ export type DetailedPredictionMarketStatsQuery = {
16119
16193
  };
16120
16194
  predictionEvent: {
16121
16195
  __typename?: 'PredictionEvent';
16122
- closesAt: number;
16196
+ closesAt?: number | null;
16123
16197
  createdAt: number;
16124
16198
  id: string;
16125
16199
  imageLargeUrl?: string | null;
@@ -16131,7 +16205,7 @@ export type DetailedPredictionMarketStatsQuery = {
16131
16205
  protocol: PredictionProtocol;
16132
16206
  question: string;
16133
16207
  resolvedAt?: number | null;
16134
- resolvesAt: number;
16208
+ resolvesAt?: number | null;
16135
16209
  rulesPrimary: string;
16136
16210
  rulesSecondary?: string | null;
16137
16211
  status: PredictionEventStatus;
@@ -20012,6 +20086,11 @@ export type FilterPairsQuery = {
20012
20086
  youtube?: string | null;
20013
20087
  } | null;
20014
20088
  } | null;
20089
+ virtualPooled?: {
20090
+ __typename?: 'PooledTokenValues';
20091
+ token0?: string | null;
20092
+ token1?: string | null;
20093
+ } | null;
20015
20094
  } | null;
20016
20095
  token0?: {
20017
20096
  __typename?: 'EnhancedToken';
@@ -20212,7 +20291,7 @@ export type FilterPredictionEventsQuery = {
20212
20291
  __typename?: 'PredictionEventFilterResult';
20213
20292
  age?: number | null;
20214
20293
  categories: Array<string>;
20215
- closesAt: number;
20294
+ closesAt?: number | null;
20216
20295
  createdAt: number;
20217
20296
  expectedLifespan?: number | null;
20218
20297
  id: string;
@@ -20245,212 +20324,212 @@ export type FilterPredictionEventsQuery = {
20245
20324
  relevanceScore24h?: number | null;
20246
20325
  resolutionSource?: string | null;
20247
20326
  resolvedAt?: number | null;
20248
- resolvesAt: number;
20249
- status: PredictionEventStatus;
20250
- timestamp: number;
20251
- trades1h?: number | null;
20252
- trades1w?: number | null;
20253
- trades4h?: number | null;
20254
- trades5m?: number | null;
20255
- trades12h?: number | null;
20256
- trades24h?: number | null;
20257
- tradesChange1h?: number | null;
20258
- tradesChange1w?: number | null;
20259
- tradesChange4h?: number | null;
20260
- tradesChange5m?: number | null;
20261
- tradesChange12h?: number | null;
20262
- tradesChange24h?: number | null;
20263
- trendingScore1h?: number | null;
20264
- trendingScore1w?: number | null;
20265
- trendingScore4h?: number | null;
20266
- trendingScore5m?: number | null;
20267
- trendingScore12h?: number | null;
20268
- trendingScore24h?: number | null;
20269
- uniqueTraders1h?: number | null;
20270
- uniqueTraders1w?: number | null;
20271
- uniqueTraders4h?: number | null;
20272
- uniqueTraders5m?: number | null;
20273
- uniqueTraders12h?: number | null;
20274
- uniqueTraders24h?: number | null;
20275
- uniqueTradersChange1h?: number | null;
20276
- uniqueTradersChange1w?: number | null;
20277
- uniqueTradersChange4h?: number | null;
20278
- uniqueTradersChange5m?: number | null;
20279
- uniqueTradersChange12h?: number | null;
20280
- uniqueTradersChange24h?: number | null;
20281
- venueVolumeCT?: string | null;
20282
- venueVolumeUsd?: string | null;
20283
- volumeCTAll?: string | null;
20284
- volumeChange1h?: number | null;
20285
- volumeChange1w?: number | null;
20286
- volumeChange4h?: number | null;
20287
- volumeChange5m?: number | null;
20288
- volumeChange12h?: number | null;
20289
- volumeChange24h?: number | null;
20290
- volumeUsd1h?: string | null;
20291
- volumeUsd1w?: string | null;
20292
- volumeUsd4h?: string | null;
20293
- volumeUsd5m?: string | null;
20294
- volumeUsd12h?: string | null;
20295
- volumeUsd24h?: string | null;
20296
- volumeUsdAll?: string | null;
20297
- event: {
20298
- __typename?: 'SearchPredictionEvent';
20299
- closesAt: number;
20300
- createdAt: number;
20301
- description?: string | null;
20302
- exchangeAddress?: string | null;
20303
- id: string;
20304
- imageThumbUrl?: string | null;
20305
- networkId?: number | null;
20306
- opensAt: number;
20307
- protocol: PredictionProtocol;
20308
- question: string;
20309
- resolvedAt?: number | null;
20310
- resolvesAt: number;
20311
- slug: string;
20312
- status: PredictionEventStatus;
20313
- tags: Array<string>;
20314
- venueEventId: string;
20315
- venueSeriesId?: string | null;
20316
- venueUrl: string;
20317
- };
20318
- markets: Array<{
20319
- __typename?: 'PredictionEventFilterResultMarket';
20320
- id: string;
20321
- label?: string | null;
20322
- }>;
20323
- predictionEvent?: {
20324
- __typename?: 'PredictionEvent';
20325
- closesAt: number;
20326
- createdAt: number;
20327
- id: string;
20328
- imageLargeUrl?: string | null;
20329
- imageSmallUrl?: string | null;
20330
- imageThumbUrl?: string | null;
20331
- marketIds?: Array<string> | null;
20332
- networkId?: number | null;
20333
- opensAt: number;
20334
- protocol: PredictionProtocol;
20335
- question: string;
20336
- resolvedAt?: number | null;
20337
- resolvesAt: number;
20338
- rulesPrimary: string;
20339
- rulesSecondary?: string | null;
20340
- status: PredictionEventStatus;
20341
- tags: Array<string>;
20342
- updatedAt: number;
20343
- url: string;
20344
- venueEventId: string;
20345
- venueSeriesId?: string | null;
20346
- categories?: Array<{
20347
- __typename?: 'PredictionCategory';
20348
- name: string;
20349
- slug: string;
20350
- subcategories?: Array<{
20351
- __typename?: 'PredictionSubcategory';
20352
- name: string;
20353
- slug: string;
20354
- subcategories?: Array<{
20355
- __typename?: 'PredictionSubSubcategory';
20356
- name: string;
20357
- slug: string;
20358
- }> | null;
20359
- }> | null;
20360
- }> | null;
20361
- resolution?: {
20362
- __typename?: 'PredictionResolution';
20363
- result?: string | null;
20364
- source?: string | null;
20365
- } | null;
20366
- } | null;
20367
- topMarkets: Array<{
20368
- __typename?: 'PredictionEventTopMarket';
20369
- label: string;
20370
- marketId: string;
20371
- outcome0BidCT: string;
20372
- outcome0Label: string;
20373
- outcome1BidCT: string;
20374
- outcome1Label: string;
20375
- volumeCT1d: string;
20376
- volumeCT1w: string;
20377
- volumeCTAll: string;
20378
- }>;
20379
- }>;
20380
- } | null;
20381
- };
20382
- export type FilterPredictionMarketsQueryVariables = Exact<{
20383
- eventIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20384
- excludeEventIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20385
- excludeMarketIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20386
- filters?: InputMaybe<PredictionMarketFilters>;
20387
- limit?: InputMaybe<Scalars['Int']['input']>;
20388
- marketIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20389
- offset?: InputMaybe<Scalars['Int']['input']>;
20390
- phrase?: InputMaybe<Scalars['String']['input']>;
20391
- rankings?: InputMaybe<Array<PredictionMarketRanking> | PredictionMarketRanking>;
20392
- }>;
20393
- export type FilterPredictionMarketsQuery = {
20394
- __typename?: 'Query';
20395
- filterPredictionMarkets?: {
20396
- __typename?: 'PredictionMarketFilterConnection';
20397
- count: number;
20398
- page: number;
20399
- results: Array<{
20400
- __typename?: 'PredictionMarketFilterResult';
20401
- age?: number | null;
20402
- avgTradeSizeUsd1h?: string | null;
20403
- avgTradeSizeUsd1w?: string | null;
20404
- avgTradeSizeUsd4h?: string | null;
20405
- avgTradeSizeUsd5m?: string | null;
20406
- avgTradeSizeUsd12h?: string | null;
20407
- avgTradeSizeUsd24h?: string | null;
20408
- categories: Array<string>;
20409
- closesAt: number;
20410
- competitiveScore1h?: number | null;
20411
- competitiveScore1w?: number | null;
20412
- competitiveScore4h?: number | null;
20413
- competitiveScore5m?: number | null;
20414
- competitiveScore12h?: number | null;
20415
- competitiveScore24h?: number | null;
20416
- eventLabel?: string | null;
20417
- expectedLifespan?: number | null;
20418
- id: string;
20419
- impliedProbabilitySum?: number | null;
20420
- lastTransactionAt: number;
20421
- liquidityAsymmetry?: number | null;
20422
- liquidityCT?: string | null;
20423
- liquidityChange1h?: number | null;
20424
- liquidityChange1w?: number | null;
20425
- liquidityChange4h?: number | null;
20426
- liquidityChange5m?: number | null;
20427
- liquidityChange12h?: number | null;
20428
- liquidityChange24h?: number | null;
20429
- liquidityUsd?: string | null;
20430
- maxPriceRange1h?: number | null;
20431
- maxPriceRange1w?: number | null;
20432
- maxPriceRange4h?: number | null;
20433
- maxPriceRange5m?: number | null;
20434
- maxPriceRange12h?: number | null;
20435
- maxPriceRange24h?: number | null;
20436
- openInterestCT?: string | null;
20437
- openInterestChange1h?: number | null;
20438
- openInterestChange1w?: number | null;
20439
- openInterestChange4h?: number | null;
20440
- openInterestChange5m?: number | null;
20441
- openInterestChange12h?: number | null;
20442
- openInterestChange24h?: number | null;
20443
- openInterestUsd?: string | null;
20444
- opensAt: number;
20445
- priceCompetitiveness?: number | null;
20446
- protocol: PredictionProtocol;
20447
- relevanceScore1h?: number | null;
20448
- relevanceScore1w?: number | null;
20449
- relevanceScore4h?: number | null;
20450
- relevanceScore5m?: number | null;
20451
- relevanceScore12h?: number | null;
20452
- relevanceScore24h?: number | null;
20453
- resolutionSource?: string | null;
20327
+ resolvesAt?: number | null;
20328
+ status: PredictionEventStatus;
20329
+ timestamp: number;
20330
+ trades1h?: number | null;
20331
+ trades1w?: number | null;
20332
+ trades4h?: number | null;
20333
+ trades5m?: number | null;
20334
+ trades12h?: number | null;
20335
+ trades24h?: number | null;
20336
+ tradesChange1h?: number | null;
20337
+ tradesChange1w?: number | null;
20338
+ tradesChange4h?: number | null;
20339
+ tradesChange5m?: number | null;
20340
+ tradesChange12h?: number | null;
20341
+ tradesChange24h?: number | null;
20342
+ trendingScore1h?: number | null;
20343
+ trendingScore1w?: number | null;
20344
+ trendingScore4h?: number | null;
20345
+ trendingScore5m?: number | null;
20346
+ trendingScore12h?: number | null;
20347
+ trendingScore24h?: number | null;
20348
+ uniqueTraders1h?: number | null;
20349
+ uniqueTraders1w?: number | null;
20350
+ uniqueTraders4h?: number | null;
20351
+ uniqueTraders5m?: number | null;
20352
+ uniqueTraders12h?: number | null;
20353
+ uniqueTraders24h?: number | null;
20354
+ uniqueTradersChange1h?: number | null;
20355
+ uniqueTradersChange1w?: number | null;
20356
+ uniqueTradersChange4h?: number | null;
20357
+ uniqueTradersChange5m?: number | null;
20358
+ uniqueTradersChange12h?: number | null;
20359
+ uniqueTradersChange24h?: number | null;
20360
+ venueVolumeCT?: string | null;
20361
+ venueVolumeUsd?: string | null;
20362
+ volumeCTAll?: string | null;
20363
+ volumeChange1h?: number | null;
20364
+ volumeChange1w?: number | null;
20365
+ volumeChange4h?: number | null;
20366
+ volumeChange5m?: number | null;
20367
+ volumeChange12h?: number | null;
20368
+ volumeChange24h?: number | null;
20369
+ volumeUsd1h?: string | null;
20370
+ volumeUsd1w?: string | null;
20371
+ volumeUsd4h?: string | null;
20372
+ volumeUsd5m?: string | null;
20373
+ volumeUsd12h?: string | null;
20374
+ volumeUsd24h?: string | null;
20375
+ volumeUsdAll?: string | null;
20376
+ event: {
20377
+ __typename?: 'SearchPredictionEvent';
20378
+ closesAt?: number | null;
20379
+ createdAt: number;
20380
+ description?: string | null;
20381
+ exchangeAddress?: string | null;
20382
+ id: string;
20383
+ imageThumbUrl?: string | null;
20384
+ networkId?: number | null;
20385
+ opensAt: number;
20386
+ protocol: PredictionProtocol;
20387
+ question: string;
20388
+ resolvedAt?: number | null;
20389
+ resolvesAt?: number | null;
20390
+ slug: string;
20391
+ status: PredictionEventStatus;
20392
+ tags: Array<string>;
20393
+ venueEventId: string;
20394
+ venueSeriesId?: string | null;
20395
+ venueUrl: string;
20396
+ };
20397
+ markets: Array<{
20398
+ __typename?: 'PredictionEventFilterResultMarket';
20399
+ id: string;
20400
+ label?: string | null;
20401
+ }>;
20402
+ predictionEvent?: {
20403
+ __typename?: 'PredictionEvent';
20404
+ closesAt?: number | null;
20405
+ createdAt: number;
20406
+ id: string;
20407
+ imageLargeUrl?: string | null;
20408
+ imageSmallUrl?: string | null;
20409
+ imageThumbUrl?: string | null;
20410
+ marketIds?: Array<string> | null;
20411
+ networkId?: number | null;
20412
+ opensAt: number;
20413
+ protocol: PredictionProtocol;
20414
+ question: string;
20415
+ resolvedAt?: number | null;
20416
+ resolvesAt?: number | null;
20417
+ rulesPrimary: string;
20418
+ rulesSecondary?: string | null;
20419
+ status: PredictionEventStatus;
20420
+ tags: Array<string>;
20421
+ updatedAt: number;
20422
+ url: string;
20423
+ venueEventId: string;
20424
+ venueSeriesId?: string | null;
20425
+ categories?: Array<{
20426
+ __typename?: 'PredictionCategory';
20427
+ name: string;
20428
+ slug: string;
20429
+ subcategories?: Array<{
20430
+ __typename?: 'PredictionSubcategory';
20431
+ name: string;
20432
+ slug: string;
20433
+ subcategories?: Array<{
20434
+ __typename?: 'PredictionSubSubcategory';
20435
+ name: string;
20436
+ slug: string;
20437
+ }> | null;
20438
+ }> | null;
20439
+ }> | null;
20440
+ resolution?: {
20441
+ __typename?: 'PredictionResolution';
20442
+ result?: string | null;
20443
+ source?: string | null;
20444
+ } | null;
20445
+ } | null;
20446
+ topMarkets: Array<{
20447
+ __typename?: 'PredictionEventTopMarket';
20448
+ label: string;
20449
+ marketId: string;
20450
+ outcome0BidCT: string;
20451
+ outcome0Label: string;
20452
+ outcome1BidCT: string;
20453
+ outcome1Label: string;
20454
+ volumeCT1d: string;
20455
+ volumeCT1w: string;
20456
+ volumeCTAll: string;
20457
+ }>;
20458
+ }>;
20459
+ } | null;
20460
+ };
20461
+ export type FilterPredictionMarketsQueryVariables = Exact<{
20462
+ eventIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20463
+ excludeEventIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20464
+ excludeMarketIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20465
+ filters?: InputMaybe<PredictionMarketFilters>;
20466
+ limit?: InputMaybe<Scalars['Int']['input']>;
20467
+ marketIds?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
20468
+ offset?: InputMaybe<Scalars['Int']['input']>;
20469
+ phrase?: InputMaybe<Scalars['String']['input']>;
20470
+ rankings?: InputMaybe<Array<PredictionMarketRanking> | PredictionMarketRanking>;
20471
+ }>;
20472
+ export type FilterPredictionMarketsQuery = {
20473
+ __typename?: 'Query';
20474
+ filterPredictionMarkets?: {
20475
+ __typename?: 'PredictionMarketFilterConnection';
20476
+ count: number;
20477
+ page: number;
20478
+ results: Array<{
20479
+ __typename?: 'PredictionMarketFilterResult';
20480
+ age?: number | null;
20481
+ avgTradeSizeUsd1h?: string | null;
20482
+ avgTradeSizeUsd1w?: string | null;
20483
+ avgTradeSizeUsd4h?: string | null;
20484
+ avgTradeSizeUsd5m?: string | null;
20485
+ avgTradeSizeUsd12h?: string | null;
20486
+ avgTradeSizeUsd24h?: string | null;
20487
+ categories: Array<string>;
20488
+ closesAt: number;
20489
+ competitiveScore1h?: number | null;
20490
+ competitiveScore1w?: number | null;
20491
+ competitiveScore4h?: number | null;
20492
+ competitiveScore5m?: number | null;
20493
+ competitiveScore12h?: number | null;
20494
+ competitiveScore24h?: number | null;
20495
+ eventLabel?: string | null;
20496
+ expectedLifespan?: number | null;
20497
+ id: string;
20498
+ impliedProbabilitySum?: number | null;
20499
+ lastTransactionAt: number;
20500
+ liquidityAsymmetry?: number | null;
20501
+ liquidityCT?: string | null;
20502
+ liquidityChange1h?: number | null;
20503
+ liquidityChange1w?: number | null;
20504
+ liquidityChange4h?: number | null;
20505
+ liquidityChange5m?: number | null;
20506
+ liquidityChange12h?: number | null;
20507
+ liquidityChange24h?: number | null;
20508
+ liquidityUsd?: string | null;
20509
+ maxPriceRange1h?: number | null;
20510
+ maxPriceRange1w?: number | null;
20511
+ maxPriceRange4h?: number | null;
20512
+ maxPriceRange5m?: number | null;
20513
+ maxPriceRange12h?: number | null;
20514
+ maxPriceRange24h?: number | null;
20515
+ openInterestCT?: string | null;
20516
+ openInterestChange1h?: number | null;
20517
+ openInterestChange1w?: number | null;
20518
+ openInterestChange4h?: number | null;
20519
+ openInterestChange5m?: number | null;
20520
+ openInterestChange12h?: number | null;
20521
+ openInterestChange24h?: number | null;
20522
+ openInterestUsd?: string | null;
20523
+ opensAt: number;
20524
+ priceCompetitiveness?: number | null;
20525
+ protocol: PredictionProtocol;
20526
+ relevanceScore1h?: number | null;
20527
+ relevanceScore1w?: number | null;
20528
+ relevanceScore4h?: number | null;
20529
+ relevanceScore5m?: number | null;
20530
+ relevanceScore12h?: number | null;
20531
+ relevanceScore24h?: number | null;
20532
+ resolutionSource?: string | null;
20454
20533
  resolvesAt: number;
20455
20534
  status: PredictionEventStatus;
20456
20535
  timestamp: number;
@@ -21359,6 +21438,7 @@ export type FilterTokensQuery = {
21359
21438
  swapPct1dOldWallet?: string | null;
21360
21439
  swapPct7dOldWallet?: string | null;
21361
21440
  top10HoldersPercent?: number | null;
21441
+ trendingScore?: number | null;
21362
21442
  txnCount1?: number | null;
21363
21443
  txnCount4?: number | null;
21364
21444
  txnCount5m?: number | null;
@@ -21610,6 +21690,11 @@ export type FilterTokensQuery = {
21610
21690
  youtube?: string | null;
21611
21691
  } | null;
21612
21692
  } | null;
21693
+ virtualPooled?: {
21694
+ __typename?: 'PooledTokenValues';
21695
+ token0?: string | null;
21696
+ token1?: string | null;
21697
+ } | null;
21613
21698
  } | null;
21614
21699
  pair?: {
21615
21700
  __typename?: 'Pair';
@@ -21819,6 +21904,11 @@ export type FilterTokensQuery = {
21819
21904
  youtube?: string | null;
21820
21905
  } | null;
21821
21906
  } | null;
21907
+ virtualPooled?: {
21908
+ __typename?: 'PooledTokenValues';
21909
+ token0?: string | null;
21910
+ token1?: string | null;
21911
+ } | null;
21822
21912
  } | null;
21823
21913
  token?: {
21824
21914
  __typename?: 'EnhancedToken';
@@ -22263,6 +22353,11 @@ export type GetBarsQuery = {
22263
22353
  youtube?: string | null;
22264
22354
  } | null;
22265
22355
  } | null;
22356
+ virtualPooled?: {
22357
+ __typename?: 'PooledTokenValues';
22358
+ token0?: string | null;
22359
+ token1?: string | null;
22360
+ } | null;
22266
22361
  };
22267
22362
  } | null;
22268
22363
  };
@@ -22648,6 +22743,11 @@ export type GetDetailedPairStatsQuery = {
22648
22743
  youtube?: string | null;
22649
22744
  } | null;
22650
22745
  } | null;
22746
+ virtualPooled?: {
22747
+ __typename?: 'PooledTokenValues';
22748
+ token0?: string | null;
22749
+ token1?: string | null;
22750
+ } | null;
22651
22751
  } | null;
22652
22752
  stats_day1?: {
22653
22753
  __typename?: 'WindowedDetailedPairStats';
@@ -23793,6 +23893,11 @@ export type GetDetailedPairsStatsQuery = {
23793
23893
  youtube?: string | null;
23794
23894
  } | null;
23795
23895
  } | null;
23896
+ virtualPooled?: {
23897
+ __typename?: 'PooledTokenValues';
23898
+ token0?: string | null;
23899
+ token1?: string | null;
23900
+ } | null;
23796
23901
  } | null;
23797
23902
  stats_day1?: {
23798
23903
  __typename?: 'WindowedDetailedPairStats';
@@ -26555,6 +26660,11 @@ export type ListPairsForTokenQuery = {
26555
26660
  youtube?: string | null;
26556
26661
  } | null;
26557
26662
  } | null;
26663
+ virtualPooled?: {
26664
+ __typename?: 'PooledTokenValues';
26665
+ token0?: string | null;
26666
+ token1?: string | null;
26667
+ } | null;
26558
26668
  } | null>;
26559
26669
  };
26560
26670
  export type ListPairsWithMetadataForTokenQueryVariables = Exact<{
@@ -26878,6 +26988,11 @@ export type ListPairsWithMetadataForTokenQuery = {
26878
26988
  youtube?: string | null;
26879
26989
  } | null;
26880
26990
  } | null;
26991
+ virtualPooled?: {
26992
+ __typename?: 'PooledTokenValues';
26993
+ token0?: string | null;
26994
+ token1?: string | null;
26995
+ } | null;
26881
26996
  };
26882
26997
  token: {
26883
26998
  __typename?: 'EnhancedToken';
@@ -27310,7 +27425,7 @@ export type PredictionEventBarsQuery = {
27310
27425
  }>;
27311
27426
  predictionEvent?: {
27312
27427
  __typename?: 'PredictionEvent';
27313
- closesAt: number;
27428
+ closesAt?: number | null;
27314
27429
  createdAt: number;
27315
27430
  id: string;
27316
27431
  imageLargeUrl?: string | null;
@@ -27322,7 +27437,7 @@ export type PredictionEventBarsQuery = {
27322
27437
  protocol: PredictionProtocol;
27323
27438
  question: string;
27324
27439
  resolvedAt?: number | null;
27325
- resolvesAt: number;
27440
+ resolvesAt?: number | null;
27326
27441
  rulesPrimary: string;
27327
27442
  rulesSecondary?: string | null;
27328
27443
  status: PredictionEventStatus;
@@ -27636,7 +27751,7 @@ export type PredictionEventTopMarketsBarsQuery = {
27636
27751
  }>;
27637
27752
  predictionEvent: {
27638
27753
  __typename?: 'PredictionEvent';
27639
- closesAt: number;
27754
+ closesAt?: number | null;
27640
27755
  createdAt: number;
27641
27756
  id: string;
27642
27757
  imageLargeUrl?: string | null;
@@ -27648,7 +27763,7 @@ export type PredictionEventTopMarketsBarsQuery = {
27648
27763
  protocol: PredictionProtocol;
27649
27764
  question: string;
27650
27765
  resolvedAt?: number | null;
27651
- resolvesAt: number;
27766
+ resolvesAt?: number | null;
27652
27767
  rulesPrimary: string;
27653
27768
  rulesSecondary?: string | null;
27654
27769
  status: PredictionEventStatus;
@@ -27731,7 +27846,7 @@ export type PredictionEventTopMarketsBarsQuery = {
27731
27846
  }>;
27732
27847
  predictionEvent?: {
27733
27848
  __typename?: 'PredictionEvent';
27734
- closesAt: number;
27849
+ closesAt?: number | null;
27735
27850
  createdAt: number;
27736
27851
  id: string;
27737
27852
  imageLargeUrl?: string | null;
@@ -27743,7 +27858,7 @@ export type PredictionEventTopMarketsBarsQuery = {
27743
27858
  protocol: PredictionProtocol;
27744
27859
  question: string;
27745
27860
  resolvedAt?: number | null;
27746
- resolvesAt: number;
27861
+ resolvesAt?: number | null;
27747
27862
  rulesPrimary: string;
27748
27863
  rulesSecondary?: string | null;
27749
27864
  status: PredictionEventStatus;
@@ -28004,7 +28119,7 @@ export type PredictionMarketBarsQuery = {
28004
28119
  }>;
28005
28120
  predictionEvent: {
28006
28121
  __typename?: 'PredictionEvent';
28007
- closesAt: number;
28122
+ closesAt?: number | null;
28008
28123
  createdAt: number;
28009
28124
  id: string;
28010
28125
  imageLargeUrl?: string | null;
@@ -28016,7 +28131,7 @@ export type PredictionMarketBarsQuery = {
28016
28131
  protocol: PredictionProtocol;
28017
28132
  question: string;
28018
28133
  resolvedAt?: number | null;
28019
- resolvesAt: number;
28134
+ resolvesAt?: number | null;
28020
28135
  rulesPrimary: string;
28021
28136
  rulesSecondary?: string | null;
28022
28137
  status: PredictionEventStatus;
@@ -28098,6 +28213,30 @@ export type PredictionMarketBarsQuery = {
28098
28213
  };
28099
28214
  } | null;
28100
28215
  };
28216
+ export type PredictionMarketPriceQueryVariables = Exact<{
28217
+ input: PredictionMarketPriceInput;
28218
+ }>;
28219
+ export type PredictionMarketPriceQuery = {
28220
+ __typename?: 'Query';
28221
+ predictionMarketPrice?: {
28222
+ __typename?: 'PredictionMarketPrice';
28223
+ marketId: string;
28224
+ timestamp: number;
28225
+ outcomes: Array<{
28226
+ __typename?: 'PredictionMarketOutcomePrice';
28227
+ bestAskCT?: string | null;
28228
+ bestAskUsd?: string | null;
28229
+ bestBidCT?: string | null;
28230
+ bestBidUsd?: string | null;
28231
+ lastTradePriceCT?: string | null;
28232
+ lastTradePriceUsd?: string | null;
28233
+ outcomeId: string;
28234
+ spreadCT?: string | null;
28235
+ spreadUsd?: string | null;
28236
+ timestamp: number;
28237
+ }>;
28238
+ } | null;
28239
+ };
28101
28240
  export type PredictionMarketsQueryVariables = Exact<{
28102
28241
  input: PredictionMarketsInput;
28103
28242
  }>;
@@ -34596,6 +34735,644 @@ export type OnEventsCreatedByMakerSubscription = {
34596
34735
  }>;
34597
34736
  } | null;
34598
34737
  };
34738
+ export type OnFilterTokenUpdatedSubscriptionVariables = Exact<{
34739
+ excludeTokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
34740
+ filters?: InputMaybe<TokenFilters>;
34741
+ limit?: InputMaybe<Scalars['Int']['input']>;
34742
+ offset?: InputMaybe<Scalars['Int']['input']>;
34743
+ phrase?: InputMaybe<Scalars['String']['input']>;
34744
+ rankings?: InputMaybe<Array<InputMaybe<TokenRanking>> | InputMaybe<TokenRanking>>;
34745
+ statsType?: InputMaybe<TokenPairStatisticsType>;
34746
+ tokens?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
34747
+ updatePeriod?: InputMaybe<Scalars['Int']['input']>;
34748
+ useAggregatedStats?: InputMaybe<Scalars['Boolean']['input']>;
34749
+ }>;
34750
+ export type OnFilterTokenUpdatedSubscription = {
34751
+ __typename?: 'Subscription';
34752
+ onFilterTokenUpdated?: {
34753
+ __typename?: 'FilterTokenUpdates';
34754
+ updates?: Array<{
34755
+ __typename?: 'TokenFilterResult';
34756
+ bundlerCount?: number | null;
34757
+ bundlerHeldPercentage?: number | null;
34758
+ buyCount1?: number | null;
34759
+ buyCount4?: number | null;
34760
+ buyCount5m?: number | null;
34761
+ buyCount12?: number | null;
34762
+ buyCount24?: number | null;
34763
+ buyVolume1?: string | null;
34764
+ buyVolume4?: string | null;
34765
+ buyVolume5m?: string | null;
34766
+ buyVolume12?: string | null;
34767
+ buyVolume24?: string | null;
34768
+ change1?: string | null;
34769
+ change4?: string | null;
34770
+ change5m?: string | null;
34771
+ change12?: string | null;
34772
+ change24?: string | null;
34773
+ circulatingMarketCap?: string | null;
34774
+ createdAt?: number | null;
34775
+ devHeldPercentage?: number | null;
34776
+ high1?: string | null;
34777
+ high4?: string | null;
34778
+ high5m?: string | null;
34779
+ high12?: string | null;
34780
+ high24?: string | null;
34781
+ holders?: number | null;
34782
+ insiderCount?: number | null;
34783
+ insiderHeldPercentage?: number | null;
34784
+ isScam?: boolean | null;
34785
+ lastTransaction?: number | null;
34786
+ liquidPairLiquidity?: string | null;
34787
+ liquidPairPriceUSD?: string | null;
34788
+ liquidity?: string | null;
34789
+ low1?: string | null;
34790
+ low4?: string | null;
34791
+ low5m?: string | null;
34792
+ low12?: string | null;
34793
+ low24?: string | null;
34794
+ marketCap?: string | null;
34795
+ potentialScamReasons?: Array<PotentialScamReason | null> | null;
34796
+ priceUSD?: string | null;
34797
+ quoteToken?: string | null;
34798
+ sellCount1?: number | null;
34799
+ sellCount4?: number | null;
34800
+ sellCount5m?: number | null;
34801
+ sellCount12?: number | null;
34802
+ sellCount24?: number | null;
34803
+ sellVolume1?: string | null;
34804
+ sellVolume4?: string | null;
34805
+ sellVolume5m?: string | null;
34806
+ sellVolume12?: string | null;
34807
+ sellVolume24?: string | null;
34808
+ sniperCount?: number | null;
34809
+ sniperHeldPercentage?: number | null;
34810
+ swapPct1dOldWallet?: string | null;
34811
+ swapPct7dOldWallet?: string | null;
34812
+ top10HoldersPercent?: number | null;
34813
+ trendingScore?: number | null;
34814
+ txnCount1?: number | null;
34815
+ txnCount4?: number | null;
34816
+ txnCount5m?: number | null;
34817
+ txnCount12?: number | null;
34818
+ txnCount24?: number | null;
34819
+ uniqueBuys1?: number | null;
34820
+ uniqueBuys4?: number | null;
34821
+ uniqueBuys5m?: number | null;
34822
+ uniqueBuys12?: number | null;
34823
+ uniqueBuys24?: number | null;
34824
+ uniqueSells1?: number | null;
34825
+ uniqueSells4?: number | null;
34826
+ uniqueSells5m?: number | null;
34827
+ uniqueSells12?: number | null;
34828
+ uniqueSells24?: number | null;
34829
+ uniqueTransactions1?: number | null;
34830
+ uniqueTransactions4?: number | null;
34831
+ uniqueTransactions5m?: number | null;
34832
+ uniqueTransactions12?: number | null;
34833
+ uniqueTransactions24?: number | null;
34834
+ volume1?: string | null;
34835
+ volume4?: string | null;
34836
+ volume5m?: string | null;
34837
+ volume12?: string | null;
34838
+ volume24?: string | null;
34839
+ volumeChange1?: string | null;
34840
+ volumeChange4?: string | null;
34841
+ volumeChange5m?: string | null;
34842
+ volumeChange12?: string | null;
34843
+ volumeChange24?: string | null;
34844
+ walletAgeAvg?: string | null;
34845
+ walletAgeStd?: string | null;
34846
+ exchanges?: Array<{
34847
+ __typename?: 'Exchange';
34848
+ address: string;
34849
+ color?: string | null;
34850
+ exchangeVersion?: string | null;
34851
+ iconUrl?: string | null;
34852
+ id: string;
34853
+ name?: string | null;
34854
+ networkId: number;
34855
+ tradeUrl?: string | null;
34856
+ } | null> | null;
34857
+ liquidPair?: {
34858
+ __typename?: 'Pair';
34859
+ address: string;
34860
+ createdAt?: number | null;
34861
+ exchangeHash: string;
34862
+ fee?: number | null;
34863
+ id: string;
34864
+ networkId: number;
34865
+ protocol?: string | null;
34866
+ tickSpacing?: number | null;
34867
+ token0: string;
34868
+ token1: string;
34869
+ pooled?: {
34870
+ __typename?: 'PooledTokenValues';
34871
+ token0?: string | null;
34872
+ token1?: string | null;
34873
+ } | null;
34874
+ protocolData?: {
34875
+ __typename?: 'ArenaTradeData';
34876
+ tokenId?: string | null;
34877
+ type: string;
34878
+ } | {
34879
+ __typename?: 'PumpData';
34880
+ creator?: string | null;
34881
+ type: string;
34882
+ } | {
34883
+ __typename?: 'UniswapV4Data';
34884
+ isDynamicFee?: boolean | null;
34885
+ isToken0NetworkToken?: boolean | null;
34886
+ type: string;
34887
+ uniswapV4HookAddress?: string | null;
34888
+ } | null;
34889
+ token0Data?: {
34890
+ __typename?: 'EnhancedToken';
34891
+ address: string;
34892
+ cmcId?: number | null;
34893
+ createBlockNumber?: number | null;
34894
+ createTransactionHash?: string | null;
34895
+ createdAt?: number | null;
34896
+ creatorAddress?: string | null;
34897
+ decimals: number;
34898
+ freezable?: string | null;
34899
+ id: string;
34900
+ isFreezableValid?: boolean | null;
34901
+ isMintableValid?: boolean | null;
34902
+ isScam?: boolean | null;
34903
+ mintable?: string | null;
34904
+ name?: string | null;
34905
+ networkId: number;
34906
+ symbol?: string | null;
34907
+ top10HoldersPercent?: number | null;
34908
+ exchanges?: Array<{
34909
+ __typename?: 'Exchange';
34910
+ address: string;
34911
+ color?: string | null;
34912
+ exchangeVersion?: string | null;
34913
+ iconUrl?: string | null;
34914
+ id: string;
34915
+ name?: string | null;
34916
+ networkId: number;
34917
+ tradeUrl?: string | null;
34918
+ }> | null;
34919
+ info?: {
34920
+ __typename?: 'TokenInfo';
34921
+ address: string;
34922
+ circulatingSupply?: string | null;
34923
+ cmcId?: number | null;
34924
+ description?: string | null;
34925
+ id: string;
34926
+ imageBannerUrl?: string | null;
34927
+ imageLargeUrl?: string | null;
34928
+ imageSmallUrl?: string | null;
34929
+ imageThumbHash?: string | null;
34930
+ imageThumbUrl?: string | null;
34931
+ isScam?: boolean | null;
34932
+ name?: string | null;
34933
+ networkId: number;
34934
+ symbol: string;
34935
+ totalSupply?: string | null;
34936
+ videoExternalUrl?: string | null;
34937
+ } | null;
34938
+ launchpad?: {
34939
+ __typename?: 'LaunchpadData';
34940
+ completed?: boolean | null;
34941
+ completedAt?: number | null;
34942
+ completedSlot?: number | null;
34943
+ graduationPercent?: number | null;
34944
+ isCashbackEnabled?: boolean | null;
34945
+ launchpadIconUrl?: string | null;
34946
+ launchpadName?: string | null;
34947
+ launchpadProtocol?: string | null;
34948
+ migrated?: boolean | null;
34949
+ migratedAt?: number | null;
34950
+ migratedPoolAddress?: string | null;
34951
+ migratedSlot?: number | null;
34952
+ poolAddress?: string | null;
34953
+ } | null;
34954
+ socialLinks?: {
34955
+ __typename?: 'SocialLinks';
34956
+ bitcointalk?: string | null;
34957
+ blog?: string | null;
34958
+ coingecko?: string | null;
34959
+ coinmarketcap?: string | null;
34960
+ discord?: string | null;
34961
+ email?: string | null;
34962
+ facebook?: string | null;
34963
+ github?: string | null;
34964
+ instagram?: string | null;
34965
+ linkedin?: string | null;
34966
+ reddit?: string | null;
34967
+ slack?: string | null;
34968
+ telegram?: string | null;
34969
+ twitch?: string | null;
34970
+ twitter?: string | null;
34971
+ website?: string | null;
34972
+ wechat?: string | null;
34973
+ whitepaper?: string | null;
34974
+ youtube?: string | null;
34975
+ } | null;
34976
+ } | null;
34977
+ token1Data?: {
34978
+ __typename?: 'EnhancedToken';
34979
+ address: string;
34980
+ cmcId?: number | null;
34981
+ createBlockNumber?: number | null;
34982
+ createTransactionHash?: string | null;
34983
+ createdAt?: number | null;
34984
+ creatorAddress?: string | null;
34985
+ decimals: number;
34986
+ freezable?: string | null;
34987
+ id: string;
34988
+ isFreezableValid?: boolean | null;
34989
+ isMintableValid?: boolean | null;
34990
+ isScam?: boolean | null;
34991
+ mintable?: string | null;
34992
+ name?: string | null;
34993
+ networkId: number;
34994
+ symbol?: string | null;
34995
+ top10HoldersPercent?: number | null;
34996
+ exchanges?: Array<{
34997
+ __typename?: 'Exchange';
34998
+ address: string;
34999
+ color?: string | null;
35000
+ exchangeVersion?: string | null;
35001
+ iconUrl?: string | null;
35002
+ id: string;
35003
+ name?: string | null;
35004
+ networkId: number;
35005
+ tradeUrl?: string | null;
35006
+ }> | null;
35007
+ info?: {
35008
+ __typename?: 'TokenInfo';
35009
+ address: string;
35010
+ circulatingSupply?: string | null;
35011
+ cmcId?: number | null;
35012
+ description?: string | null;
35013
+ id: string;
35014
+ imageBannerUrl?: string | null;
35015
+ imageLargeUrl?: string | null;
35016
+ imageSmallUrl?: string | null;
35017
+ imageThumbHash?: string | null;
35018
+ imageThumbUrl?: string | null;
35019
+ isScam?: boolean | null;
35020
+ name?: string | null;
35021
+ networkId: number;
35022
+ symbol: string;
35023
+ totalSupply?: string | null;
35024
+ videoExternalUrl?: string | null;
35025
+ } | null;
35026
+ launchpad?: {
35027
+ __typename?: 'LaunchpadData';
35028
+ completed?: boolean | null;
35029
+ completedAt?: number | null;
35030
+ completedSlot?: number | null;
35031
+ graduationPercent?: number | null;
35032
+ isCashbackEnabled?: boolean | null;
35033
+ launchpadIconUrl?: string | null;
35034
+ launchpadName?: string | null;
35035
+ launchpadProtocol?: string | null;
35036
+ migrated?: boolean | null;
35037
+ migratedAt?: number | null;
35038
+ migratedPoolAddress?: string | null;
35039
+ migratedSlot?: number | null;
35040
+ poolAddress?: string | null;
35041
+ } | null;
35042
+ socialLinks?: {
35043
+ __typename?: 'SocialLinks';
35044
+ bitcointalk?: string | null;
35045
+ blog?: string | null;
35046
+ coingecko?: string | null;
35047
+ coinmarketcap?: string | null;
35048
+ discord?: string | null;
35049
+ email?: string | null;
35050
+ facebook?: string | null;
35051
+ github?: string | null;
35052
+ instagram?: string | null;
35053
+ linkedin?: string | null;
35054
+ reddit?: string | null;
35055
+ slack?: string | null;
35056
+ telegram?: string | null;
35057
+ twitch?: string | null;
35058
+ twitter?: string | null;
35059
+ website?: string | null;
35060
+ wechat?: string | null;
35061
+ whitepaper?: string | null;
35062
+ youtube?: string | null;
35063
+ } | null;
35064
+ } | null;
35065
+ virtualPooled?: {
35066
+ __typename?: 'PooledTokenValues';
35067
+ token0?: string | null;
35068
+ token1?: string | null;
35069
+ } | null;
35070
+ } | null;
35071
+ pair?: {
35072
+ __typename?: 'Pair';
35073
+ address: string;
35074
+ createdAt?: number | null;
35075
+ exchangeHash: string;
35076
+ fee?: number | null;
35077
+ id: string;
35078
+ networkId: number;
35079
+ protocol?: string | null;
35080
+ tickSpacing?: number | null;
35081
+ token0: string;
35082
+ token1: string;
35083
+ pooled?: {
35084
+ __typename?: 'PooledTokenValues';
35085
+ token0?: string | null;
35086
+ token1?: string | null;
35087
+ } | null;
35088
+ protocolData?: {
35089
+ __typename?: 'ArenaTradeData';
35090
+ tokenId?: string | null;
35091
+ type: string;
35092
+ } | {
35093
+ __typename?: 'PumpData';
35094
+ creator?: string | null;
35095
+ type: string;
35096
+ } | {
35097
+ __typename?: 'UniswapV4Data';
35098
+ isDynamicFee?: boolean | null;
35099
+ isToken0NetworkToken?: boolean | null;
35100
+ type: string;
35101
+ uniswapV4HookAddress?: string | null;
35102
+ } | null;
35103
+ token0Data?: {
35104
+ __typename?: 'EnhancedToken';
35105
+ address: string;
35106
+ cmcId?: number | null;
35107
+ createBlockNumber?: number | null;
35108
+ createTransactionHash?: string | null;
35109
+ createdAt?: number | null;
35110
+ creatorAddress?: string | null;
35111
+ decimals: number;
35112
+ freezable?: string | null;
35113
+ id: string;
35114
+ isFreezableValid?: boolean | null;
35115
+ isMintableValid?: boolean | null;
35116
+ isScam?: boolean | null;
35117
+ mintable?: string | null;
35118
+ name?: string | null;
35119
+ networkId: number;
35120
+ symbol?: string | null;
35121
+ top10HoldersPercent?: number | null;
35122
+ exchanges?: Array<{
35123
+ __typename?: 'Exchange';
35124
+ address: string;
35125
+ color?: string | null;
35126
+ exchangeVersion?: string | null;
35127
+ iconUrl?: string | null;
35128
+ id: string;
35129
+ name?: string | null;
35130
+ networkId: number;
35131
+ tradeUrl?: string | null;
35132
+ }> | null;
35133
+ info?: {
35134
+ __typename?: 'TokenInfo';
35135
+ address: string;
35136
+ circulatingSupply?: string | null;
35137
+ cmcId?: number | null;
35138
+ description?: string | null;
35139
+ id: string;
35140
+ imageBannerUrl?: string | null;
35141
+ imageLargeUrl?: string | null;
35142
+ imageSmallUrl?: string | null;
35143
+ imageThumbHash?: string | null;
35144
+ imageThumbUrl?: string | null;
35145
+ isScam?: boolean | null;
35146
+ name?: string | null;
35147
+ networkId: number;
35148
+ symbol: string;
35149
+ totalSupply?: string | null;
35150
+ videoExternalUrl?: string | null;
35151
+ } | null;
35152
+ launchpad?: {
35153
+ __typename?: 'LaunchpadData';
35154
+ completed?: boolean | null;
35155
+ completedAt?: number | null;
35156
+ completedSlot?: number | null;
35157
+ graduationPercent?: number | null;
35158
+ isCashbackEnabled?: boolean | null;
35159
+ launchpadIconUrl?: string | null;
35160
+ launchpadName?: string | null;
35161
+ launchpadProtocol?: string | null;
35162
+ migrated?: boolean | null;
35163
+ migratedAt?: number | null;
35164
+ migratedPoolAddress?: string | null;
35165
+ migratedSlot?: number | null;
35166
+ poolAddress?: string | null;
35167
+ } | null;
35168
+ socialLinks?: {
35169
+ __typename?: 'SocialLinks';
35170
+ bitcointalk?: string | null;
35171
+ blog?: string | null;
35172
+ coingecko?: string | null;
35173
+ coinmarketcap?: string | null;
35174
+ discord?: string | null;
35175
+ email?: string | null;
35176
+ facebook?: string | null;
35177
+ github?: string | null;
35178
+ instagram?: string | null;
35179
+ linkedin?: string | null;
35180
+ reddit?: string | null;
35181
+ slack?: string | null;
35182
+ telegram?: string | null;
35183
+ twitch?: string | null;
35184
+ twitter?: string | null;
35185
+ website?: string | null;
35186
+ wechat?: string | null;
35187
+ whitepaper?: string | null;
35188
+ youtube?: string | null;
35189
+ } | null;
35190
+ } | null;
35191
+ token1Data?: {
35192
+ __typename?: 'EnhancedToken';
35193
+ address: string;
35194
+ cmcId?: number | null;
35195
+ createBlockNumber?: number | null;
35196
+ createTransactionHash?: string | null;
35197
+ createdAt?: number | null;
35198
+ creatorAddress?: string | null;
35199
+ decimals: number;
35200
+ freezable?: string | null;
35201
+ id: string;
35202
+ isFreezableValid?: boolean | null;
35203
+ isMintableValid?: boolean | null;
35204
+ isScam?: boolean | null;
35205
+ mintable?: string | null;
35206
+ name?: string | null;
35207
+ networkId: number;
35208
+ symbol?: string | null;
35209
+ top10HoldersPercent?: number | null;
35210
+ exchanges?: Array<{
35211
+ __typename?: 'Exchange';
35212
+ address: string;
35213
+ color?: string | null;
35214
+ exchangeVersion?: string | null;
35215
+ iconUrl?: string | null;
35216
+ id: string;
35217
+ name?: string | null;
35218
+ networkId: number;
35219
+ tradeUrl?: string | null;
35220
+ }> | null;
35221
+ info?: {
35222
+ __typename?: 'TokenInfo';
35223
+ address: string;
35224
+ circulatingSupply?: string | null;
35225
+ cmcId?: number | null;
35226
+ description?: string | null;
35227
+ id: string;
35228
+ imageBannerUrl?: string | null;
35229
+ imageLargeUrl?: string | null;
35230
+ imageSmallUrl?: string | null;
35231
+ imageThumbHash?: string | null;
35232
+ imageThumbUrl?: string | null;
35233
+ isScam?: boolean | null;
35234
+ name?: string | null;
35235
+ networkId: number;
35236
+ symbol: string;
35237
+ totalSupply?: string | null;
35238
+ videoExternalUrl?: string | null;
35239
+ } | null;
35240
+ launchpad?: {
35241
+ __typename?: 'LaunchpadData';
35242
+ completed?: boolean | null;
35243
+ completedAt?: number | null;
35244
+ completedSlot?: number | null;
35245
+ graduationPercent?: number | null;
35246
+ isCashbackEnabled?: boolean | null;
35247
+ launchpadIconUrl?: string | null;
35248
+ launchpadName?: string | null;
35249
+ launchpadProtocol?: string | null;
35250
+ migrated?: boolean | null;
35251
+ migratedAt?: number | null;
35252
+ migratedPoolAddress?: string | null;
35253
+ migratedSlot?: number | null;
35254
+ poolAddress?: string | null;
35255
+ } | null;
35256
+ socialLinks?: {
35257
+ __typename?: 'SocialLinks';
35258
+ bitcointalk?: string | null;
35259
+ blog?: string | null;
35260
+ coingecko?: string | null;
35261
+ coinmarketcap?: string | null;
35262
+ discord?: string | null;
35263
+ email?: string | null;
35264
+ facebook?: string | null;
35265
+ github?: string | null;
35266
+ instagram?: string | null;
35267
+ linkedin?: string | null;
35268
+ reddit?: string | null;
35269
+ slack?: string | null;
35270
+ telegram?: string | null;
35271
+ twitch?: string | null;
35272
+ twitter?: string | null;
35273
+ website?: string | null;
35274
+ wechat?: string | null;
35275
+ whitepaper?: string | null;
35276
+ youtube?: string | null;
35277
+ } | null;
35278
+ } | null;
35279
+ virtualPooled?: {
35280
+ __typename?: 'PooledTokenValues';
35281
+ token0?: string | null;
35282
+ token1?: string | null;
35283
+ } | null;
35284
+ } | null;
35285
+ token?: {
35286
+ __typename?: 'EnhancedToken';
35287
+ address: string;
35288
+ cmcId?: number | null;
35289
+ createBlockNumber?: number | null;
35290
+ createTransactionHash?: string | null;
35291
+ createdAt?: number | null;
35292
+ creatorAddress?: string | null;
35293
+ decimals: number;
35294
+ freezable?: string | null;
35295
+ id: string;
35296
+ isFreezableValid?: boolean | null;
35297
+ isMintableValid?: boolean | null;
35298
+ isScam?: boolean | null;
35299
+ mintable?: string | null;
35300
+ name?: string | null;
35301
+ networkId: number;
35302
+ symbol?: string | null;
35303
+ top10HoldersPercent?: number | null;
35304
+ exchanges?: Array<{
35305
+ __typename?: 'Exchange';
35306
+ address: string;
35307
+ color?: string | null;
35308
+ exchangeVersion?: string | null;
35309
+ iconUrl?: string | null;
35310
+ id: string;
35311
+ name?: string | null;
35312
+ networkId: number;
35313
+ tradeUrl?: string | null;
35314
+ }> | null;
35315
+ info?: {
35316
+ __typename?: 'TokenInfo';
35317
+ address: string;
35318
+ circulatingSupply?: string | null;
35319
+ cmcId?: number | null;
35320
+ description?: string | null;
35321
+ id: string;
35322
+ imageBannerUrl?: string | null;
35323
+ imageLargeUrl?: string | null;
35324
+ imageSmallUrl?: string | null;
35325
+ imageThumbHash?: string | null;
35326
+ imageThumbUrl?: string | null;
35327
+ isScam?: boolean | null;
35328
+ name?: string | null;
35329
+ networkId: number;
35330
+ symbol: string;
35331
+ totalSupply?: string | null;
35332
+ videoExternalUrl?: string | null;
35333
+ } | null;
35334
+ launchpad?: {
35335
+ __typename?: 'LaunchpadData';
35336
+ completed?: boolean | null;
35337
+ completedAt?: number | null;
35338
+ completedSlot?: number | null;
35339
+ graduationPercent?: number | null;
35340
+ isCashbackEnabled?: boolean | null;
35341
+ launchpadIconUrl?: string | null;
35342
+ launchpadName?: string | null;
35343
+ launchpadProtocol?: string | null;
35344
+ migrated?: boolean | null;
35345
+ migratedAt?: number | null;
35346
+ migratedPoolAddress?: string | null;
35347
+ migratedSlot?: number | null;
35348
+ poolAddress?: string | null;
35349
+ } | null;
35350
+ socialLinks?: {
35351
+ __typename?: 'SocialLinks';
35352
+ bitcointalk?: string | null;
35353
+ blog?: string | null;
35354
+ coingecko?: string | null;
35355
+ coinmarketcap?: string | null;
35356
+ discord?: string | null;
35357
+ email?: string | null;
35358
+ facebook?: string | null;
35359
+ github?: string | null;
35360
+ instagram?: string | null;
35361
+ linkedin?: string | null;
35362
+ reddit?: string | null;
35363
+ slack?: string | null;
35364
+ telegram?: string | null;
35365
+ twitch?: string | null;
35366
+ twitter?: string | null;
35367
+ website?: string | null;
35368
+ wechat?: string | null;
35369
+ whitepaper?: string | null;
35370
+ youtube?: string | null;
35371
+ } | null;
35372
+ } | null;
35373
+ } | null> | null;
35374
+ } | null;
35375
+ };
34599
35376
  export type OnHoldersUpdatedSubscriptionVariables = Exact<{
34600
35377
  tokenId: Scalars['String']['input'];
34601
35378
  }>;
@@ -39541,6 +40318,7 @@ export declare const PredictionCategoriesDocument: DocumentNode<PredictionCatego
39541
40318
  export declare const PredictionEventBarsDocument: DocumentNode<PredictionEventBarsQuery, PredictionEventBarsQueryVariables>;
39542
40319
  export declare const PredictionEventTopMarketsBarsDocument: DocumentNode<PredictionEventTopMarketsBarsQuery, PredictionEventTopMarketsBarsQueryVariables>;
39543
40320
  export declare const PredictionMarketBarsDocument: DocumentNode<PredictionMarketBarsQuery, PredictionMarketBarsQueryVariables>;
40321
+ export declare const PredictionMarketPriceDocument: DocumentNode<PredictionMarketPriceQuery, PredictionMarketPriceQueryVariables>;
39544
40322
  export declare const PredictionMarketsDocument: DocumentNode<PredictionMarketsQuery, PredictionMarketsQueryVariables>;
39545
40323
  export declare const PredictionTokenHoldersDocument: DocumentNode<PredictionTokenHoldersQuery, PredictionTokenHoldersQueryVariables>;
39546
40324
  export declare const PredictionTraderBarsDocument: DocumentNode<PredictionTraderBarsQuery, PredictionTraderBarsQueryVariables>;
@@ -39565,6 +40343,7 @@ export declare const OnDetailedTokenStatsUpdatedDocument: DocumentNode<OnDetaile
39565
40343
  export declare const OnEventLabelCreatedDocument: DocumentNode<OnEventLabelCreatedSubscription, OnEventLabelCreatedSubscriptionVariables>;
39566
40344
  export declare const OnEventsCreatedDocument: DocumentNode<OnEventsCreatedSubscription, OnEventsCreatedSubscriptionVariables>;
39567
40345
  export declare const OnEventsCreatedByMakerDocument: DocumentNode<OnEventsCreatedByMakerSubscription, OnEventsCreatedByMakerSubscriptionVariables>;
40346
+ export declare const OnFilterTokenUpdatedDocument: DocumentNode<OnFilterTokenUpdatedSubscription, OnFilterTokenUpdatedSubscriptionVariables>;
39568
40347
  export declare const OnHoldersUpdatedDocument: DocumentNode<OnHoldersUpdatedSubscription, OnHoldersUpdatedSubscriptionVariables>;
39569
40348
  export declare const OnLatestPairUpdatedDocument: DocumentNode<OnLatestPairUpdatedSubscription, OnLatestPairUpdatedSubscriptionVariables>;
39570
40349
  export declare const OnLatestTokensDocument: DocumentNode<OnLatestTokensSubscription, OnLatestTokensSubscriptionVariables>;