@codex-data/sdk 1.0.8 → 1.0.10

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 (55) hide show
  1. package/dist/resources/graphql.d.ts +177 -6
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +10 -2
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Mutation.d.ts +2 -2
  6. package/dist/sdk/Mutation.d.ts.map +1 -1
  7. package/dist/sdk/Mutation.js +2 -2
  8. package/dist/sdk/Mutation.js.map +1 -1
  9. package/dist/sdk/Query.d.ts +52 -52
  10. package/dist/sdk/Query.d.ts.map +1 -1
  11. package/dist/sdk/Query.js +51 -51
  12. package/dist/sdk/Query.js.map +1 -1
  13. package/dist/sdk/Subscribe.d.ts +19 -17
  14. package/dist/sdk/Subscribe.d.ts.map +1 -1
  15. package/dist/sdk/Subscribe.js +133 -119
  16. package/dist/sdk/Subscribe.js.map +1 -1
  17. package/dist/sdk/generated/gql.d.ts +44 -29
  18. package/dist/sdk/generated/gql.d.ts.map +1 -1
  19. package/dist/sdk/generated/gql.js +13 -11
  20. package/dist/sdk/generated/gql.js.map +1 -1
  21. package/dist/sdk/generated/graphql.d.ts +792 -72
  22. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  23. package/dist/sdk/generated/graphql.js +25 -15
  24. package/dist/sdk/generated/graphql.js.map +1 -1
  25. package/dist/sdk/index.d.ts +45 -0
  26. package/dist/sdk/index.d.ts.map +1 -1
  27. package/dist/sdk/index.js +83 -5
  28. package/dist/sdk/index.js.map +1 -1
  29. package/dist/sdk/index.test.js +232 -7
  30. package/dist/sdk/index.test.js.map +1 -1
  31. package/package.json +1 -1
  32. package/src/resources/generated_queries/Balances.graphql +78 -0
  33. package/src/resources/generated_queries/GetTokenEvents.graphql +1 -0
  34. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +1 -0
  35. package/src/resources/generated_queries/Holders.graphql +78 -0
  36. package/src/resources/generated_queries/LiquidityLocks.graphql +7 -1
  37. package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +19 -0
  38. package/src/resources/generated_queries/PrimeHolders.graphql +78 -0
  39. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +78 -0
  40. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +3 -0
  41. package/src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql +92 -0
  42. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +78 -0
  43. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +1 -0
  44. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql +41 -0
  45. package/src/resources/graphql.schema.json +1219 -129
  46. package/src/resources/graphql.ts +195 -6
  47. package/src/resources/schema.graphql +250 -6
  48. package/src/sdk/Mutation.ts +4 -4
  49. package/src/sdk/Query.ts +109 -108
  50. package/src/sdk/Subscribe.ts +225 -195
  51. package/src/sdk/generated/gql.ts +34 -24
  52. package/src/sdk/generated/graphql.ts +245 -39
  53. package/src/sdk/index.test.ts +361 -10
  54. package/src/sdk/index.ts +89 -6
  55. 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';
@@ -1855,9 +1927,11 @@ export declare enum LaunchpadTokenEventType {
1855
1927
  }
1856
1928
  /** The protocol of the token. */
1857
1929
  export declare enum LaunchpadTokenProtocol {
1930
+ ArenaTrade = "ArenaTrade",
1858
1931
  BoopFun = "BoopFun",
1859
1932
  EgoTech = "EgoTech",
1860
1933
  FourMeme = "FourMeme",
1934
+ Moonit = "Moonit",
1861
1935
  Pump = "Pump",
1862
1936
  Rainbow = "Rainbow",
1863
1937
  RaydiumLaunchpad = "RaydiumLaunchpad",
@@ -1903,6 +1977,18 @@ export type LiquidityLock = {
1903
1977
  /** The unix timestamp for when the lock expires. */
1904
1978
  unlockAt?: Maybe<Scalars['Int']['output']>;
1905
1979
  };
1980
+ /** A breakdown of how much and where liquidity is locked. */
1981
+ export type LiquidityLockBreakdownForToken = {
1982
+ __typename?: 'LiquidityLockBreakdownForToken';
1983
+ /** The amount of tokens locked in the protocol. */
1984
+ amountLockedTokens: Scalars['String']['output'];
1985
+ /** The amount of tokens locked in the protocol shifted by number of decimals the token has. */
1986
+ amountLockedTokensShifted: Scalars['String']['output'];
1987
+ /** The amount of liquidity locked in USD. */
1988
+ amountLockedUsd: Scalars['String']['output'];
1989
+ /** The protocol with which the liquidity is locked. */
1990
+ lockProtocol: LiquidityLockProtocol;
1991
+ };
1906
1992
  export type LiquidityLockConnection = {
1907
1993
  __typename?: 'LiquidityLockConnection';
1908
1994
  /** A cursor for use in pagination. */
@@ -1926,6 +2012,30 @@ export type LiquidityMetadata = {
1926
2012
  /** Data about locked liquidity. */
1927
2013
  lockedLiquidity: LockedLiquidityData;
1928
2014
  };
2015
+ /** Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in. */
2016
+ export type LiquidityMetadataByToken = {
2017
+ __typename?: 'LiquidityMetadataByToken';
2018
+ /** A breakdown of how much and where liquidity is locked. */
2019
+ lockBreakdown: Array<Maybe<LiquidityLockBreakdownForToken>>;
2020
+ /** The percentage of liquidity that is locked. */
2021
+ lockedLiquidityPercentage: Scalars['Float']['output'];
2022
+ /** The locked liquidity in USD. */
2023
+ lockedLiquidityUsd: Scalars['String']['output'];
2024
+ /** The locked amount of tokens in pairs. */
2025
+ lockedTokenLiquidity: Scalars['String']['output'];
2026
+ /** The locked amount of tokens in pairs shifted by number of decimals the token has. */
2027
+ lockedTokenLiquidityShifted: Scalars['String']['output'];
2028
+ /** The network ID the token is deployed on. */
2029
+ networkId: Scalars['Int']['output'];
2030
+ /** The address of the token. */
2031
+ tokenAddress: Scalars['String']['output'];
2032
+ /** The total liquidity in USD. */
2033
+ totalLiquidityUsd: Scalars['String']['output'];
2034
+ /** The total amount of tokens in pairs. */
2035
+ totalTokenLiquidity: Scalars['String']['output'];
2036
+ /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2037
+ totalTokenLiquidityShifted: Scalars['String']['output'];
2038
+ };
1929
2039
  /** Liquidity NFT position data */
1930
2040
  export type LiquidityNftData = {
1931
2041
  __typename?: 'LiquidityNftData';
@@ -2013,6 +2123,33 @@ export type MakerEventsQueryInput = {
2013
2123
  /** The token involved in the event. */
2014
2124
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
2015
2125
  };
2126
+ /** Webhook conditions for a market cap event. */
2127
+ export type MarketCapEventWebhookCondition = {
2128
+ __typename?: 'MarketCapEventWebhookCondition';
2129
+ /** The circulating market cap condition that must be met in order for the webhook to send. */
2130
+ circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
2131
+ /** The market cap condition that must be met in order for the webhook to send. */
2132
+ fdvMarketCapUsd?: Maybe<ComparisonOperator>;
2133
+ /** The network ID the webhook is listening on. */
2134
+ networkId: IntEqualsCondition;
2135
+ /** The pair contract address the webhook is listening for. */
2136
+ pairAddress?: Maybe<StringEqualsCondition>;
2137
+ /** The token contract address the webhook is listening for. */
2138
+ tokenAddress: StringEqualsCondition;
2139
+ };
2140
+ /** Input conditions for a market cap event webhook. */
2141
+ export type MarketCapEventWebhookConditionInput = {
2142
+ /** The circulating market cap conditions to listen for. */
2143
+ circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2144
+ /** The price conditions to listen for. */
2145
+ fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2146
+ /** The network ID to listen on. */
2147
+ networkId: IntEqualsConditionInput;
2148
+ /** The contract address of the pair to listen for. */
2149
+ pairAddress?: InputMaybe<StringEqualsConditionInput>;
2150
+ /** The contract address of the token to listen for. */
2151
+ tokenAddress: StringEqualsConditionInput;
2152
+ };
2016
2153
  /** The status for a network supported on Defined. */
2017
2154
  export type MetadataResponse = {
2018
2155
  __typename?: 'MetadataResponse';
@@ -4744,6 +4881,11 @@ export type OnBarsUpdatedResponse = {
4744
4881
  /** The unix timestamp for the new bar. */
4745
4882
  timestamp: Scalars['Int']['output'];
4746
4883
  };
4884
+ /** Input for `onEventsCreatedByMaker`. */
4885
+ export type OnEventsCreatedByMakerInput = {
4886
+ /** The wallet address of the maker. */
4887
+ makerAddress: Scalars['String']['input'];
4888
+ };
4747
4889
  /** Input for `onLaunchpadTokenEvent`. */
4748
4890
  export type OnLaunchpadTokenEventInput = {
4749
4891
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -4788,7 +4930,9 @@ export type OnTokenBarsUpdatedResponse = {
4788
4930
  tokenId: Scalars['String']['output'];
4789
4931
  };
4790
4932
  export type OnTokenEventsCreatedInput = {
4933
+ /** The network ID to filter by. */
4791
4934
  networkId: Scalars['Int']['input'];
4935
+ /** The token address to filter by. */
4792
4936
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
4793
4937
  };
4794
4938
  /** Response returned by `onUnconfirmedBarsUpdated`. */
@@ -4814,6 +4958,11 @@ export type OnUnconfirmedBarsUpdated = {
4814
4958
  /** The unix timestamp for the new bar. */
4815
4959
  timestamp: Scalars['Int']['output'];
4816
4960
  };
4961
+ /** Input for `onUnconfirmedEventsCreatedByMaker`. */
4962
+ export type OnUnconfirmedEventsCreatedByMakerInput = {
4963
+ /** The wallet address of the maker. */
4964
+ makerAddress: Scalars['String']['input'];
4965
+ };
4817
4966
  /** Integer list condition. */
4818
4967
  export type OneOfNumberCondition = {
4819
4968
  __typename?: 'OneOfNumberCondition';
@@ -6267,11 +6416,16 @@ export type Query = {
6267
6416
  liquidityLocks?: Maybe<LiquidityLockConnection>;
6268
6417
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
6269
6418
  liquidityMetadata?: Maybe<LiquidityMetadata>;
6419
+ /** Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in. */
6420
+ liquidityMetadataByToken: LiquidityMetadataByToken;
6270
6421
  /** Returns a list of pairs containing a given token. */
6271
6422
  listPairsForToken: Array<Maybe<Pair>>;
6272
6423
  /** Returns a list of pair metadata for a token. */
6273
6424
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6274
- /** Returns a list of trending tokens across any given network(s). */
6425
+ /**
6426
+ * Returns a list of trending tokens across any given network(s).
6427
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6428
+ */
6275
6429
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6276
6430
  /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
6277
6431
  nftHolders: NftHoldersResponse;
@@ -6296,7 +6450,7 @@ export type Query = {
6296
6450
  tokenTopTraders: TokenTopTradersConnection;
6297
6451
  /** Returns a list of tokens by their addresses & network id, with pagination. */
6298
6452
  tokens: Array<Maybe<EnhancedToken>>;
6299
- /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6453
+ /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6300
6454
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6301
6455
  /** Returns a chart of a wallet's activity. */
6302
6456
  walletChart?: Maybe<WalletChartResponse>;
@@ -6598,12 +6752,17 @@ export type QueryHoldersArgs = {
6598
6752
  export type QueryLiquidityLocksArgs = {
6599
6753
  cursor?: InputMaybe<Scalars['String']['input']>;
6600
6754
  networkId: Scalars['Int']['input'];
6601
- pairAddress: Scalars['String']['input'];
6755
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
6756
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
6602
6757
  };
6603
6758
  export type QueryLiquidityMetadataArgs = {
6604
6759
  networkId: Scalars['Int']['input'];
6605
6760
  pairAddress: Scalars['String']['input'];
6606
6761
  };
6762
+ export type QueryLiquidityMetadataByTokenArgs = {
6763
+ networkId: Scalars['Int']['input'];
6764
+ tokenAddress: Scalars['String']['input'];
6765
+ };
6607
6766
  export type QueryListPairsForTokenArgs = {
6608
6767
  limit?: InputMaybe<Scalars['Int']['input']>;
6609
6768
  networkId: Scalars['Int']['input'];
@@ -7181,6 +7340,8 @@ export type Subscription = {
7181
7340
  onEventLabelCreated?: Maybe<EventLabel>;
7182
7341
  /** Live-streamed transactions for a token. */
7183
7342
  onEventsCreated?: Maybe<AddEventsOutput>;
7343
+ /** Live-streamed transactions for a maker. */
7344
+ onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
7184
7345
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
7185
7346
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7186
7347
  /** Live-streamed updates for newly listed pairs. */
@@ -7211,6 +7372,8 @@ export type Subscription = {
7211
7372
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
7212
7373
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
7213
7374
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
7375
+ /** Live-streamed unconfirmed transactions for a maker. (Solana only) */
7376
+ onUnconfirmedEventsCreatedByMaker?: Maybe<AddUnconfirmedEventsByMakerOutput>;
7214
7377
  };
7215
7378
  export type SubscriptionOnBalanceUpdatedArgs = {
7216
7379
  walletAddress: Scalars['String']['input'];
@@ -7231,9 +7394,13 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7231
7394
  export type SubscriptionOnEventsCreatedArgs = {
7232
7395
  address?: InputMaybe<Scalars['String']['input']>;
7233
7396
  id?: InputMaybe<Scalars['String']['input']>;
7397
+ maker?: InputMaybe<Scalars['String']['input']>;
7234
7398
  networkId?: InputMaybe<Scalars['Int']['input']>;
7235
7399
  quoteToken?: InputMaybe<QuoteToken>;
7236
7400
  };
7401
+ export type SubscriptionOnEventsCreatedByMakerArgs = {
7402
+ input: OnEventsCreatedByMakerInput;
7403
+ };
7237
7404
  export type SubscriptionOnHoldersUpdatedArgs = {
7238
7405
  tokenId: Scalars['String']['input'];
7239
7406
  };
@@ -7303,6 +7470,9 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7303
7470
  id?: InputMaybe<Scalars['String']['input']>;
7304
7471
  quoteToken?: InputMaybe<QuoteToken>;
7305
7472
  };
7473
+ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7474
+ input: OnUnconfirmedEventsCreatedByMakerInput;
7475
+ };
7306
7476
  export type SuiNetworkConfig = {
7307
7477
  __typename?: 'SuiNetworkConfig';
7308
7478
  baseTokenAddress: Scalars['String']['output'];
@@ -9341,7 +9511,7 @@ export type Webhook = {
9341
9511
  webhookType: WebhookType;
9342
9512
  };
9343
9513
  /** Webhook conditions that must be met for each webhook type. */
9344
- export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9514
+ export type WebhookCondition = MarketCapEventWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9345
9515
  /** NFT marketplace names. */
9346
9516
  export declare enum WebhookNftEventFillSource {
9347
9517
  Blur = "BLUR",
@@ -9368,6 +9538,7 @@ export declare enum WebhookNftEventType {
9368
9538
  }
9369
9539
  /** The type of webhook. */
9370
9540
  export declare enum WebhookType {
9541
+ MarketCapEvent = "MARKET_CAP_EVENT",
9371
9542
  NftEvent = "NFT_EVENT",
9372
9543
  PriceEvent = "PRICE_EVENT",
9373
9544
  RawTransaction = "RAW_TRANSACTION",
@@ -9378,7 +9549,7 @@ export type WindowedDetailedCurrencyPairStats = {
9378
9549
  __typename?: 'WindowedDetailedCurrencyPairStats';
9379
9550
  /** The buy volume over the time frame. */
9380
9551
  buyVolume?: Maybe<DetailedPairStatsStringMetrics>;
9381
- /** The closing price for the time frame. */
9552
+ /** The closing price forr the time frame. */
9382
9553
  close?: Maybe<DetailedPairStatsStringMetrics>;
9383
9554
  /** The highest price in USD in the time frame. */
9384
9555
  highest?: Maybe<DetailedPairStatsStringMetrics>;
@@ -9646,6 +9817,8 @@ export type CreateWebhooksMutation = {
9646
9817
  status: string;
9647
9818
  webhookType: WebhookType;
9648
9819
  conditions: {
9820
+ __typename?: 'MarketCapEventWebhookCondition';
9821
+ } | {
9649
9822
  __typename?: 'NftEventWebhookCondition';
9650
9823
  ignoreTransfers?: boolean | null;
9651
9824
  contractAddress?: {
@@ -9788,6 +9961,8 @@ export type CreateWebhooksMutation = {
9788
9961
  status: string;
9789
9962
  webhookType: WebhookType;
9790
9963
  conditions: {
9964
+ __typename?: 'MarketCapEventWebhookCondition';
9965
+ } | {
9791
9966
  __typename?: 'NftEventWebhookCondition';
9792
9967
  ignoreTransfers?: boolean | null;
9793
9968
  contractAddress?: {
@@ -9930,6 +10105,8 @@ export type CreateWebhooksMutation = {
9930
10105
  status: string;
9931
10106
  webhookType: WebhookType;
9932
10107
  conditions: {
10108
+ __typename?: 'MarketCapEventWebhookCondition';
10109
+ } | {
9933
10110
  __typename?: 'NftEventWebhookCondition';
9934
10111
  ignoreTransfers?: boolean | null;
9935
10112
  contractAddress?: {
@@ -10072,6 +10249,8 @@ export type CreateWebhooksMutation = {
10072
10249
  status: string;
10073
10250
  webhookType: WebhookType;
10074
10251
  conditions: {
10252
+ __typename?: 'MarketCapEventWebhookCondition';
10253
+ } | {
10075
10254
  __typename?: 'NftEventWebhookCondition';
10076
10255
  ignoreTransfers?: boolean | null;
10077
10256
  contractAddress?: {
@@ -10259,12 +10438,95 @@ export type BalancesQuery = {
10259
10438
  __typename?: 'Balance';
10260
10439
  address: string;
10261
10440
  balance: string;
10441
+ balanceUsd?: string | null;
10262
10442
  firstHeldTimestamp?: number | null;
10263
10443
  networkId: number;
10264
10444
  shiftedBalance: number;
10265
10445
  tokenAddress: string;
10266
10446
  tokenId: string;
10447
+ tokenPriceUsd?: string | null;
10267
10448
  walletId: string;
10449
+ token?: {
10450
+ __typename?: 'EnhancedToken';
10451
+ address: string;
10452
+ cmcId?: number | null;
10453
+ createBlockNumber?: number | null;
10454
+ createTransactionHash?: string | null;
10455
+ createdAt?: number | null;
10456
+ creatorAddress?: string | null;
10457
+ decimals: number;
10458
+ freezable?: string | null;
10459
+ id: string;
10460
+ isScam?: boolean | null;
10461
+ mintable?: string | null;
10462
+ name?: string | null;
10463
+ networkId: number;
10464
+ symbol?: string | null;
10465
+ exchanges?: Array<{
10466
+ __typename?: 'Exchange';
10467
+ address: string;
10468
+ color?: string | null;
10469
+ exchangeVersion?: string | null;
10470
+ iconUrl?: string | null;
10471
+ id: string;
10472
+ name?: string | null;
10473
+ networkId: number;
10474
+ tradeUrl?: string | null;
10475
+ }> | null;
10476
+ info?: {
10477
+ __typename?: 'TokenInfo';
10478
+ address: string;
10479
+ circulatingSupply?: string | null;
10480
+ cmcId?: number | null;
10481
+ description?: string | null;
10482
+ id: string;
10483
+ imageBannerUrl?: string | null;
10484
+ imageLargeUrl?: string | null;
10485
+ imageSmallUrl?: string | null;
10486
+ imageThumbUrl?: string | null;
10487
+ isScam?: boolean | null;
10488
+ name?: string | null;
10489
+ networkId: number;
10490
+ symbol: string;
10491
+ totalSupply?: string | null;
10492
+ } | null;
10493
+ launchpad?: {
10494
+ __typename?: 'LaunchpadData';
10495
+ completed?: boolean | null;
10496
+ completedAt?: number | null;
10497
+ completedSlot?: number | null;
10498
+ graduationPercent?: number | null;
10499
+ launchpadName?: string | null;
10500
+ launchpadProtocol?: string | null;
10501
+ migrated?: boolean | null;
10502
+ migratedAt?: number | null;
10503
+ migratedPoolAddress?: string | null;
10504
+ migratedSlot?: number | null;
10505
+ poolAddress?: string | null;
10506
+ } | null;
10507
+ socialLinks?: {
10508
+ __typename?: 'SocialLinks';
10509
+ bitcointalk?: string | null;
10510
+ blog?: string | null;
10511
+ coingecko?: string | null;
10512
+ coinmarketcap?: string | null;
10513
+ discord?: string | null;
10514
+ email?: string | null;
10515
+ facebook?: string | null;
10516
+ github?: string | null;
10517
+ instagram?: string | null;
10518
+ linkedin?: string | null;
10519
+ reddit?: string | null;
10520
+ slack?: string | null;
10521
+ telegram?: string | null;
10522
+ twitch?: string | null;
10523
+ twitter?: string | null;
10524
+ website?: string | null;
10525
+ wechat?: string | null;
10526
+ whitepaper?: string | null;
10527
+ youtube?: string | null;
10528
+ } | null;
10529
+ } | null;
10268
10530
  }>;
10269
10531
  };
10270
10532
  };
@@ -17766,6 +18028,7 @@ export type GetTokenEventsQuery = {
17766
18028
  transactionHash: string;
17767
18029
  transactionIndex: number;
17768
18030
  walletAge?: number | null;
18031
+ walletLabels?: Array<string> | null;
17769
18032
  data?: {
17770
18033
  __typename?: 'BurnEventData';
17771
18034
  amount0?: string | null;
@@ -17868,6 +18131,7 @@ export type GetTokenEventsForMakerQuery = {
17868
18131
  transactionHash: string;
17869
18132
  transactionIndex: number;
17870
18133
  walletAge?: number | null;
18134
+ walletLabels?: Array<string> | null;
17871
18135
  data?: {
17872
18136
  __typename?: 'BurnEventData';
17873
18137
  amount0?: string | null;
@@ -17974,6 +18238,8 @@ export type GetWebhooksQuery = {
17974
18238
  status: string;
17975
18239
  webhookType: WebhookType;
17976
18240
  conditions: {
18241
+ __typename?: 'MarketCapEventWebhookCondition';
18242
+ } | {
17977
18243
  __typename?: 'NftEventWebhookCondition';
17978
18244
  ignoreTransfers?: boolean | null;
17979
18245
  contractAddress?: {
@@ -18119,19 +18385,103 @@ export type HoldersQuery = {
18119
18385
  __typename?: 'Balance';
18120
18386
  address: string;
18121
18387
  balance: string;
18388
+ balanceUsd?: string | null;
18122
18389
  firstHeldTimestamp?: number | null;
18123
18390
  networkId: number;
18124
18391
  shiftedBalance: number;
18125
18392
  tokenAddress: string;
18126
18393
  tokenId: string;
18394
+ tokenPriceUsd?: string | null;
18127
18395
  walletId: string;
18396
+ token?: {
18397
+ __typename?: 'EnhancedToken';
18398
+ address: string;
18399
+ cmcId?: number | null;
18400
+ createBlockNumber?: number | null;
18401
+ createTransactionHash?: string | null;
18402
+ createdAt?: number | null;
18403
+ creatorAddress?: string | null;
18404
+ decimals: number;
18405
+ freezable?: string | null;
18406
+ id: string;
18407
+ isScam?: boolean | null;
18408
+ mintable?: string | null;
18409
+ name?: string | null;
18410
+ networkId: number;
18411
+ symbol?: string | null;
18412
+ exchanges?: Array<{
18413
+ __typename?: 'Exchange';
18414
+ address: string;
18415
+ color?: string | null;
18416
+ exchangeVersion?: string | null;
18417
+ iconUrl?: string | null;
18418
+ id: string;
18419
+ name?: string | null;
18420
+ networkId: number;
18421
+ tradeUrl?: string | null;
18422
+ }> | null;
18423
+ info?: {
18424
+ __typename?: 'TokenInfo';
18425
+ address: string;
18426
+ circulatingSupply?: string | null;
18427
+ cmcId?: number | null;
18428
+ description?: string | null;
18429
+ id: string;
18430
+ imageBannerUrl?: string | null;
18431
+ imageLargeUrl?: string | null;
18432
+ imageSmallUrl?: string | null;
18433
+ imageThumbUrl?: string | null;
18434
+ isScam?: boolean | null;
18435
+ name?: string | null;
18436
+ networkId: number;
18437
+ symbol: string;
18438
+ totalSupply?: string | null;
18439
+ } | null;
18440
+ launchpad?: {
18441
+ __typename?: 'LaunchpadData';
18442
+ completed?: boolean | null;
18443
+ completedAt?: number | null;
18444
+ completedSlot?: number | null;
18445
+ graduationPercent?: number | null;
18446
+ launchpadName?: string | null;
18447
+ launchpadProtocol?: string | null;
18448
+ migrated?: boolean | null;
18449
+ migratedAt?: number | null;
18450
+ migratedPoolAddress?: string | null;
18451
+ migratedSlot?: number | null;
18452
+ poolAddress?: string | null;
18453
+ } | null;
18454
+ socialLinks?: {
18455
+ __typename?: 'SocialLinks';
18456
+ bitcointalk?: string | null;
18457
+ blog?: string | null;
18458
+ coingecko?: string | null;
18459
+ coinmarketcap?: string | null;
18460
+ discord?: string | null;
18461
+ email?: string | null;
18462
+ facebook?: string | null;
18463
+ github?: string | null;
18464
+ instagram?: string | null;
18465
+ linkedin?: string | null;
18466
+ reddit?: string | null;
18467
+ slack?: string | null;
18468
+ telegram?: string | null;
18469
+ twitch?: string | null;
18470
+ twitter?: string | null;
18471
+ website?: string | null;
18472
+ wechat?: string | null;
18473
+ whitepaper?: string | null;
18474
+ youtube?: string | null;
18475
+ } | null;
18476
+ } | null;
18128
18477
  }>;
18129
18478
  };
18130
18479
  };
18131
18480
  export type LiquidityLocksQueryVariables = Exact<{
18132
18481
  cursor?: InputMaybe<Scalars['String']['input']>;
18133
18482
  networkId: Scalars['Int']['input'];
18134
- pairAddress: Scalars['String']['input'];
18483
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
18484
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
18135
18485
  }>;
18136
18486
  export type LiquidityLocksQuery = {
18137
18487
  __typename?: 'Query';
@@ -18185,6 +18535,32 @@ export type LiquidityMetadataQuery = {
18185
18535
  };
18186
18536
  } | null;
18187
18537
  };
18538
+ export type LiquidityMetadataByTokenQueryVariables = Exact<{
18539
+ networkId: Scalars['Int']['input'];
18540
+ tokenAddress: Scalars['String']['input'];
18541
+ }>;
18542
+ export type LiquidityMetadataByTokenQuery = {
18543
+ __typename?: 'Query';
18544
+ liquidityMetadataByToken: {
18545
+ __typename?: 'LiquidityMetadataByToken';
18546
+ lockedLiquidityPercentage: number;
18547
+ lockedLiquidityUsd: string;
18548
+ lockedTokenLiquidity: string;
18549
+ lockedTokenLiquidityShifted: string;
18550
+ networkId: number;
18551
+ tokenAddress: string;
18552
+ totalLiquidityUsd: string;
18553
+ totalTokenLiquidity: string;
18554
+ totalTokenLiquidityShifted: string;
18555
+ lockBreakdown: Array<{
18556
+ __typename?: 'LiquidityLockBreakdownForToken';
18557
+ amountLockedTokens: string;
18558
+ amountLockedTokensShifted: string;
18559
+ amountLockedUsd: string;
18560
+ lockProtocol: LiquidityLockProtocol;
18561
+ } | null>;
18562
+ };
18563
+ };
18188
18564
  export type ListPairsForTokenQueryVariables = Exact<{
18189
18565
  limit?: InputMaybe<Scalars['Int']['input']>;
18190
18566
  networkId: Scalars['Int']['input'];
@@ -18741,65 +19117,6 @@ export type ListPairsWithMetadataForTokenQuery = {
18741
19117
  }>;
18742
19118
  };
18743
19119
  };
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
19120
  export type NftHoldersQueryVariables = Exact<{
18804
19121
  input: NftHoldersInput;
18805
19122
  }>;
@@ -19073,12 +19390,95 @@ export type PrimeHoldersQuery = {
19073
19390
  __typename?: 'Balance';
19074
19391
  address: string;
19075
19392
  balance: string;
19393
+ balanceUsd?: string | null;
19076
19394
  firstHeldTimestamp?: number | null;
19077
19395
  networkId: number;
19078
19396
  shiftedBalance: number;
19079
19397
  tokenAddress: string;
19080
19398
  tokenId: string;
19399
+ tokenPriceUsd?: string | null;
19081
19400
  walletId: string;
19401
+ token?: {
19402
+ __typename?: 'EnhancedToken';
19403
+ address: string;
19404
+ cmcId?: number | null;
19405
+ createBlockNumber?: number | null;
19406
+ createTransactionHash?: string | null;
19407
+ createdAt?: number | null;
19408
+ creatorAddress?: string | null;
19409
+ decimals: number;
19410
+ freezable?: string | null;
19411
+ id: string;
19412
+ isScam?: boolean | null;
19413
+ mintable?: string | null;
19414
+ name?: string | null;
19415
+ networkId: number;
19416
+ symbol?: string | null;
19417
+ exchanges?: Array<{
19418
+ __typename?: 'Exchange';
19419
+ address: string;
19420
+ color?: string | null;
19421
+ exchangeVersion?: string | null;
19422
+ iconUrl?: string | null;
19423
+ id: string;
19424
+ name?: string | null;
19425
+ networkId: number;
19426
+ tradeUrl?: string | null;
19427
+ }> | null;
19428
+ info?: {
19429
+ __typename?: 'TokenInfo';
19430
+ address: string;
19431
+ circulatingSupply?: string | null;
19432
+ cmcId?: number | null;
19433
+ description?: string | null;
19434
+ id: string;
19435
+ imageBannerUrl?: string | null;
19436
+ imageLargeUrl?: string | null;
19437
+ imageSmallUrl?: string | null;
19438
+ imageThumbUrl?: string | null;
19439
+ isScam?: boolean | null;
19440
+ name?: string | null;
19441
+ networkId: number;
19442
+ symbol: string;
19443
+ totalSupply?: string | null;
19444
+ } | null;
19445
+ launchpad?: {
19446
+ __typename?: 'LaunchpadData';
19447
+ completed?: boolean | null;
19448
+ completedAt?: number | null;
19449
+ completedSlot?: number | null;
19450
+ graduationPercent?: number | null;
19451
+ launchpadName?: string | null;
19452
+ launchpadProtocol?: string | null;
19453
+ migrated?: boolean | null;
19454
+ migratedAt?: number | null;
19455
+ migratedPoolAddress?: string | null;
19456
+ migratedSlot?: number | null;
19457
+ poolAddress?: string | null;
19458
+ } | null;
19459
+ socialLinks?: {
19460
+ __typename?: 'SocialLinks';
19461
+ bitcointalk?: string | null;
19462
+ blog?: string | null;
19463
+ coingecko?: string | null;
19464
+ coinmarketcap?: string | null;
19465
+ discord?: string | null;
19466
+ email?: string | null;
19467
+ facebook?: string | null;
19468
+ github?: string | null;
19469
+ instagram?: string | null;
19470
+ linkedin?: string | null;
19471
+ reddit?: string | null;
19472
+ slack?: string | null;
19473
+ telegram?: string | null;
19474
+ twitch?: string | null;
19475
+ twitter?: string | null;
19476
+ website?: string | null;
19477
+ wechat?: string | null;
19478
+ whitepaper?: string | null;
19479
+ youtube?: string | null;
19480
+ } | null;
19481
+ } | null;
19082
19482
  }>;
19083
19483
  };
19084
19484
  };
@@ -19448,12 +19848,95 @@ export type OnBalanceUpdatedSubscription = {
19448
19848
  __typename?: 'Balance';
19449
19849
  address: string;
19450
19850
  balance: string;
19851
+ balanceUsd?: string | null;
19451
19852
  firstHeldTimestamp?: number | null;
19452
19853
  networkId: number;
19453
19854
  shiftedBalance: number;
19454
19855
  tokenAddress: string;
19455
19856
  tokenId: string;
19857
+ tokenPriceUsd?: string | null;
19456
19858
  walletId: string;
19859
+ token?: {
19860
+ __typename?: 'EnhancedToken';
19861
+ address: string;
19862
+ cmcId?: number | null;
19863
+ createBlockNumber?: number | null;
19864
+ createTransactionHash?: string | null;
19865
+ createdAt?: number | null;
19866
+ creatorAddress?: string | null;
19867
+ decimals: number;
19868
+ freezable?: string | null;
19869
+ id: string;
19870
+ isScam?: boolean | null;
19871
+ mintable?: string | null;
19872
+ name?: string | null;
19873
+ networkId: number;
19874
+ symbol?: string | null;
19875
+ exchanges?: Array<{
19876
+ __typename?: 'Exchange';
19877
+ address: string;
19878
+ color?: string | null;
19879
+ exchangeVersion?: string | null;
19880
+ iconUrl?: string | null;
19881
+ id: string;
19882
+ name?: string | null;
19883
+ networkId: number;
19884
+ tradeUrl?: string | null;
19885
+ }> | null;
19886
+ info?: {
19887
+ __typename?: 'TokenInfo';
19888
+ address: string;
19889
+ circulatingSupply?: string | null;
19890
+ cmcId?: number | null;
19891
+ description?: string | null;
19892
+ id: string;
19893
+ imageBannerUrl?: string | null;
19894
+ imageLargeUrl?: string | null;
19895
+ imageSmallUrl?: string | null;
19896
+ imageThumbUrl?: string | null;
19897
+ isScam?: boolean | null;
19898
+ name?: string | null;
19899
+ networkId: number;
19900
+ symbol: string;
19901
+ totalSupply?: string | null;
19902
+ } | null;
19903
+ launchpad?: {
19904
+ __typename?: 'LaunchpadData';
19905
+ completed?: boolean | null;
19906
+ completedAt?: number | null;
19907
+ completedSlot?: number | null;
19908
+ graduationPercent?: number | null;
19909
+ launchpadName?: string | null;
19910
+ launchpadProtocol?: string | null;
19911
+ migrated?: boolean | null;
19912
+ migratedAt?: number | null;
19913
+ migratedPoolAddress?: string | null;
19914
+ migratedSlot?: number | null;
19915
+ poolAddress?: string | null;
19916
+ } | null;
19917
+ socialLinks?: {
19918
+ __typename?: 'SocialLinks';
19919
+ bitcointalk?: string | null;
19920
+ blog?: string | null;
19921
+ coingecko?: string | null;
19922
+ coinmarketcap?: string | null;
19923
+ discord?: string | null;
19924
+ email?: string | null;
19925
+ facebook?: string | null;
19926
+ github?: string | null;
19927
+ instagram?: string | null;
19928
+ linkedin?: string | null;
19929
+ reddit?: string | null;
19930
+ slack?: string | null;
19931
+ telegram?: string | null;
19932
+ twitch?: string | null;
19933
+ twitter?: string | null;
19934
+ website?: string | null;
19935
+ wechat?: string | null;
19936
+ whitepaper?: string | null;
19937
+ youtube?: string | null;
19938
+ } | null;
19939
+ } | null;
19457
19940
  };
19458
19941
  };
19459
19942
  export type OnBarsUpdatedSubscriptionVariables = Exact<{
@@ -20465,6 +20948,7 @@ export type OnEventLabelCreatedSubscription = {
20465
20948
  export type OnEventsCreatedSubscriptionVariables = Exact<{
20466
20949
  address?: InputMaybe<Scalars['String']['input']>;
20467
20950
  id?: InputMaybe<Scalars['String']['input']>;
20951
+ maker?: InputMaybe<Scalars['String']['input']>;
20468
20952
  networkId?: InputMaybe<Scalars['Int']['input']>;
20469
20953
  quoteToken?: InputMaybe<QuoteToken>;
20470
20954
  }>;
@@ -20502,6 +20986,7 @@ export type OnEventsCreatedSubscription = {
20502
20986
  transactionHash: string;
20503
20987
  transactionIndex: number;
20504
20988
  walletAge?: number | null;
20989
+ walletLabels?: Array<string> | null;
20505
20990
  data?: {
20506
20991
  __typename?: 'BurnEventData';
20507
20992
  amount0?: string | null;
@@ -20567,6 +21052,106 @@ export type OnEventsCreatedSubscription = {
20567
21052
  } | null>;
20568
21053
  } | null;
20569
21054
  };
21055
+ export type OnEventsCreatedByMakerSubscriptionVariables = Exact<{
21056
+ input: OnEventsCreatedByMakerInput;
21057
+ }>;
21058
+ export type OnEventsCreatedByMakerSubscription = {
21059
+ __typename?: 'Subscription';
21060
+ onEventsCreatedByMaker?: {
21061
+ __typename?: 'AddEventsByMakerOutput';
21062
+ makerAddress: string;
21063
+ events: Array<{
21064
+ __typename?: 'Event';
21065
+ address: string;
21066
+ baseTokenPrice?: string | null;
21067
+ blockHash: string;
21068
+ blockNumber: number;
21069
+ eventDisplayType?: EventDisplayType | null;
21070
+ eventType: EventType;
21071
+ id: string;
21072
+ liquidityToken?: string | null;
21073
+ logIndex: number;
21074
+ maker?: string | null;
21075
+ networkId: number;
21076
+ quoteToken?: QuoteToken | null;
21077
+ timestamp: number;
21078
+ token0Address?: string | null;
21079
+ token0PoolValueUsd?: string | null;
21080
+ token0SwapValueUsd?: string | null;
21081
+ token0ValueBase?: string | null;
21082
+ token1Address?: string | null;
21083
+ token1PoolValueUsd?: string | null;
21084
+ token1SwapValueUsd?: string | null;
21085
+ token1ValueBase?: string | null;
21086
+ transactionHash: string;
21087
+ transactionIndex: number;
21088
+ walletAge?: number | null;
21089
+ walletLabels?: Array<string> | null;
21090
+ data?: {
21091
+ __typename?: 'BurnEventData';
21092
+ amount0?: string | null;
21093
+ amount0Shifted?: string | null;
21094
+ amount1?: string | null;
21095
+ amount1Shifted?: string | null;
21096
+ tickLower?: string | null;
21097
+ tickUpper?: string | null;
21098
+ type: EventType;
21099
+ } | {
21100
+ __typename?: 'MintEventData';
21101
+ amount0?: string | null;
21102
+ amount0Shifted?: string | null;
21103
+ amount1?: string | null;
21104
+ amount1Shifted?: string | null;
21105
+ tickLower?: string | null;
21106
+ tickUpper?: string | null;
21107
+ type: EventType;
21108
+ } | {
21109
+ __typename?: 'PoolBalanceChangedEventData';
21110
+ amount0?: string | null;
21111
+ amount0Shifted?: string | null;
21112
+ amount1?: string | null;
21113
+ amount1Shifted?: string | null;
21114
+ liquidity0?: string | null;
21115
+ liquidity1?: string | null;
21116
+ protocolFeeAmount0?: string | null;
21117
+ protocolFeeAmount1?: string | null;
21118
+ sender?: string | null;
21119
+ token0?: string | null;
21120
+ token1?: string | null;
21121
+ type: EventType;
21122
+ } | {
21123
+ __typename?: 'SwapEventData';
21124
+ amount0?: string | null;
21125
+ amount0In?: string | null;
21126
+ amount0Out?: string | null;
21127
+ amount1?: string | null;
21128
+ amount1In?: string | null;
21129
+ amount1Out?: string | null;
21130
+ amountNonLiquidityToken?: string | null;
21131
+ priceBaseToken?: string | null;
21132
+ priceBaseTokenTotal?: string | null;
21133
+ priceUsd?: string | null;
21134
+ priceUsdTotal?: string | null;
21135
+ tick?: string | null;
21136
+ type: EventType;
21137
+ } | null;
21138
+ labels?: {
21139
+ __typename?: 'LabelsForEvent';
21140
+ sandwich?: {
21141
+ __typename?: 'SandwichLabelForEvent';
21142
+ label: string;
21143
+ sandwichType: SandwichLabelForEventType;
21144
+ token0DrainedAmount: string;
21145
+ token1DrainedAmount: string;
21146
+ } | null;
21147
+ washtrade?: {
21148
+ __typename?: 'WashtradeLabelForEvent';
21149
+ label: string;
21150
+ } | null;
21151
+ } | null;
21152
+ }>;
21153
+ } | null;
21154
+ };
20570
21155
  export type OnHoldersUpdatedSubscriptionVariables = Exact<{
20571
21156
  tokenId: Scalars['String']['input'];
20572
21157
  }>;
@@ -20582,12 +21167,95 @@ export type OnHoldersUpdatedSubscription = {
20582
21167
  __typename?: 'Balance';
20583
21168
  address: string;
20584
21169
  balance: string;
21170
+ balanceUsd?: string | null;
20585
21171
  firstHeldTimestamp?: number | null;
20586
21172
  networkId: number;
20587
21173
  shiftedBalance: number;
20588
21174
  tokenAddress: string;
20589
21175
  tokenId: string;
21176
+ tokenPriceUsd?: string | null;
20590
21177
  walletId: string;
21178
+ token?: {
21179
+ __typename?: 'EnhancedToken';
21180
+ address: string;
21181
+ cmcId?: number | null;
21182
+ createBlockNumber?: number | null;
21183
+ createTransactionHash?: string | null;
21184
+ createdAt?: number | null;
21185
+ creatorAddress?: string | null;
21186
+ decimals: number;
21187
+ freezable?: string | null;
21188
+ id: string;
21189
+ isScam?: boolean | null;
21190
+ mintable?: string | null;
21191
+ name?: string | null;
21192
+ networkId: number;
21193
+ symbol?: string | null;
21194
+ exchanges?: Array<{
21195
+ __typename?: 'Exchange';
21196
+ address: string;
21197
+ color?: string | null;
21198
+ exchangeVersion?: string | null;
21199
+ iconUrl?: string | null;
21200
+ id: string;
21201
+ name?: string | null;
21202
+ networkId: number;
21203
+ tradeUrl?: string | null;
21204
+ }> | null;
21205
+ info?: {
21206
+ __typename?: 'TokenInfo';
21207
+ address: string;
21208
+ circulatingSupply?: string | null;
21209
+ cmcId?: number | null;
21210
+ description?: string | null;
21211
+ id: string;
21212
+ imageBannerUrl?: string | null;
21213
+ imageLargeUrl?: string | null;
21214
+ imageSmallUrl?: string | null;
21215
+ imageThumbUrl?: string | null;
21216
+ isScam?: boolean | null;
21217
+ name?: string | null;
21218
+ networkId: number;
21219
+ symbol: string;
21220
+ totalSupply?: string | null;
21221
+ } | null;
21222
+ launchpad?: {
21223
+ __typename?: 'LaunchpadData';
21224
+ completed?: boolean | null;
21225
+ completedAt?: number | null;
21226
+ completedSlot?: number | null;
21227
+ graduationPercent?: number | null;
21228
+ launchpadName?: string | null;
21229
+ launchpadProtocol?: string | null;
21230
+ migrated?: boolean | null;
21231
+ migratedAt?: number | null;
21232
+ migratedPoolAddress?: string | null;
21233
+ migratedSlot?: number | null;
21234
+ poolAddress?: string | null;
21235
+ } | null;
21236
+ socialLinks?: {
21237
+ __typename?: 'SocialLinks';
21238
+ bitcointalk?: string | null;
21239
+ blog?: string | null;
21240
+ coingecko?: string | null;
21241
+ coinmarketcap?: string | null;
21242
+ discord?: string | null;
21243
+ email?: string | null;
21244
+ facebook?: string | null;
21245
+ github?: string | null;
21246
+ instagram?: string | null;
21247
+ linkedin?: string | null;
21248
+ reddit?: string | null;
21249
+ slack?: string | null;
21250
+ telegram?: string | null;
21251
+ twitch?: string | null;
21252
+ twitter?: string | null;
21253
+ website?: string | null;
21254
+ wechat?: string | null;
21255
+ whitepaper?: string | null;
21256
+ youtube?: string | null;
21257
+ } | null;
21258
+ } | null;
20591
21259
  }>;
20592
21260
  } | null;
20593
21261
  };
@@ -22490,6 +23158,7 @@ export type OnTokenEventsCreatedSubscription = {
22490
23158
  transactionHash: string;
22491
23159
  transactionIndex: number;
22492
23160
  walletAge?: number | null;
23161
+ walletLabels?: Array<string> | null;
22493
23162
  data?: {
22494
23163
  __typename?: 'BurnEventData';
22495
23164
  amount0?: string | null;
@@ -22720,6 +23389,50 @@ export type OnUnconfirmedEventsCreatedSubscription = {
22720
23389
  } | null>;
22721
23390
  } | null;
22722
23391
  };
23392
+ export type OnUnconfirmedEventsCreatedByMakerSubscriptionVariables = Exact<{
23393
+ input: OnUnconfirmedEventsCreatedByMakerInput;
23394
+ }>;
23395
+ export type OnUnconfirmedEventsCreatedByMakerSubscription = {
23396
+ __typename?: 'Subscription';
23397
+ onUnconfirmedEventsCreatedByMaker?: {
23398
+ __typename?: 'AddUnconfirmedEventsByMakerOutput';
23399
+ makerAddress: string;
23400
+ events: Array<{
23401
+ __typename?: 'UnconfirmedEvent';
23402
+ address: string;
23403
+ blockHash: string;
23404
+ blockNumber: number;
23405
+ eventDisplayType?: EventDisplayType | null;
23406
+ eventType: EventType;
23407
+ id: string;
23408
+ logIndex: number;
23409
+ maker?: string | null;
23410
+ networkId: number;
23411
+ quoteToken?: QuoteToken | null;
23412
+ supplementalIndex?: number | null;
23413
+ timestamp: number;
23414
+ transactionHash: string;
23415
+ transactionIndex: number;
23416
+ data?: {
23417
+ __typename?: 'UnconfirmedLiquidityChangeEventData';
23418
+ amount0?: string | null;
23419
+ amount0Shifted?: string | null;
23420
+ amount1?: string | null;
23421
+ amount1Shifted?: string | null;
23422
+ type: EventType;
23423
+ } | {
23424
+ __typename?: 'UnconfirmedSwapEventData';
23425
+ amountBaseToken?: string | null;
23426
+ amountNonLiquidityToken?: string | null;
23427
+ priceBaseToken?: string | null;
23428
+ priceBaseTokenTotal?: string | null;
23429
+ priceUsd?: string | null;
23430
+ priceUsdTotal?: string | null;
23431
+ type: EventType;
23432
+ } | null;
23433
+ }>;
23434
+ } | null;
23435
+ };
22723
23436
  export declare const CreateApiTokensDocument: DocumentNode<CreateApiTokensMutation, Exact<{
22724
23437
  input: CreateApiTokensInput;
22725
23438
  }>>;
@@ -23008,12 +23721,17 @@ export declare const HoldersDocument: DocumentNode<HoldersQuery, Exact<{
23008
23721
  export declare const LiquidityLocksDocument: DocumentNode<LiquidityLocksQuery, Exact<{
23009
23722
  cursor?: InputMaybe<string> | undefined;
23010
23723
  networkId: Scalars['Int']['input'];
23011
- pairAddress: Scalars['String']['input'];
23724
+ pairAddress?: InputMaybe<string> | undefined;
23725
+ tokenAddress?: InputMaybe<string> | undefined;
23012
23726
  }>>;
23013
23727
  export declare const LiquidityMetadataDocument: DocumentNode<LiquidityMetadataQuery, Exact<{
23014
23728
  networkId: Scalars['Int']['input'];
23015
23729
  pairAddress: Scalars['String']['input'];
23016
23730
  }>>;
23731
+ export declare const LiquidityMetadataByTokenDocument: DocumentNode<LiquidityMetadataByTokenQuery, Exact<{
23732
+ networkId: Scalars['Int']['input'];
23733
+ tokenAddress: Scalars['String']['input'];
23734
+ }>>;
23017
23735
  export declare const ListPairsForTokenDocument: DocumentNode<ListPairsForTokenQuery, Exact<{
23018
23736
  limit?: InputMaybe<number> | undefined;
23019
23737
  networkId: Scalars['Int']['input'];
@@ -23024,11 +23742,6 @@ export declare const ListPairsWithMetadataForTokenDocument: DocumentNode<ListPai
23024
23742
  networkId: Scalars['Int']['input'];
23025
23743
  tokenAddress: Scalars['String']['input'];
23026
23744
  }>>;
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
23745
  export declare const NftHoldersDocument: DocumentNode<NftHoldersQuery, Exact<{
23033
23746
  input: NftHoldersInput;
23034
23747
  }>>;
@@ -23096,9 +23809,13 @@ export declare const OnEventLabelCreatedDocument: DocumentNode<OnEventLabelCreat
23096
23809
  export declare const OnEventsCreatedDocument: DocumentNode<OnEventsCreatedSubscription, Exact<{
23097
23810
  address?: InputMaybe<string> | undefined;
23098
23811
  id?: InputMaybe<string> | undefined;
23812
+ maker?: InputMaybe<string> | undefined;
23099
23813
  networkId?: InputMaybe<number> | undefined;
23100
23814
  quoteToken?: InputMaybe<QuoteToken> | undefined;
23101
23815
  }>>;
23816
+ export declare const OnEventsCreatedByMakerDocument: DocumentNode<OnEventsCreatedByMakerSubscription, Exact<{
23817
+ input: OnEventsCreatedByMakerInput;
23818
+ }>>;
23102
23819
  export declare const OnHoldersUpdatedDocument: DocumentNode<OnHoldersUpdatedSubscription, Exact<{
23103
23820
  tokenId: Scalars['String']['input'];
23104
23821
  }>>;
@@ -23171,4 +23888,7 @@ export declare const OnUnconfirmedEventsCreatedDocument: DocumentNode<OnUnconfir
23171
23888
  id?: InputMaybe<string> | undefined;
23172
23889
  quoteToken?: InputMaybe<QuoteToken> | undefined;
23173
23890
  }>>;
23891
+ export declare const OnUnconfirmedEventsCreatedByMakerDocument: DocumentNode<OnUnconfirmedEventsCreatedByMakerSubscription, Exact<{
23892
+ input: OnUnconfirmedEventsCreatedByMakerInput;
23893
+ }>>;
23174
23894
  //# sourceMappingURL=graphql.d.ts.map