@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
@@ -18,6 +18,15 @@ export type Scalars = {
18
18
  link__Import: { input: any; output: any; }
19
19
  };
20
20
 
21
+ /** Response returned by `onEventsCreatedByMaker`. */
22
+ export type AddEventsByMakerOutput = {
23
+ __typename?: 'AddEventsByMakerOutput';
24
+ /** A list of transactions for the maker. */
25
+ events: Array<Event>;
26
+ /** The address of the maker. */
27
+ makerAddress: Scalars['String']['output'];
28
+ };
29
+
21
30
  /** Response returned by `onEventsCreated`. */
22
31
  export type AddEventsOutput = {
23
32
  __typename?: 'AddEventsOutput';
@@ -78,6 +87,14 @@ export type AddTrackedWalletEventsOutput = {
78
87
  userId: Scalars['String']['output'];
79
88
  };
80
89
 
90
+ export type AddUnconfirmedEventsByMakerOutput = {
91
+ __typename?: 'AddUnconfirmedEventsByMakerOutput';
92
+ /** A list of transactions for the maker. */
93
+ events: Array<UnconfirmedEvent>;
94
+ /** The wallet address of the maker. */
95
+ makerAddress: Scalars['String']['output'];
96
+ };
97
+
81
98
  /** Response returned by `onUnconfirmedEventsCreated`. */
82
99
  export type AddUnconfirmedEventsOutput = {
83
100
  __typename?: 'AddUnconfirmedEventsOutput';
@@ -151,16 +168,22 @@ export type Balance = {
151
168
  address: Scalars['String']['output'];
152
169
  /** The balance held by the wallet. */
153
170
  balance: Scalars['String']['output'];
171
+ /** The balance held by the wallet in USD. */
172
+ balanceUsd?: Maybe<Scalars['String']['output']>;
154
173
  /** The time that this address first held a token. */
155
174
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
156
175
  /** The wallet network. */
157
176
  networkId: Scalars['Int']['output'];
158
177
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
159
178
  shiftedBalance: Scalars['Float']['output'];
179
+ /** Metadata for the token. */
180
+ token?: Maybe<EnhancedToken>;
160
181
  /** The contract address of the token. */
161
182
  tokenAddress: Scalars['String']['output'];
162
183
  /** The ID of the token (`tokenAddress:networkId`). */
163
184
  tokenId: Scalars['String']['output'];
185
+ /** The token price in USD. */
186
+ tokenPriceUsd?: Maybe<Scalars['String']['output']>;
164
187
  /** The ID of the wallet (`walletAddress:networkId`). */
165
188
  walletId: Scalars['String']['output'];
166
189
  };
@@ -179,6 +202,8 @@ export type BalancesInput = {
179
202
  limit?: InputMaybe<Scalars['Int']['input']>;
180
203
  /** The network IDs to filter by. */
181
204
  networks?: InputMaybe<Array<Scalars['Int']['input']>>;
205
+ /** Whether to remove scam tokens from the response. */
206
+ removeScams?: InputMaybe<Scalars['Boolean']['input']>;
182
207
  /** 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. */
183
208
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
184
209
  /** The wallet address to filter by. */
@@ -449,6 +474,38 @@ export type CreateApiTokensInput = {
449
474
  requestLimit?: InputMaybe<Scalars['String']['input']>;
450
475
  };
451
476
 
477
+ /** Input for creating a market cap webhook. */
478
+ export type CreateMarketCapWebhookArgs = {
479
+ /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
480
+ alertRecurrence: AlertRecurrence;
481
+ /** 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). */
482
+ bucketId?: InputMaybe<Scalars['String']['input']>;
483
+ /** 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). */
484
+ bucketSortkey?: InputMaybe<Scalars['String']['input']>;
485
+ /** The url to which the webhook message should be sent. */
486
+ callbackUrl: Scalars['String']['input'];
487
+ /** The conditions which must be met in order for the webhook to send a message. */
488
+ conditions: MarketCapEventWebhookConditionInput;
489
+ /** 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. */
490
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
491
+ /** 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. */
492
+ groupId?: InputMaybe<Scalars['String']['input']>;
493
+ /** The name of the webhook (max 128 characters). */
494
+ name: Scalars['String']['input'];
495
+ /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
496
+ publishingType?: InputMaybe<PublishingType>;
497
+ /** The settings for retrying failed webhook messages. */
498
+ retrySettings?: InputMaybe<RetrySettingsInput>;
499
+ /** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
500
+ securityToken: Scalars['String']['input'];
501
+ };
502
+
503
+ /** Input for creating market cap webhooks. */
504
+ export type CreateMarketCapWebhooksInput = {
505
+ /** A list of market cap webhooks to create. */
506
+ webhooks: Array<CreateMarketCapWebhookArgs>;
507
+ };
508
+
452
509
  /** Input for creating an NFT event webhook. */
453
510
  export type CreateNftEventWebhookArgs = {
454
511
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
@@ -579,6 +636,8 @@ export type CreateTokenPairEventWebhooksInput = {
579
636
 
580
637
  /** Input for creating webhooks. */
581
638
  export type CreateWebhooksInput = {
639
+ /** Input for creating market cap webhooks. */
640
+ marketCapWebhooksInput?: InputMaybe<CreateMarketCapWebhooksInput>;
582
641
  /** Input for creating NFT event webhooks. */
583
642
  nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
584
643
  /** Input for creating price webhooks. */
@@ -592,6 +651,8 @@ export type CreateWebhooksInput = {
592
651
  /** Result returned by `createWebhooks`. */
593
652
  export type CreateWebhooksOutput = {
594
653
  __typename?: 'CreateWebhooksOutput';
654
+ /** The list of market cap event webhooks that were created. */
655
+ marketCapWebhooks: Array<Maybe<Webhook>>;
595
656
  /** The list of NFT event webhooks that were created. */
596
657
  nftEventWebhooks: Array<Maybe<Webhook>>;
597
658
  /** The list of price webhooks that were created. */
@@ -1062,6 +1123,8 @@ export type Event = {
1062
1123
  transactionIndex: Scalars['Int']['output'];
1063
1124
  /** The age of the wallet in seconds. */
1064
1125
  walletAge?: Maybe<Scalars['Int']['output']>;
1126
+ /** Labels attributed to the wallet. */
1127
+ walletLabels?: Maybe<Array<Scalars['String']['output']>>;
1065
1128
  };
1066
1129
 
1067
1130
  /** Response returned by `getTokenEvents`. */
@@ -1403,8 +1466,13 @@ export type FilterTokenWalletsInput = {
1403
1466
  rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1404
1467
  /** The ID of the token to filter wallets for */
1405
1468
  tokenId?: InputMaybe<Scalars['String']['input']>;
1406
- /** The wallet address to filter wallets for */
1469
+ /**
1470
+ * The wallet address to filter wallets for
1471
+ * @deprecated Use wallets instead
1472
+ */
1407
1473
  walletAddress?: InputMaybe<Scalars['String']['input']>;
1474
+ /** A list of wallet addresses to filter wallets for */
1475
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1408
1476
  };
1409
1477
 
1410
1478
  /** The input for filtering wallets. */
@@ -1666,6 +1734,16 @@ export type HoldersUpdate = {
1666
1734
  tokenId: Scalars['String']['output'];
1667
1735
  };
1668
1736
 
1737
+ export type IndexerStateInput = {
1738
+ /** The network ID to check the state of. */
1739
+ networkId: Scalars['Int']['input'];
1740
+ };
1741
+
1742
+ export enum IndexerStatus {
1743
+ Behind = 'Behind',
1744
+ Normal = 'Normal'
1745
+ }
1746
+
1669
1747
  /** Bar chart data. */
1670
1748
  export type IndividualBarData = {
1671
1749
  __typename?: 'IndividualBarData';
@@ -1944,9 +2022,11 @@ export enum LaunchpadTokenEventType {
1944
2022
 
1945
2023
  /** The protocol of the token. */
1946
2024
  export enum LaunchpadTokenProtocol {
2025
+ ArenaTrade = 'ArenaTrade',
1947
2026
  BoopFun = 'BoopFun',
1948
2027
  EgoTech = 'EgoTech',
1949
2028
  FourMeme = 'FourMeme',
2029
+ Moonit = 'Moonit',
1950
2030
  Pump = 'Pump',
1951
2031
  Rainbow = 'Rainbow',
1952
2032
  RaydiumLaunchpad = 'RaydiumLaunchpad',
@@ -1995,6 +2075,19 @@ export type LiquidityLock = {
1995
2075
  unlockAt?: Maybe<Scalars['Int']['output']>;
1996
2076
  };
1997
2077
 
2078
+ /** A breakdown of how much and where liquidity is locked. */
2079
+ export type LiquidityLockBreakdownForToken = {
2080
+ __typename?: 'LiquidityLockBreakdownForToken';
2081
+ /** The amount of tokens locked in the protocol. */
2082
+ amountLockedTokens: Scalars['String']['output'];
2083
+ /** The amount of tokens locked in the protocol shifted by number of decimals the token has. */
2084
+ amountLockedTokensShifted: Scalars['String']['output'];
2085
+ /** The amount of liquidity locked in USD. */
2086
+ amountLockedUsd: Scalars['String']['output'];
2087
+ /** The protocol with which the liquidity is locked. */
2088
+ lockProtocol: LiquidityLockProtocol;
2089
+ };
2090
+
1998
2091
  export type LiquidityLockConnection = {
1999
2092
  __typename?: 'LiquidityLockConnection';
2000
2093
  /** A cursor for use in pagination. */
@@ -2021,6 +2114,31 @@ export type LiquidityMetadata = {
2021
2114
  lockedLiquidity: LockedLiquidityData;
2022
2115
  };
2023
2116
 
2117
+ /** Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in. */
2118
+ export type LiquidityMetadataByToken = {
2119
+ __typename?: 'LiquidityMetadataByToken';
2120
+ /** A breakdown of how much and where liquidity is locked. */
2121
+ lockBreakdown: Array<Maybe<LiquidityLockBreakdownForToken>>;
2122
+ /** The percentage of liquidity that is locked. */
2123
+ lockedLiquidityPercentage: Scalars['Float']['output'];
2124
+ /** The locked liquidity in USD. */
2125
+ lockedLiquidityUsd: Scalars['String']['output'];
2126
+ /** The locked amount of tokens in pairs. */
2127
+ lockedTokenLiquidity: Scalars['String']['output'];
2128
+ /** The locked amount of tokens in pairs shifted by number of decimals the token has. */
2129
+ lockedTokenLiquidityShifted: Scalars['String']['output'];
2130
+ /** The network ID the token is deployed on. */
2131
+ networkId: Scalars['Int']['output'];
2132
+ /** The address of the token. */
2133
+ tokenAddress: Scalars['String']['output'];
2134
+ /** The total liquidity in USD. */
2135
+ totalLiquidityUsd: Scalars['String']['output'];
2136
+ /** The total amount of tokens in pairs. */
2137
+ totalTokenLiquidity: Scalars['String']['output'];
2138
+ /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2139
+ totalTokenLiquidityShifted: Scalars['String']['output'];
2140
+ };
2141
+
2024
2142
  /** Liquidity NFT position data */
2025
2143
  export type LiquidityNftData = {
2026
2144
  __typename?: 'LiquidityNftData';
@@ -2116,6 +2234,35 @@ export type MakerEventsQueryInput = {
2116
2234
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
2117
2235
  };
2118
2236
 
2237
+ /** Webhook conditions for a market cap event. */
2238
+ export type MarketCapEventWebhookCondition = {
2239
+ __typename?: 'MarketCapEventWebhookCondition';
2240
+ /** The circulating market cap condition that must be met in order for the webhook to send. */
2241
+ circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
2242
+ /** The market cap condition that must be met in order for the webhook to send. */
2243
+ fdvMarketCapUsd?: Maybe<ComparisonOperator>;
2244
+ /** The network ID the webhook is listening on. */
2245
+ networkId: IntEqualsCondition;
2246
+ /** The pair contract address the webhook is listening for. */
2247
+ pairAddress?: Maybe<StringEqualsCondition>;
2248
+ /** The token contract address the webhook is listening for. */
2249
+ tokenAddress: StringEqualsCondition;
2250
+ };
2251
+
2252
+ /** Input conditions for a market cap event webhook. */
2253
+ export type MarketCapEventWebhookConditionInput = {
2254
+ /** The circulating market cap conditions to listen for. */
2255
+ circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2256
+ /** The price conditions to listen for. */
2257
+ fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2258
+ /** The network ID to listen on. */
2259
+ networkId: IntEqualsConditionInput;
2260
+ /** The contract address of the pair to listen for. */
2261
+ pairAddress?: InputMaybe<StringEqualsConditionInput>;
2262
+ /** The contract address of the token to listen for. */
2263
+ tokenAddress: StringEqualsConditionInput;
2264
+ };
2265
+
2119
2266
  /** The status for a network supported on Defined. */
2120
2267
  export type MetadataResponse = {
2121
2268
  __typename?: 'MetadataResponse';
@@ -4958,6 +5105,12 @@ export type OnBarsUpdatedResponse = {
4958
5105
  timestamp: Scalars['Int']['output'];
4959
5106
  };
4960
5107
 
5108
+ /** Input for `onEventsCreatedByMaker`. */
5109
+ export type OnEventsCreatedByMakerInput = {
5110
+ /** The wallet address of the maker. */
5111
+ makerAddress: Scalars['String']['input'];
5112
+ };
5113
+
4961
5114
  /** Input for `onLaunchpadTokenEvent`. */
4962
5115
  export type OnLaunchpadTokenEventInput = {
4963
5116
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -5005,7 +5158,9 @@ export type OnTokenBarsUpdatedResponse = {
5005
5158
  };
5006
5159
 
5007
5160
  export type OnTokenEventsCreatedInput = {
5161
+ /** The network ID to filter by. */
5008
5162
  networkId: Scalars['Int']['input'];
5163
+ /** The token address to filter by. */
5009
5164
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
5010
5165
  };
5011
5166
 
@@ -5033,6 +5188,12 @@ export type OnUnconfirmedBarsUpdated = {
5033
5188
  timestamp: Scalars['Int']['output'];
5034
5189
  };
5035
5190
 
5191
+ /** Input for `onUnconfirmedEventsCreatedByMaker`. */
5192
+ export type OnUnconfirmedEventsCreatedByMakerInput = {
5193
+ /** The wallet address of the maker. */
5194
+ makerAddress: Scalars['String']['input'];
5195
+ };
5196
+
5036
5197
  /** Integer list condition. */
5037
5198
  export type OneOfNumberCondition = {
5038
5199
  __typename?: 'OneOfNumberCondition';
@@ -6558,11 +6719,16 @@ export type Query = {
6558
6719
  liquidityLocks?: Maybe<LiquidityLockConnection>;
6559
6720
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
6560
6721
  liquidityMetadata?: Maybe<LiquidityMetadata>;
6722
+ /** Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in. */
6723
+ liquidityMetadataByToken: LiquidityMetadataByToken;
6561
6724
  /** Returns a list of pairs containing a given token. */
6562
6725
  listPairsForToken: Array<Maybe<Pair>>;
6563
6726
  /** Returns a list of pair metadata for a token. */
6564
6727
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6565
- /** Returns a list of trending tokens across any given network(s). */
6728
+ /**
6729
+ * Returns a list of trending tokens across any given network(s).
6730
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6731
+ */
6566
6732
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6567
6733
  /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
6568
6734
  nftHolders: NftHoldersResponse;
@@ -6587,7 +6753,7 @@ export type Query = {
6587
6753
  tokenTopTraders: TokenTopTradersConnection;
6588
6754
  /** Returns a list of tokens by their addresses & network id, with pagination. */
6589
6755
  tokens: Array<Maybe<EnhancedToken>>;
6590
- /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6756
+ /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6591
6757
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6592
6758
  /** Returns a chart of a wallet's activity. */
6593
6759
  walletChart?: Maybe<WalletChartResponse>;
@@ -6987,7 +7153,8 @@ export type QueryHoldersArgs = {
6987
7153
  export type QueryLiquidityLocksArgs = {
6988
7154
  cursor?: InputMaybe<Scalars['String']['input']>;
6989
7155
  networkId: Scalars['Int']['input'];
6990
- pairAddress: Scalars['String']['input'];
7156
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
7157
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
6991
7158
  };
6992
7159
 
6993
7160
 
@@ -6997,6 +7164,12 @@ export type QueryLiquidityMetadataArgs = {
6997
7164
  };
6998
7165
 
6999
7166
 
7167
+ export type QueryLiquidityMetadataByTokenArgs = {
7168
+ networkId: Scalars['Int']['input'];
7169
+ tokenAddress: Scalars['String']['input'];
7170
+ };
7171
+
7172
+
7000
7173
  export type QueryListPairsForTokenArgs = {
7001
7174
  limit?: InputMaybe<Scalars['Int']['input']>;
7002
7175
  networkId: Scalars['Int']['input'];
@@ -7664,6 +7837,8 @@ export type Subscription = {
7664
7837
  onEventLabelCreated?: Maybe<EventLabel>;
7665
7838
  /** Live-streamed transactions for a token. */
7666
7839
  onEventsCreated?: Maybe<AddEventsOutput>;
7840
+ /** Live-streamed transactions for a maker. */
7841
+ onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
7667
7842
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
7668
7843
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7669
7844
  /** Live-streamed updates for newly listed pairs. */
@@ -7694,6 +7869,8 @@ export type Subscription = {
7694
7869
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
7695
7870
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
7696
7871
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
7872
+ /** Live-streamed unconfirmed transactions for a maker. (Solana only) */
7873
+ onUnconfirmedEventsCreatedByMaker?: Maybe<AddUnconfirmedEventsByMakerOutput>;
7697
7874
  };
7698
7875
 
7699
7876
 
@@ -7724,11 +7901,17 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7724
7901
  export type SubscriptionOnEventsCreatedArgs = {
7725
7902
  address?: InputMaybe<Scalars['String']['input']>;
7726
7903
  id?: InputMaybe<Scalars['String']['input']>;
7904
+ maker?: InputMaybe<Scalars['String']['input']>;
7727
7905
  networkId?: InputMaybe<Scalars['Int']['input']>;
7728
7906
  quoteToken?: InputMaybe<QuoteToken>;
7729
7907
  };
7730
7908
 
7731
7909
 
7910
+ export type SubscriptionOnEventsCreatedByMakerArgs = {
7911
+ input: OnEventsCreatedByMakerInput;
7912
+ };
7913
+
7914
+
7732
7915
  export type SubscriptionOnHoldersUpdatedArgs = {
7733
7916
  tokenId: Scalars['String']['input'];
7734
7917
  };
@@ -7829,6 +8012,11 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7829
8012
  quoteToken?: InputMaybe<QuoteToken>;
7830
8013
  };
7831
8014
 
8015
+
8016
+ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
8017
+ input: OnUnconfirmedEventsCreatedByMakerInput;
8018
+ };
8019
+
7832
8020
  export type SuiNetworkConfig = {
7833
8021
  __typename?: 'SuiNetworkConfig';
7834
8022
  baseTokenAddress: Scalars['String']['output'];
@@ -9938,7 +10126,7 @@ export type Webhook = {
9938
10126
  };
9939
10127
 
9940
10128
  /** Webhook conditions that must be met for each webhook type. */
9941
- export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
10129
+ export type WebhookCondition = MarketCapEventWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9942
10130
 
9943
10131
  /** NFT marketplace names. */
9944
10132
  export enum WebhookNftEventFillSource {
@@ -9968,6 +10156,7 @@ export enum WebhookNftEventType {
9968
10156
 
9969
10157
  /** The type of webhook. */
9970
10158
  export enum WebhookType {
10159
+ MarketCapEvent = 'MARKET_CAP_EVENT',
9971
10160
  NftEvent = 'NFT_EVENT',
9972
10161
  PriceEvent = 'PRICE_EVENT',
9973
10162
  RawTransaction = 'RAW_TRANSACTION',
@@ -9979,7 +10168,7 @@ export type WindowedDetailedCurrencyPairStats = {
9979
10168
  __typename?: 'WindowedDetailedCurrencyPairStats';
9980
10169
  /** The buy volume over the time frame. */
9981
10170
  buyVolume?: Maybe<DetailedPairStatsStringMetrics>;
9982
- /** The closing price for the time frame. */
10171
+ /** The closing price forr the time frame. */
9983
10172
  close?: Maybe<DetailedPairStatsStringMetrics>;
9984
10173
  /** The highest price in USD in the time frame. */
9985
10174
  highest?: Maybe<DetailedPairStatsStringMetrics>;