@codex-data/sdk 1.0.8 → 1.0.9

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.
Files changed (42) hide show
  1. package/dist/resources/graphql.d.ts +174 -5
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +8 -2
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Query.d.ts +2 -2
  6. package/dist/sdk/Query.d.ts.map +1 -1
  7. package/dist/sdk/Query.js +1 -1
  8. package/dist/sdk/Query.js.map +1 -1
  9. package/dist/sdk/Subscribe.d.ts +3 -1
  10. package/dist/sdk/Subscribe.d.ts.map +1 -1
  11. package/dist/sdk/Subscribe.js +20 -6
  12. package/dist/sdk/Subscribe.js.map +1 -1
  13. package/dist/sdk/generated/gql.d.ts +47 -29
  14. package/dist/sdk/generated/gql.d.ts.map +1 -1
  15. package/dist/sdk/generated/gql.js +13 -11
  16. package/dist/sdk/generated/gql.js.map +1 -1
  17. package/dist/sdk/generated/graphql.d.ts +789 -71
  18. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  19. package/dist/sdk/generated/graphql.js +23 -15
  20. package/dist/sdk/generated/graphql.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/resources/generated_queries/Balances.graphql +78 -0
  23. package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
  24. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  25. package/src/resources/generated_queries/Holders.graphql +78 -0
  26. package/src/resources/generated_queries/LiquidityLocks.graphql +7 -1
  27. package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +19 -0
  28. package/src/resources/generated_queries/PrimeHolders.graphql +78 -0
  29. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +78 -0
  30. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +3 -0
  31. package/src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql +92 -0
  32. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +78 -0
  33. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  34. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql +41 -0
  35. package/src/resources/graphql.schema.json +1206 -128
  36. package/src/resources/graphql.ts +192 -5
  37. package/src/resources/schema.graphql +247 -5
  38. package/src/sdk/Query.ts +5 -4
  39. package/src/sdk/Subscribe.ts +36 -6
  40. package/src/sdk/generated/gql.ts +34 -24
  41. package/src/sdk/generated/graphql.ts +242 -38
  42. package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
@@ -59,6 +59,14 @@ export type Scalars = {
59
59
  output: any;
60
60
  };
61
61
  };
62
+ /** Response returned by `onEventsCreatedByMaker`. */
63
+ export type AddEventsByMakerOutput = {
64
+ __typename?: 'AddEventsByMakerOutput';
65
+ /** A list of transactions for the maker. */
66
+ events: Array<Event>;
67
+ /** The address of the maker. */
68
+ makerAddress: Scalars['String']['output'];
69
+ };
62
70
  /** Response returned by `onEventsCreated`. */
63
71
  export type AddEventsOutput = {
64
72
  __typename?: 'AddEventsOutput';
@@ -113,6 +121,13 @@ export type AddTrackedWalletEventsOutput = {
113
121
  __typename?: 'AddTrackedWalletEventsOutput';
114
122
  userId: Scalars['String']['output'];
115
123
  };
124
+ export type AddUnconfirmedEventsByMakerOutput = {
125
+ __typename?: 'AddUnconfirmedEventsByMakerOutput';
126
+ /** A list of transactions for the maker. */
127
+ events: Array<UnconfirmedEvent>;
128
+ /** The wallet address of the maker. */
129
+ makerAddress: Scalars['String']['output'];
130
+ };
116
131
  /** Response returned by `onUnconfirmedEventsCreated`. */
117
132
  export type AddUnconfirmedEventsOutput = {
118
133
  __typename?: 'AddUnconfirmedEventsOutput';
@@ -180,16 +195,22 @@ export type Balance = {
180
195
  address: Scalars['String']['output'];
181
196
  /** The balance held by the wallet. */
182
197
  balance: Scalars['String']['output'];
198
+ /** The balance held by the wallet in USD. */
199
+ balanceUsd?: Maybe<Scalars['String']['output']>;
183
200
  /** The time that this address first held a token. */
184
201
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
185
202
  /** The wallet network. */
186
203
  networkId: Scalars['Int']['output'];
187
204
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
188
205
  shiftedBalance: Scalars['Float']['output'];
206
+ /** Metadata for the token. */
207
+ token?: Maybe<EnhancedToken>;
189
208
  /** The contract address of the token. */
190
209
  tokenAddress: Scalars['String']['output'];
191
210
  /** The ID of the token (`tokenAddress:networkId`). */
192
211
  tokenId: Scalars['String']['output'];
212
+ /** The token price in USD. */
213
+ tokenPriceUsd?: Maybe<Scalars['String']['output']>;
193
214
  /** The ID of the wallet (`walletAddress:networkId`). */
194
215
  walletId: Scalars['String']['output'];
195
216
  };
@@ -207,6 +228,8 @@ export type BalancesInput = {
207
228
  limit?: InputMaybe<Scalars['Int']['input']>;
208
229
  /** The network IDs to filter by. */
209
230
  networks?: InputMaybe<Array<Scalars['Int']['input']>>;
231
+ /** Whether to remove scam tokens from the response. */
232
+ removeScams?: InputMaybe<Scalars['Boolean']['input']>;
210
233
  /** The token IDs (`address:networkId`) or addresses to request the balance for. Requires a list of `networks` if only passing addresses. Include native network balances using `native` as the token address. Only applied when using `walletAddress` (not `walletId`). Max 200 tokens. */
211
234
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
212
235
  /** The wallet address to filter by. */
@@ -454,6 +477,36 @@ export type CreateApiTokensInput = {
454
477
  /** Number of requests allowed per token, represented as a string, default is 5000 */
455
478
  requestLimit?: InputMaybe<Scalars['String']['input']>;
456
479
  };
480
+ /** Input for creating a market cap webhook. */
481
+ export type CreateMarketCapWebhookArgs = {
482
+ /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
483
+ alertRecurrence: AlertRecurrence;
484
+ /** An optional bucket ID (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
485
+ bucketId?: InputMaybe<Scalars['String']['input']>;
486
+ /** An optional bucket sort key (max 64 characters). Can be used to query for subgroups of webhooks (useful if you have a large number of webhooks). */
487
+ bucketSortkey?: InputMaybe<Scalars['String']['input']>;
488
+ /** The url to which the webhook message should be sent. */
489
+ callbackUrl: Scalars['String']['input'];
490
+ /** The conditions which must be met in order for the webhook to send a message. */
491
+ conditions: MarketCapEventWebhookConditionInput;
492
+ /** If enabled, new webhooks won't be created if a webhook with the same parameters already exists. If callbackUrl, conditions, publishingType, and alertRecurrence all match, then we return the existing webhook. */
493
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
494
+ /** A webhook group ID (max 64 characters). Can be used to group webhooks so that their messages are kept in order as a group rather than by individual webhook. */
495
+ groupId?: InputMaybe<Scalars['String']['input']>;
496
+ /** The name of the webhook (max 128 characters). */
497
+ name: Scalars['String']['input'];
498
+ /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
499
+ publishingType?: InputMaybe<PublishingType>;
500
+ /** The settings for retrying failed webhook messages. */
501
+ retrySettings?: InputMaybe<RetrySettingsInput>;
502
+ /** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
503
+ securityToken: Scalars['String']['input'];
504
+ };
505
+ /** Input for creating market cap webhooks. */
506
+ export type CreateMarketCapWebhooksInput = {
507
+ /** A list of market cap webhooks to create. */
508
+ webhooks: Array<CreateMarketCapWebhookArgs>;
509
+ };
457
510
  /** Input for creating an NFT event webhook. */
458
511
  export type CreateNftEventWebhookArgs = {
459
512
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
@@ -576,6 +629,8 @@ export type CreateTokenPairEventWebhooksInput = {
576
629
  };
577
630
  /** Input for creating webhooks. */
578
631
  export type CreateWebhooksInput = {
632
+ /** Input for creating market cap webhooks. */
633
+ marketCapWebhooksInput?: InputMaybe<CreateMarketCapWebhooksInput>;
579
634
  /** Input for creating NFT event webhooks. */
580
635
  nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
581
636
  /** Input for creating price webhooks. */
@@ -588,6 +643,8 @@ export type CreateWebhooksInput = {
588
643
  /** Result returned by `createWebhooks`. */
589
644
  export type CreateWebhooksOutput = {
590
645
  __typename?: 'CreateWebhooksOutput';
646
+ /** The list of market cap event webhooks that were created. */
647
+ marketCapWebhooks: Array<Maybe<Webhook>>;
591
648
  /** The list of NFT event webhooks that were created. */
592
649
  nftEventWebhooks: Array<Maybe<Webhook>>;
593
650
  /** The list of price webhooks that were created. */
@@ -1032,6 +1089,8 @@ export type Event = {
1032
1089
  transactionIndex: Scalars['Int']['output'];
1033
1090
  /** The age of the wallet in seconds. */
1034
1091
  walletAge?: Maybe<Scalars['Int']['output']>;
1092
+ /** Labels attributed to the wallet. */
1093
+ walletLabels?: Maybe<Array<Scalars['String']['output']>>;
1035
1094
  };
1036
1095
  /** Response returned by `getTokenEvents`. */
1037
1096
  export type EventConnection = {
@@ -1351,8 +1410,13 @@ export type FilterTokenWalletsInput = {
1351
1410
  rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1352
1411
  /** The ID of the token to filter wallets for */
1353
1412
  tokenId?: InputMaybe<Scalars['String']['input']>;
1354
- /** The wallet address to filter wallets for */
1413
+ /**
1414
+ * The wallet address to filter wallets for
1415
+ * @deprecated Use wallets instead
1416
+ */
1355
1417
  walletAddress?: InputMaybe<Scalars['String']['input']>;
1418
+ /** A list of wallet addresses to filter wallets for */
1419
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1356
1420
  };
1357
1421
  /** The input for filtering wallets. */
1358
1422
  export type FilterWalletsInput = {
@@ -1590,6 +1654,14 @@ export type HoldersUpdate = {
1590
1654
  /** The ID of the token (`tokenAddress:networkId`). */
1591
1655
  tokenId: Scalars['String']['output'];
1592
1656
  };
1657
+ export type IndexerStateInput = {
1658
+ /** The network ID to check the state of. */
1659
+ networkId: Scalars['Int']['input'];
1660
+ };
1661
+ export declare enum IndexerStatus {
1662
+ Behind = "Behind",
1663
+ Normal = "Normal"
1664
+ }
1593
1665
  /** Bar chart data. */
1594
1666
  export type IndividualBarData = {
1595
1667
  __typename?: 'IndividualBarData';
@@ -1903,6 +1975,18 @@ export type LiquidityLock = {
1903
1975
  /** The unix timestamp for when the lock expires. */
1904
1976
  unlockAt?: Maybe<Scalars['Int']['output']>;
1905
1977
  };
1978
+ /** A breakdown of how much and where liquidity is locked. */
1979
+ export type LiquidityLockBreakdownForToken = {
1980
+ __typename?: 'LiquidityLockBreakdownForToken';
1981
+ /** The amount of tokens locked in the protocol. */
1982
+ amountLockedTokens: Scalars['String']['output'];
1983
+ /** The amount of tokens locked in the protocol shifted by number of decimals the token has. */
1984
+ amountLockedTokensShifted: Scalars['String']['output'];
1985
+ /** The amount of liquidity locked in USD. */
1986
+ amountLockedUsd: Scalars['String']['output'];
1987
+ /** The protocol with which the liquidity is locked. */
1988
+ lockProtocol: LiquidityLockProtocol;
1989
+ };
1906
1990
  export type LiquidityLockConnection = {
1907
1991
  __typename?: 'LiquidityLockConnection';
1908
1992
  /** A cursor for use in pagination. */
@@ -1926,6 +2010,30 @@ export type LiquidityMetadata = {
1926
2010
  /** Data about locked liquidity. */
1927
2011
  lockedLiquidity: LockedLiquidityData;
1928
2012
  };
2013
+ /** Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in. */
2014
+ export type LiquidityMetadataByToken = {
2015
+ __typename?: 'LiquidityMetadataByToken';
2016
+ /** A breakdown of how much and where liquidity is locked. */
2017
+ lockBreakdown: Array<Maybe<LiquidityLockBreakdownForToken>>;
2018
+ /** The percentage of liquidity that is locked. */
2019
+ lockedLiquidityPercentage: Scalars['Float']['output'];
2020
+ /** The locked liquidity in USD. */
2021
+ lockedLiquidityUsd: Scalars['String']['output'];
2022
+ /** The locked amount of tokens in pairs. */
2023
+ lockedTokenLiquidity: Scalars['String']['output'];
2024
+ /** The locked amount of tokens in pairs shifted by number of decimals the token has. */
2025
+ lockedTokenLiquidityShifted: Scalars['String']['output'];
2026
+ /** The network ID the token is deployed on. */
2027
+ networkId: Scalars['Int']['output'];
2028
+ /** The address of the token. */
2029
+ tokenAddress: Scalars['String']['output'];
2030
+ /** The total liquidity in USD. */
2031
+ totalLiquidityUsd: Scalars['String']['output'];
2032
+ /** The total amount of tokens in pairs. */
2033
+ totalTokenLiquidity: Scalars['String']['output'];
2034
+ /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2035
+ totalTokenLiquidityShifted: Scalars['String']['output'];
2036
+ };
1929
2037
  /** Liquidity NFT position data */
1930
2038
  export type LiquidityNftData = {
1931
2039
  __typename?: 'LiquidityNftData';
@@ -2013,6 +2121,33 @@ export type MakerEventsQueryInput = {
2013
2121
  /** The token involved in the event. */
2014
2122
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
2015
2123
  };
2124
+ /** Webhook conditions for a market cap event. */
2125
+ export type MarketCapEventWebhookCondition = {
2126
+ __typename?: 'MarketCapEventWebhookCondition';
2127
+ /** The circulating market cap condition that must be met in order for the webhook to send. */
2128
+ circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
2129
+ /** The market cap condition that must be met in order for the webhook to send. */
2130
+ fdvMarketCapUsd?: Maybe<ComparisonOperator>;
2131
+ /** The network ID the webhook is listening on. */
2132
+ networkId: IntEqualsCondition;
2133
+ /** The pair contract address the webhook is listening for. */
2134
+ pairAddress?: Maybe<StringEqualsCondition>;
2135
+ /** The token contract address the webhook is listening for. */
2136
+ tokenAddress: StringEqualsCondition;
2137
+ };
2138
+ /** Input conditions for a market cap event webhook. */
2139
+ export type MarketCapEventWebhookConditionInput = {
2140
+ /** The circulating market cap conditions to listen for. */
2141
+ circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2142
+ /** The price conditions to listen for. */
2143
+ fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2144
+ /** The network ID to listen on. */
2145
+ networkId: IntEqualsConditionInput;
2146
+ /** The contract address of the pair to listen for. */
2147
+ pairAddress?: InputMaybe<StringEqualsConditionInput>;
2148
+ /** The contract address of the token to listen for. */
2149
+ tokenAddress: StringEqualsConditionInput;
2150
+ };
2016
2151
  /** The status for a network supported on Defined. */
2017
2152
  export type MetadataResponse = {
2018
2153
  __typename?: 'MetadataResponse';
@@ -4744,6 +4879,11 @@ export type OnBarsUpdatedResponse = {
4744
4879
  /** The unix timestamp for the new bar. */
4745
4880
  timestamp: Scalars['Int']['output'];
4746
4881
  };
4882
+ /** Input for `onEventsCreatedByMaker`. */
4883
+ export type OnEventsCreatedByMakerInput = {
4884
+ /** The wallet address of the maker. */
4885
+ makerAddress: Scalars['String']['input'];
4886
+ };
4747
4887
  /** Input for `onLaunchpadTokenEvent`. */
4748
4888
  export type OnLaunchpadTokenEventInput = {
4749
4889
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -4788,7 +4928,9 @@ export type OnTokenBarsUpdatedResponse = {
4788
4928
  tokenId: Scalars['String']['output'];
4789
4929
  };
4790
4930
  export type OnTokenEventsCreatedInput = {
4931
+ /** The network ID to filter by. */
4791
4932
  networkId: Scalars['Int']['input'];
4933
+ /** The token address to filter by. */
4792
4934
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
4793
4935
  };
4794
4936
  /** Response returned by `onUnconfirmedBarsUpdated`. */
@@ -4814,6 +4956,11 @@ export type OnUnconfirmedBarsUpdated = {
4814
4956
  /** The unix timestamp for the new bar. */
4815
4957
  timestamp: Scalars['Int']['output'];
4816
4958
  };
4959
+ /** Input for `onUnconfirmedEventsCreatedByMaker`. */
4960
+ export type OnUnconfirmedEventsCreatedByMakerInput = {
4961
+ /** The wallet address of the maker. */
4962
+ makerAddress: Scalars['String']['input'];
4963
+ };
4817
4964
  /** Integer list condition. */
4818
4965
  export type OneOfNumberCondition = {
4819
4966
  __typename?: 'OneOfNumberCondition';
@@ -6267,11 +6414,16 @@ export type Query = {
6267
6414
  liquidityLocks?: Maybe<LiquidityLockConnection>;
6268
6415
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
6269
6416
  liquidityMetadata?: Maybe<LiquidityMetadata>;
6417
+ /** Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in. */
6418
+ liquidityMetadataByToken: LiquidityMetadataByToken;
6270
6419
  /** Returns a list of pairs containing a given token. */
6271
6420
  listPairsForToken: Array<Maybe<Pair>>;
6272
6421
  /** Returns a list of pair metadata for a token. */
6273
6422
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6274
- /** Returns a list of trending tokens across any given network(s). */
6423
+ /**
6424
+ * Returns a list of trending tokens across any given network(s).
6425
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6426
+ */
6275
6427
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6276
6428
  /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
6277
6429
  nftHolders: NftHoldersResponse;
@@ -6296,7 +6448,7 @@ export type Query = {
6296
6448
  tokenTopTraders: TokenTopTradersConnection;
6297
6449
  /** Returns a list of tokens by their addresses & network id, with pagination. */
6298
6450
  tokens: Array<Maybe<EnhancedToken>>;
6299
- /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6451
+ /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6300
6452
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6301
6453
  /** Returns a chart of a wallet's activity. */
6302
6454
  walletChart?: Maybe<WalletChartResponse>;
@@ -6598,12 +6750,17 @@ export type QueryHoldersArgs = {
6598
6750
  export type QueryLiquidityLocksArgs = {
6599
6751
  cursor?: InputMaybe<Scalars['String']['input']>;
6600
6752
  networkId: Scalars['Int']['input'];
6601
- pairAddress: Scalars['String']['input'];
6753
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
6754
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
6602
6755
  };
6603
6756
  export type QueryLiquidityMetadataArgs = {
6604
6757
  networkId: Scalars['Int']['input'];
6605
6758
  pairAddress: Scalars['String']['input'];
6606
6759
  };
6760
+ export type QueryLiquidityMetadataByTokenArgs = {
6761
+ networkId: Scalars['Int']['input'];
6762
+ tokenAddress: Scalars['String']['input'];
6763
+ };
6607
6764
  export type QueryListPairsForTokenArgs = {
6608
6765
  limit?: InputMaybe<Scalars['Int']['input']>;
6609
6766
  networkId: Scalars['Int']['input'];
@@ -7181,6 +7338,8 @@ export type Subscription = {
7181
7338
  onEventLabelCreated?: Maybe<EventLabel>;
7182
7339
  /** Live-streamed transactions for a token. */
7183
7340
  onEventsCreated?: Maybe<AddEventsOutput>;
7341
+ /** Live-streamed transactions for a maker. */
7342
+ onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
7184
7343
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
7185
7344
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7186
7345
  /** Live-streamed updates for newly listed pairs. */
@@ -7211,6 +7370,8 @@ export type Subscription = {
7211
7370
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
7212
7371
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
7213
7372
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
7373
+ /** Live-streamed unconfirmed transactions for a maker. (Solana only) */
7374
+ onUnconfirmedEventsCreatedByMaker?: Maybe<AddUnconfirmedEventsByMakerOutput>;
7214
7375
  };
7215
7376
  export type SubscriptionOnBalanceUpdatedArgs = {
7216
7377
  walletAddress: Scalars['String']['input'];
@@ -7231,9 +7392,13 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7231
7392
  export type SubscriptionOnEventsCreatedArgs = {
7232
7393
  address?: InputMaybe<Scalars['String']['input']>;
7233
7394
  id?: InputMaybe<Scalars['String']['input']>;
7395
+ maker?: InputMaybe<Scalars['String']['input']>;
7234
7396
  networkId?: InputMaybe<Scalars['Int']['input']>;
7235
7397
  quoteToken?: InputMaybe<QuoteToken>;
7236
7398
  };
7399
+ export type SubscriptionOnEventsCreatedByMakerArgs = {
7400
+ input: OnEventsCreatedByMakerInput;
7401
+ };
7237
7402
  export type SubscriptionOnHoldersUpdatedArgs = {
7238
7403
  tokenId: Scalars['String']['input'];
7239
7404
  };
@@ -7303,6 +7468,9 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7303
7468
  id?: InputMaybe<Scalars['String']['input']>;
7304
7469
  quoteToken?: InputMaybe<QuoteToken>;
7305
7470
  };
7471
+ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7472
+ input: OnUnconfirmedEventsCreatedByMakerInput;
7473
+ };
7306
7474
  export type SuiNetworkConfig = {
7307
7475
  __typename?: 'SuiNetworkConfig';
7308
7476
  baseTokenAddress: Scalars['String']['output'];
@@ -9341,7 +9509,7 @@ export type Webhook = {
9341
9509
  webhookType: WebhookType;
9342
9510
  };
9343
9511
  /** Webhook conditions that must be met for each webhook type. */
9344
- export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9512
+ export type WebhookCondition = MarketCapEventWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9345
9513
  /** NFT marketplace names. */
9346
9514
  export declare enum WebhookNftEventFillSource {
9347
9515
  Blur = "BLUR",
@@ -9368,6 +9536,7 @@ export declare enum WebhookNftEventType {
9368
9536
  }
9369
9537
  /** The type of webhook. */
9370
9538
  export declare enum WebhookType {
9539
+ MarketCapEvent = "MARKET_CAP_EVENT",
9371
9540
  NftEvent = "NFT_EVENT",
9372
9541
  PriceEvent = "PRICE_EVENT",
9373
9542
  RawTransaction = "RAW_TRANSACTION",
@@ -9646,6 +9815,8 @@ export type CreateWebhooksMutation = {
9646
9815
  status: string;
9647
9816
  webhookType: WebhookType;
9648
9817
  conditions: {
9818
+ __typename?: 'MarketCapEventWebhookCondition';
9819
+ } | {
9649
9820
  __typename?: 'NftEventWebhookCondition';
9650
9821
  ignoreTransfers?: boolean | null;
9651
9822
  contractAddress?: {
@@ -9788,6 +9959,8 @@ export type CreateWebhooksMutation = {
9788
9959
  status: string;
9789
9960
  webhookType: WebhookType;
9790
9961
  conditions: {
9962
+ __typename?: 'MarketCapEventWebhookCondition';
9963
+ } | {
9791
9964
  __typename?: 'NftEventWebhookCondition';
9792
9965
  ignoreTransfers?: boolean | null;
9793
9966
  contractAddress?: {
@@ -9930,6 +10103,8 @@ export type CreateWebhooksMutation = {
9930
10103
  status: string;
9931
10104
  webhookType: WebhookType;
9932
10105
  conditions: {
10106
+ __typename?: 'MarketCapEventWebhookCondition';
10107
+ } | {
9933
10108
  __typename?: 'NftEventWebhookCondition';
9934
10109
  ignoreTransfers?: boolean | null;
9935
10110
  contractAddress?: {
@@ -10072,6 +10247,8 @@ export type CreateWebhooksMutation = {
10072
10247
  status: string;
10073
10248
  webhookType: WebhookType;
10074
10249
  conditions: {
10250
+ __typename?: 'MarketCapEventWebhookCondition';
10251
+ } | {
10075
10252
  __typename?: 'NftEventWebhookCondition';
10076
10253
  ignoreTransfers?: boolean | null;
10077
10254
  contractAddress?: {
@@ -10259,12 +10436,95 @@ export type BalancesQuery = {
10259
10436
  __typename?: 'Balance';
10260
10437
  address: string;
10261
10438
  balance: string;
10439
+ balanceUsd?: string | null;
10262
10440
  firstHeldTimestamp?: number | null;
10263
10441
  networkId: number;
10264
10442
  shiftedBalance: number;
10265
10443
  tokenAddress: string;
10266
10444
  tokenId: string;
10445
+ tokenPriceUsd?: string | null;
10267
10446
  walletId: string;
10447
+ token?: {
10448
+ __typename?: 'EnhancedToken';
10449
+ address: string;
10450
+ cmcId?: number | null;
10451
+ createBlockNumber?: number | null;
10452
+ createTransactionHash?: string | null;
10453
+ createdAt?: number | null;
10454
+ creatorAddress?: string | null;
10455
+ decimals: number;
10456
+ freezable?: string | null;
10457
+ id: string;
10458
+ isScam?: boolean | null;
10459
+ mintable?: string | null;
10460
+ name?: string | null;
10461
+ networkId: number;
10462
+ symbol?: string | null;
10463
+ exchanges?: Array<{
10464
+ __typename?: 'Exchange';
10465
+ address: string;
10466
+ color?: string | null;
10467
+ exchangeVersion?: string | null;
10468
+ iconUrl?: string | null;
10469
+ id: string;
10470
+ name?: string | null;
10471
+ networkId: number;
10472
+ tradeUrl?: string | null;
10473
+ }> | null;
10474
+ info?: {
10475
+ __typename?: 'TokenInfo';
10476
+ address: string;
10477
+ circulatingSupply?: string | null;
10478
+ cmcId?: number | null;
10479
+ description?: string | null;
10480
+ id: string;
10481
+ imageBannerUrl?: string | null;
10482
+ imageLargeUrl?: string | null;
10483
+ imageSmallUrl?: string | null;
10484
+ imageThumbUrl?: string | null;
10485
+ isScam?: boolean | null;
10486
+ name?: string | null;
10487
+ networkId: number;
10488
+ symbol: string;
10489
+ totalSupply?: string | null;
10490
+ } | null;
10491
+ launchpad?: {
10492
+ __typename?: 'LaunchpadData';
10493
+ completed?: boolean | null;
10494
+ completedAt?: number | null;
10495
+ completedSlot?: number | null;
10496
+ graduationPercent?: number | null;
10497
+ launchpadName?: string | null;
10498
+ launchpadProtocol?: string | null;
10499
+ migrated?: boolean | null;
10500
+ migratedAt?: number | null;
10501
+ migratedPoolAddress?: string | null;
10502
+ migratedSlot?: number | null;
10503
+ poolAddress?: string | null;
10504
+ } | null;
10505
+ socialLinks?: {
10506
+ __typename?: 'SocialLinks';
10507
+ bitcointalk?: string | null;
10508
+ blog?: string | null;
10509
+ coingecko?: string | null;
10510
+ coinmarketcap?: string | null;
10511
+ discord?: string | null;
10512
+ email?: string | null;
10513
+ facebook?: string | null;
10514
+ github?: string | null;
10515
+ instagram?: string | null;
10516
+ linkedin?: string | null;
10517
+ reddit?: string | null;
10518
+ slack?: string | null;
10519
+ telegram?: string | null;
10520
+ twitch?: string | null;
10521
+ twitter?: string | null;
10522
+ website?: string | null;
10523
+ wechat?: string | null;
10524
+ whitepaper?: string | null;
10525
+ youtube?: string | null;
10526
+ } | null;
10527
+ } | null;
10268
10528
  }>;
10269
10529
  };
10270
10530
  };
@@ -17766,6 +18026,7 @@ export type GetTokenEventsQuery = {
17766
18026
  transactionHash: string;
17767
18027
  transactionIndex: number;
17768
18028
  walletAge?: number | null;
18029
+ walletLabels?: Array<string> | null;
17769
18030
  data?: {
17770
18031
  __typename?: 'BurnEventData';
17771
18032
  amount0?: string | null;
@@ -17868,6 +18129,7 @@ export type GetTokenEventsForMakerQuery = {
17868
18129
  transactionHash: string;
17869
18130
  transactionIndex: number;
17870
18131
  walletAge?: number | null;
18132
+ walletLabels?: Array<string> | null;
17871
18133
  data?: {
17872
18134
  __typename?: 'BurnEventData';
17873
18135
  amount0?: string | null;
@@ -17974,6 +18236,8 @@ export type GetWebhooksQuery = {
17974
18236
  status: string;
17975
18237
  webhookType: WebhookType;
17976
18238
  conditions: {
18239
+ __typename?: 'MarketCapEventWebhookCondition';
18240
+ } | {
17977
18241
  __typename?: 'NftEventWebhookCondition';
17978
18242
  ignoreTransfers?: boolean | null;
17979
18243
  contractAddress?: {
@@ -18119,19 +18383,103 @@ export type HoldersQuery = {
18119
18383
  __typename?: 'Balance';
18120
18384
  address: string;
18121
18385
  balance: string;
18386
+ balanceUsd?: string | null;
18122
18387
  firstHeldTimestamp?: number | null;
18123
18388
  networkId: number;
18124
18389
  shiftedBalance: number;
18125
18390
  tokenAddress: string;
18126
18391
  tokenId: string;
18392
+ tokenPriceUsd?: string | null;
18127
18393
  walletId: string;
18394
+ token?: {
18395
+ __typename?: 'EnhancedToken';
18396
+ address: string;
18397
+ cmcId?: number | null;
18398
+ createBlockNumber?: number | null;
18399
+ createTransactionHash?: string | null;
18400
+ createdAt?: number | null;
18401
+ creatorAddress?: string | null;
18402
+ decimals: number;
18403
+ freezable?: string | null;
18404
+ id: string;
18405
+ isScam?: boolean | null;
18406
+ mintable?: string | null;
18407
+ name?: string | null;
18408
+ networkId: number;
18409
+ symbol?: string | null;
18410
+ exchanges?: Array<{
18411
+ __typename?: 'Exchange';
18412
+ address: string;
18413
+ color?: string | null;
18414
+ exchangeVersion?: string | null;
18415
+ iconUrl?: string | null;
18416
+ id: string;
18417
+ name?: string | null;
18418
+ networkId: number;
18419
+ tradeUrl?: string | null;
18420
+ }> | null;
18421
+ info?: {
18422
+ __typename?: 'TokenInfo';
18423
+ address: string;
18424
+ circulatingSupply?: string | null;
18425
+ cmcId?: number | null;
18426
+ description?: string | null;
18427
+ id: string;
18428
+ imageBannerUrl?: string | null;
18429
+ imageLargeUrl?: string | null;
18430
+ imageSmallUrl?: string | null;
18431
+ imageThumbUrl?: string | null;
18432
+ isScam?: boolean | null;
18433
+ name?: string | null;
18434
+ networkId: number;
18435
+ symbol: string;
18436
+ totalSupply?: string | null;
18437
+ } | null;
18438
+ launchpad?: {
18439
+ __typename?: 'LaunchpadData';
18440
+ completed?: boolean | null;
18441
+ completedAt?: number | null;
18442
+ completedSlot?: number | null;
18443
+ graduationPercent?: number | null;
18444
+ launchpadName?: string | null;
18445
+ launchpadProtocol?: string | null;
18446
+ migrated?: boolean | null;
18447
+ migratedAt?: number | null;
18448
+ migratedPoolAddress?: string | null;
18449
+ migratedSlot?: number | null;
18450
+ poolAddress?: string | null;
18451
+ } | null;
18452
+ socialLinks?: {
18453
+ __typename?: 'SocialLinks';
18454
+ bitcointalk?: string | null;
18455
+ blog?: string | null;
18456
+ coingecko?: string | null;
18457
+ coinmarketcap?: string | null;
18458
+ discord?: string | null;
18459
+ email?: string | null;
18460
+ facebook?: string | null;
18461
+ github?: string | null;
18462
+ instagram?: string | null;
18463
+ linkedin?: string | null;
18464
+ reddit?: string | null;
18465
+ slack?: string | null;
18466
+ telegram?: string | null;
18467
+ twitch?: string | null;
18468
+ twitter?: string | null;
18469
+ website?: string | null;
18470
+ wechat?: string | null;
18471
+ whitepaper?: string | null;
18472
+ youtube?: string | null;
18473
+ } | null;
18474
+ } | null;
18128
18475
  }>;
18129
18476
  };
18130
18477
  };
18131
18478
  export type LiquidityLocksQueryVariables = Exact<{
18132
18479
  cursor?: InputMaybe<Scalars['String']['input']>;
18133
18480
  networkId: Scalars['Int']['input'];
18134
- pairAddress: Scalars['String']['input'];
18481
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
18482
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
18135
18483
  }>;
18136
18484
  export type LiquidityLocksQuery = {
18137
18485
  __typename?: 'Query';
@@ -18185,6 +18533,32 @@ export type LiquidityMetadataQuery = {
18185
18533
  };
18186
18534
  } | null;
18187
18535
  };
18536
+ export type LiquidityMetadataByTokenQueryVariables = Exact<{
18537
+ networkId: Scalars['Int']['input'];
18538
+ tokenAddress: Scalars['String']['input'];
18539
+ }>;
18540
+ export type LiquidityMetadataByTokenQuery = {
18541
+ __typename?: 'Query';
18542
+ liquidityMetadataByToken: {
18543
+ __typename?: 'LiquidityMetadataByToken';
18544
+ lockedLiquidityPercentage: number;
18545
+ lockedLiquidityUsd: string;
18546
+ lockedTokenLiquidity: string;
18547
+ lockedTokenLiquidityShifted: string;
18548
+ networkId: number;
18549
+ tokenAddress: string;
18550
+ totalLiquidityUsd: string;
18551
+ totalTokenLiquidity: string;
18552
+ totalTokenLiquidityShifted: string;
18553
+ lockBreakdown: Array<{
18554
+ __typename?: 'LiquidityLockBreakdownForToken';
18555
+ amountLockedTokens: string;
18556
+ amountLockedTokensShifted: string;
18557
+ amountLockedUsd: string;
18558
+ lockProtocol: LiquidityLockProtocol;
18559
+ } | null>;
18560
+ };
18561
+ };
18188
18562
  export type ListPairsForTokenQueryVariables = Exact<{
18189
18563
  limit?: InputMaybe<Scalars['Int']['input']>;
18190
18564
  networkId: Scalars['Int']['input'];
@@ -18741,65 +19115,6 @@ export type ListPairsWithMetadataForTokenQuery = {
18741
19115
  }>;
18742
19116
  };
18743
19117
  };
18744
- export type ListTopTokensQueryVariables = Exact<{
18745
- limit?: InputMaybe<Scalars['Int']['input']>;
18746
- networkFilter?: InputMaybe<Array<Scalars['Int']['input']> | Scalars['Int']['input']>;
18747
- resolution?: InputMaybe<Scalars['String']['input']>;
18748
- }>;
18749
- export type ListTopTokensQuery = {
18750
- __typename?: 'Query';
18751
- listTopTokens?: Array<{
18752
- __typename?: 'TokenWithMetadata';
18753
- address: string;
18754
- createdAt?: number | null;
18755
- decimals?: number | null;
18756
- id: string;
18757
- imageBannerUrl?: string | null;
18758
- imageLargeUrl?: string | null;
18759
- imageSmallUrl?: string | null;
18760
- imageThumbUrl?: string | null;
18761
- isScam?: boolean | null;
18762
- lastTransaction?: number | null;
18763
- liquidity: string;
18764
- marketCap?: string | null;
18765
- name: string;
18766
- networkId: number;
18767
- price: number;
18768
- priceChange: number;
18769
- priceChange1?: number | null;
18770
- priceChange4?: number | null;
18771
- priceChange12?: number | null;
18772
- priceChange24?: number | null;
18773
- quoteToken?: QuoteToken | null;
18774
- resolution: string;
18775
- symbol: string;
18776
- topPairId: string;
18777
- txnCount1?: number | null;
18778
- txnCount4?: number | null;
18779
- txnCount12?: number | null;
18780
- txnCount24?: number | null;
18781
- uniqueBuys1?: number | null;
18782
- uniqueBuys4?: number | null;
18783
- uniqueBuys12?: number | null;
18784
- uniqueBuys24?: number | null;
18785
- uniqueSells1?: number | null;
18786
- uniqueSells4?: number | null;
18787
- uniqueSells12?: number | null;
18788
- uniqueSells24?: number | null;
18789
- volume: string;
18790
- exchanges: Array<{
18791
- __typename?: 'Exchange';
18792
- address: string;
18793
- color?: string | null;
18794
- exchangeVersion?: string | null;
18795
- iconUrl?: string | null;
18796
- id: string;
18797
- name?: string | null;
18798
- networkId: number;
18799
- tradeUrl?: string | null;
18800
- }>;
18801
- }> | null;
18802
- };
18803
19118
  export type NftHoldersQueryVariables = Exact<{
18804
19119
  input: NftHoldersInput;
18805
19120
  }>;
@@ -19073,12 +19388,95 @@ export type PrimeHoldersQuery = {
19073
19388
  __typename?: 'Balance';
19074
19389
  address: string;
19075
19390
  balance: string;
19391
+ balanceUsd?: string | null;
19076
19392
  firstHeldTimestamp?: number | null;
19077
19393
  networkId: number;
19078
19394
  shiftedBalance: number;
19079
19395
  tokenAddress: string;
19080
19396
  tokenId: string;
19397
+ tokenPriceUsd?: string | null;
19081
19398
  walletId: string;
19399
+ token?: {
19400
+ __typename?: 'EnhancedToken';
19401
+ address: string;
19402
+ cmcId?: number | null;
19403
+ createBlockNumber?: number | null;
19404
+ createTransactionHash?: string | null;
19405
+ createdAt?: number | null;
19406
+ creatorAddress?: string | null;
19407
+ decimals: number;
19408
+ freezable?: string | null;
19409
+ id: string;
19410
+ isScam?: boolean | null;
19411
+ mintable?: string | null;
19412
+ name?: string | null;
19413
+ networkId: number;
19414
+ symbol?: string | null;
19415
+ exchanges?: Array<{
19416
+ __typename?: 'Exchange';
19417
+ address: string;
19418
+ color?: string | null;
19419
+ exchangeVersion?: string | null;
19420
+ iconUrl?: string | null;
19421
+ id: string;
19422
+ name?: string | null;
19423
+ networkId: number;
19424
+ tradeUrl?: string | null;
19425
+ }> | null;
19426
+ info?: {
19427
+ __typename?: 'TokenInfo';
19428
+ address: string;
19429
+ circulatingSupply?: string | null;
19430
+ cmcId?: number | null;
19431
+ description?: string | null;
19432
+ id: string;
19433
+ imageBannerUrl?: string | null;
19434
+ imageLargeUrl?: string | null;
19435
+ imageSmallUrl?: string | null;
19436
+ imageThumbUrl?: string | null;
19437
+ isScam?: boolean | null;
19438
+ name?: string | null;
19439
+ networkId: number;
19440
+ symbol: string;
19441
+ totalSupply?: string | null;
19442
+ } | null;
19443
+ launchpad?: {
19444
+ __typename?: 'LaunchpadData';
19445
+ completed?: boolean | null;
19446
+ completedAt?: number | null;
19447
+ completedSlot?: number | null;
19448
+ graduationPercent?: number | null;
19449
+ launchpadName?: string | null;
19450
+ launchpadProtocol?: string | null;
19451
+ migrated?: boolean | null;
19452
+ migratedAt?: number | null;
19453
+ migratedPoolAddress?: string | null;
19454
+ migratedSlot?: number | null;
19455
+ poolAddress?: string | null;
19456
+ } | null;
19457
+ socialLinks?: {
19458
+ __typename?: 'SocialLinks';
19459
+ bitcointalk?: string | null;
19460
+ blog?: string | null;
19461
+ coingecko?: string | null;
19462
+ coinmarketcap?: string | null;
19463
+ discord?: string | null;
19464
+ email?: string | null;
19465
+ facebook?: string | null;
19466
+ github?: string | null;
19467
+ instagram?: string | null;
19468
+ linkedin?: string | null;
19469
+ reddit?: string | null;
19470
+ slack?: string | null;
19471
+ telegram?: string | null;
19472
+ twitch?: string | null;
19473
+ twitter?: string | null;
19474
+ website?: string | null;
19475
+ wechat?: string | null;
19476
+ whitepaper?: string | null;
19477
+ youtube?: string | null;
19478
+ } | null;
19479
+ } | null;
19082
19480
  }>;
19083
19481
  };
19084
19482
  };
@@ -19448,12 +19846,95 @@ export type OnBalanceUpdatedSubscription = {
19448
19846
  __typename?: 'Balance';
19449
19847
  address: string;
19450
19848
  balance: string;
19849
+ balanceUsd?: string | null;
19451
19850
  firstHeldTimestamp?: number | null;
19452
19851
  networkId: number;
19453
19852
  shiftedBalance: number;
19454
19853
  tokenAddress: string;
19455
19854
  tokenId: string;
19855
+ tokenPriceUsd?: string | null;
19456
19856
  walletId: string;
19857
+ token?: {
19858
+ __typename?: 'EnhancedToken';
19859
+ address: string;
19860
+ cmcId?: number | null;
19861
+ createBlockNumber?: number | null;
19862
+ createTransactionHash?: string | null;
19863
+ createdAt?: number | null;
19864
+ creatorAddress?: string | null;
19865
+ decimals: number;
19866
+ freezable?: string | null;
19867
+ id: string;
19868
+ isScam?: boolean | null;
19869
+ mintable?: string | null;
19870
+ name?: string | null;
19871
+ networkId: number;
19872
+ symbol?: string | null;
19873
+ exchanges?: Array<{
19874
+ __typename?: 'Exchange';
19875
+ address: string;
19876
+ color?: string | null;
19877
+ exchangeVersion?: string | null;
19878
+ iconUrl?: string | null;
19879
+ id: string;
19880
+ name?: string | null;
19881
+ networkId: number;
19882
+ tradeUrl?: string | null;
19883
+ }> | null;
19884
+ info?: {
19885
+ __typename?: 'TokenInfo';
19886
+ address: string;
19887
+ circulatingSupply?: string | null;
19888
+ cmcId?: number | null;
19889
+ description?: string | null;
19890
+ id: string;
19891
+ imageBannerUrl?: string | null;
19892
+ imageLargeUrl?: string | null;
19893
+ imageSmallUrl?: string | null;
19894
+ imageThumbUrl?: string | null;
19895
+ isScam?: boolean | null;
19896
+ name?: string | null;
19897
+ networkId: number;
19898
+ symbol: string;
19899
+ totalSupply?: string | null;
19900
+ } | null;
19901
+ launchpad?: {
19902
+ __typename?: 'LaunchpadData';
19903
+ completed?: boolean | null;
19904
+ completedAt?: number | null;
19905
+ completedSlot?: number | null;
19906
+ graduationPercent?: number | null;
19907
+ launchpadName?: string | null;
19908
+ launchpadProtocol?: string | null;
19909
+ migrated?: boolean | null;
19910
+ migratedAt?: number | null;
19911
+ migratedPoolAddress?: string | null;
19912
+ migratedSlot?: number | null;
19913
+ poolAddress?: string | null;
19914
+ } | null;
19915
+ socialLinks?: {
19916
+ __typename?: 'SocialLinks';
19917
+ bitcointalk?: string | null;
19918
+ blog?: string | null;
19919
+ coingecko?: string | null;
19920
+ coinmarketcap?: string | null;
19921
+ discord?: string | null;
19922
+ email?: string | null;
19923
+ facebook?: string | null;
19924
+ github?: string | null;
19925
+ instagram?: string | null;
19926
+ linkedin?: string | null;
19927
+ reddit?: string | null;
19928
+ slack?: string | null;
19929
+ telegram?: string | null;
19930
+ twitch?: string | null;
19931
+ twitter?: string | null;
19932
+ website?: string | null;
19933
+ wechat?: string | null;
19934
+ whitepaper?: string | null;
19935
+ youtube?: string | null;
19936
+ } | null;
19937
+ } | null;
19457
19938
  };
19458
19939
  };
19459
19940
  export type OnBarsUpdatedSubscriptionVariables = Exact<{
@@ -20465,6 +20946,7 @@ export type OnEventLabelCreatedSubscription = {
20465
20946
  export type OnEventsCreatedSubscriptionVariables = Exact<{
20466
20947
  address?: InputMaybe<Scalars['String']['input']>;
20467
20948
  id?: InputMaybe<Scalars['String']['input']>;
20949
+ maker?: InputMaybe<Scalars['String']['input']>;
20468
20950
  networkId?: InputMaybe<Scalars['Int']['input']>;
20469
20951
  quoteToken?: InputMaybe<QuoteToken>;
20470
20952
  }>;
@@ -20502,6 +20984,7 @@ export type OnEventsCreatedSubscription = {
20502
20984
  transactionHash: string;
20503
20985
  transactionIndex: number;
20504
20986
  walletAge?: number | null;
20987
+ walletLabels?: Array<string> | null;
20505
20988
  data?: {
20506
20989
  __typename?: 'BurnEventData';
20507
20990
  amount0?: string | null;
@@ -20567,6 +21050,106 @@ export type OnEventsCreatedSubscription = {
20567
21050
  } | null>;
20568
21051
  } | null;
20569
21052
  };
21053
+ export type OnEventsCreatedByMakerSubscriptionVariables = Exact<{
21054
+ input: OnEventsCreatedByMakerInput;
21055
+ }>;
21056
+ export type OnEventsCreatedByMakerSubscription = {
21057
+ __typename?: 'Subscription';
21058
+ onEventsCreatedByMaker?: {
21059
+ __typename?: 'AddEventsByMakerOutput';
21060
+ makerAddress: string;
21061
+ events: Array<{
21062
+ __typename?: 'Event';
21063
+ address: string;
21064
+ baseTokenPrice?: string | null;
21065
+ blockHash: string;
21066
+ blockNumber: number;
21067
+ eventDisplayType?: EventDisplayType | null;
21068
+ eventType: EventType;
21069
+ id: string;
21070
+ liquidityToken?: string | null;
21071
+ logIndex: number;
21072
+ maker?: string | null;
21073
+ networkId: number;
21074
+ quoteToken?: QuoteToken | null;
21075
+ timestamp: number;
21076
+ token0Address?: string | null;
21077
+ token0PoolValueUsd?: string | null;
21078
+ token0SwapValueUsd?: string | null;
21079
+ token0ValueBase?: string | null;
21080
+ token1Address?: string | null;
21081
+ token1PoolValueUsd?: string | null;
21082
+ token1SwapValueUsd?: string | null;
21083
+ token1ValueBase?: string | null;
21084
+ transactionHash: string;
21085
+ transactionIndex: number;
21086
+ walletAge?: number | null;
21087
+ walletLabels?: Array<string> | null;
21088
+ data?: {
21089
+ __typename?: 'BurnEventData';
21090
+ amount0?: string | null;
21091
+ amount0Shifted?: string | null;
21092
+ amount1?: string | null;
21093
+ amount1Shifted?: string | null;
21094
+ tickLower?: string | null;
21095
+ tickUpper?: string | null;
21096
+ type: EventType;
21097
+ } | {
21098
+ __typename?: 'MintEventData';
21099
+ amount0?: string | null;
21100
+ amount0Shifted?: string | null;
21101
+ amount1?: string | null;
21102
+ amount1Shifted?: string | null;
21103
+ tickLower?: string | null;
21104
+ tickUpper?: string | null;
21105
+ type: EventType;
21106
+ } | {
21107
+ __typename?: 'PoolBalanceChangedEventData';
21108
+ amount0?: string | null;
21109
+ amount0Shifted?: string | null;
21110
+ amount1?: string | null;
21111
+ amount1Shifted?: string | null;
21112
+ liquidity0?: string | null;
21113
+ liquidity1?: string | null;
21114
+ protocolFeeAmount0?: string | null;
21115
+ protocolFeeAmount1?: string | null;
21116
+ sender?: string | null;
21117
+ token0?: string | null;
21118
+ token1?: string | null;
21119
+ type: EventType;
21120
+ } | {
21121
+ __typename?: 'SwapEventData';
21122
+ amount0?: string | null;
21123
+ amount0In?: string | null;
21124
+ amount0Out?: string | null;
21125
+ amount1?: string | null;
21126
+ amount1In?: string | null;
21127
+ amount1Out?: string | null;
21128
+ amountNonLiquidityToken?: string | null;
21129
+ priceBaseToken?: string | null;
21130
+ priceBaseTokenTotal?: string | null;
21131
+ priceUsd?: string | null;
21132
+ priceUsdTotal?: string | null;
21133
+ tick?: string | null;
21134
+ type: EventType;
21135
+ } | null;
21136
+ labels?: {
21137
+ __typename?: 'LabelsForEvent';
21138
+ sandwich?: {
21139
+ __typename?: 'SandwichLabelForEvent';
21140
+ label: string;
21141
+ sandwichType: SandwichLabelForEventType;
21142
+ token0DrainedAmount: string;
21143
+ token1DrainedAmount: string;
21144
+ } | null;
21145
+ washtrade?: {
21146
+ __typename?: 'WashtradeLabelForEvent';
21147
+ label: string;
21148
+ } | null;
21149
+ } | null;
21150
+ }>;
21151
+ } | null;
21152
+ };
20570
21153
  export type OnHoldersUpdatedSubscriptionVariables = Exact<{
20571
21154
  tokenId: Scalars['String']['input'];
20572
21155
  }>;
@@ -20582,12 +21165,95 @@ export type OnHoldersUpdatedSubscription = {
20582
21165
  __typename?: 'Balance';
20583
21166
  address: string;
20584
21167
  balance: string;
21168
+ balanceUsd?: string | null;
20585
21169
  firstHeldTimestamp?: number | null;
20586
21170
  networkId: number;
20587
21171
  shiftedBalance: number;
20588
21172
  tokenAddress: string;
20589
21173
  tokenId: string;
21174
+ tokenPriceUsd?: string | null;
20590
21175
  walletId: string;
21176
+ token?: {
21177
+ __typename?: 'EnhancedToken';
21178
+ address: string;
21179
+ cmcId?: number | null;
21180
+ createBlockNumber?: number | null;
21181
+ createTransactionHash?: string | null;
21182
+ createdAt?: number | null;
21183
+ creatorAddress?: string | null;
21184
+ decimals: number;
21185
+ freezable?: string | null;
21186
+ id: string;
21187
+ isScam?: boolean | null;
21188
+ mintable?: string | null;
21189
+ name?: string | null;
21190
+ networkId: number;
21191
+ symbol?: string | null;
21192
+ exchanges?: Array<{
21193
+ __typename?: 'Exchange';
21194
+ address: string;
21195
+ color?: string | null;
21196
+ exchangeVersion?: string | null;
21197
+ iconUrl?: string | null;
21198
+ id: string;
21199
+ name?: string | null;
21200
+ networkId: number;
21201
+ tradeUrl?: string | null;
21202
+ }> | null;
21203
+ info?: {
21204
+ __typename?: 'TokenInfo';
21205
+ address: string;
21206
+ circulatingSupply?: string | null;
21207
+ cmcId?: number | null;
21208
+ description?: string | null;
21209
+ id: string;
21210
+ imageBannerUrl?: string | null;
21211
+ imageLargeUrl?: string | null;
21212
+ imageSmallUrl?: string | null;
21213
+ imageThumbUrl?: string | null;
21214
+ isScam?: boolean | null;
21215
+ name?: string | null;
21216
+ networkId: number;
21217
+ symbol: string;
21218
+ totalSupply?: string | null;
21219
+ } | null;
21220
+ launchpad?: {
21221
+ __typename?: 'LaunchpadData';
21222
+ completed?: boolean | null;
21223
+ completedAt?: number | null;
21224
+ completedSlot?: number | null;
21225
+ graduationPercent?: number | null;
21226
+ launchpadName?: string | null;
21227
+ launchpadProtocol?: string | null;
21228
+ migrated?: boolean | null;
21229
+ migratedAt?: number | null;
21230
+ migratedPoolAddress?: string | null;
21231
+ migratedSlot?: number | null;
21232
+ poolAddress?: string | null;
21233
+ } | null;
21234
+ socialLinks?: {
21235
+ __typename?: 'SocialLinks';
21236
+ bitcointalk?: string | null;
21237
+ blog?: string | null;
21238
+ coingecko?: string | null;
21239
+ coinmarketcap?: string | null;
21240
+ discord?: string | null;
21241
+ email?: string | null;
21242
+ facebook?: string | null;
21243
+ github?: string | null;
21244
+ instagram?: string | null;
21245
+ linkedin?: string | null;
21246
+ reddit?: string | null;
21247
+ slack?: string | null;
21248
+ telegram?: string | null;
21249
+ twitch?: string | null;
21250
+ twitter?: string | null;
21251
+ website?: string | null;
21252
+ wechat?: string | null;
21253
+ whitepaper?: string | null;
21254
+ youtube?: string | null;
21255
+ } | null;
21256
+ } | null;
20591
21257
  }>;
20592
21258
  } | null;
20593
21259
  };
@@ -22490,6 +23156,7 @@ export type OnTokenEventsCreatedSubscription = {
22490
23156
  transactionHash: string;
22491
23157
  transactionIndex: number;
22492
23158
  walletAge?: number | null;
23159
+ walletLabels?: Array<string> | null;
22493
23160
  data?: {
22494
23161
  __typename?: 'BurnEventData';
22495
23162
  amount0?: string | null;
@@ -22720,6 +23387,50 @@ export type OnUnconfirmedEventsCreatedSubscription = {
22720
23387
  } | null>;
22721
23388
  } | null;
22722
23389
  };
23390
+ export type OnUnconfirmedEventsCreatedByMakerSubscriptionVariables = Exact<{
23391
+ input: OnUnconfirmedEventsCreatedByMakerInput;
23392
+ }>;
23393
+ export type OnUnconfirmedEventsCreatedByMakerSubscription = {
23394
+ __typename?: 'Subscription';
23395
+ onUnconfirmedEventsCreatedByMaker?: {
23396
+ __typename?: 'AddUnconfirmedEventsByMakerOutput';
23397
+ makerAddress: string;
23398
+ events: Array<{
23399
+ __typename?: 'UnconfirmedEvent';
23400
+ address: string;
23401
+ blockHash: string;
23402
+ blockNumber: number;
23403
+ eventDisplayType?: EventDisplayType | null;
23404
+ eventType: EventType;
23405
+ id: string;
23406
+ logIndex: number;
23407
+ maker?: string | null;
23408
+ networkId: number;
23409
+ quoteToken?: QuoteToken | null;
23410
+ supplementalIndex?: number | null;
23411
+ timestamp: number;
23412
+ transactionHash: string;
23413
+ transactionIndex: number;
23414
+ data?: {
23415
+ __typename?: 'UnconfirmedLiquidityChangeEventData';
23416
+ amount0?: string | null;
23417
+ amount0Shifted?: string | null;
23418
+ amount1?: string | null;
23419
+ amount1Shifted?: string | null;
23420
+ type: EventType;
23421
+ } | {
23422
+ __typename?: 'UnconfirmedSwapEventData';
23423
+ amountBaseToken?: string | null;
23424
+ amountNonLiquidityToken?: string | null;
23425
+ priceBaseToken?: string | null;
23426
+ priceBaseTokenTotal?: string | null;
23427
+ priceUsd?: string | null;
23428
+ priceUsdTotal?: string | null;
23429
+ type: EventType;
23430
+ } | null;
23431
+ }>;
23432
+ } | null;
23433
+ };
22723
23434
  export declare const CreateApiTokensDocument: DocumentNode<CreateApiTokensMutation, Exact<{
22724
23435
  input: CreateApiTokensInput;
22725
23436
  }>>;
@@ -23008,12 +23719,17 @@ export declare const HoldersDocument: DocumentNode<HoldersQuery, Exact<{
23008
23719
  export declare const LiquidityLocksDocument: DocumentNode<LiquidityLocksQuery, Exact<{
23009
23720
  cursor?: InputMaybe<string> | undefined;
23010
23721
  networkId: Scalars['Int']['input'];
23011
- pairAddress: Scalars['String']['input'];
23722
+ pairAddress?: InputMaybe<string> | undefined;
23723
+ tokenAddress?: InputMaybe<string> | undefined;
23012
23724
  }>>;
23013
23725
  export declare const LiquidityMetadataDocument: DocumentNode<LiquidityMetadataQuery, Exact<{
23014
23726
  networkId: Scalars['Int']['input'];
23015
23727
  pairAddress: Scalars['String']['input'];
23016
23728
  }>>;
23729
+ export declare const LiquidityMetadataByTokenDocument: DocumentNode<LiquidityMetadataByTokenQuery, Exact<{
23730
+ networkId: Scalars['Int']['input'];
23731
+ tokenAddress: Scalars['String']['input'];
23732
+ }>>;
23017
23733
  export declare const ListPairsForTokenDocument: DocumentNode<ListPairsForTokenQuery, Exact<{
23018
23734
  limit?: InputMaybe<number> | undefined;
23019
23735
  networkId: Scalars['Int']['input'];
@@ -23024,11 +23740,6 @@ export declare const ListPairsWithMetadataForTokenDocument: DocumentNode<ListPai
23024
23740
  networkId: Scalars['Int']['input'];
23025
23741
  tokenAddress: Scalars['String']['input'];
23026
23742
  }>>;
23027
- export declare const ListTopTokensDocument: DocumentNode<ListTopTokensQuery, Exact<{
23028
- limit?: InputMaybe<number> | undefined;
23029
- networkFilter?: InputMaybe<number | number[]> | undefined;
23030
- resolution?: InputMaybe<string> | undefined;
23031
- }>>;
23032
23743
  export declare const NftHoldersDocument: DocumentNode<NftHoldersQuery, Exact<{
23033
23744
  input: NftHoldersInput;
23034
23745
  }>>;
@@ -23096,9 +23807,13 @@ export declare const OnEventLabelCreatedDocument: DocumentNode<OnEventLabelCreat
23096
23807
  export declare const OnEventsCreatedDocument: DocumentNode<OnEventsCreatedSubscription, Exact<{
23097
23808
  address?: InputMaybe<string> | undefined;
23098
23809
  id?: InputMaybe<string> | undefined;
23810
+ maker?: InputMaybe<string> | undefined;
23099
23811
  networkId?: InputMaybe<number> | undefined;
23100
23812
  quoteToken?: InputMaybe<QuoteToken> | undefined;
23101
23813
  }>>;
23814
+ export declare const OnEventsCreatedByMakerDocument: DocumentNode<OnEventsCreatedByMakerSubscription, Exact<{
23815
+ input: OnEventsCreatedByMakerInput;
23816
+ }>>;
23102
23817
  export declare const OnHoldersUpdatedDocument: DocumentNode<OnHoldersUpdatedSubscription, Exact<{
23103
23818
  tokenId: Scalars['String']['input'];
23104
23819
  }>>;
@@ -23171,4 +23886,7 @@ export declare const OnUnconfirmedEventsCreatedDocument: DocumentNode<OnUnconfir
23171
23886
  id?: InputMaybe<string> | undefined;
23172
23887
  quoteToken?: InputMaybe<QuoteToken> | undefined;
23173
23888
  }>>;
23889
+ export declare const OnUnconfirmedEventsCreatedByMakerDocument: DocumentNode<OnUnconfirmedEventsCreatedByMakerSubscription, Exact<{
23890
+ input: OnUnconfirmedEventsCreatedByMakerInput;
23891
+ }>>;
23174
23892
  //# sourceMappingURL=graphql.d.ts.map