@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
@@ -58,6 +58,14 @@ export type Scalars = {
58
58
  output: any;
59
59
  };
60
60
  };
61
+ /** Response returned by `onEventsCreatedByMaker`. */
62
+ export type AddEventsByMakerOutput = {
63
+ __typename?: 'AddEventsByMakerOutput';
64
+ /** A list of transactions for the maker. */
65
+ events: Array<Event>;
66
+ /** The address of the maker. */
67
+ makerAddress: Scalars['String']['output'];
68
+ };
61
69
  /** Response returned by `onEventsCreated`. */
62
70
  export type AddEventsOutput = {
63
71
  __typename?: 'AddEventsOutput';
@@ -112,6 +120,13 @@ export type AddTrackedWalletEventsOutput = {
112
120
  __typename?: 'AddTrackedWalletEventsOutput';
113
121
  userId: Scalars['String']['output'];
114
122
  };
123
+ export type AddUnconfirmedEventsByMakerOutput = {
124
+ __typename?: 'AddUnconfirmedEventsByMakerOutput';
125
+ /** A list of transactions for the maker. */
126
+ events: Array<UnconfirmedEvent>;
127
+ /** The wallet address of the maker. */
128
+ makerAddress: Scalars['String']['output'];
129
+ };
115
130
  /** Response returned by `onUnconfirmedEventsCreated`. */
116
131
  export type AddUnconfirmedEventsOutput = {
117
132
  __typename?: 'AddUnconfirmedEventsOutput';
@@ -179,16 +194,22 @@ export type Balance = {
179
194
  address: Scalars['String']['output'];
180
195
  /** The balance held by the wallet. */
181
196
  balance: Scalars['String']['output'];
197
+ /** The balance held by the wallet in USD. */
198
+ balanceUsd?: Maybe<Scalars['String']['output']>;
182
199
  /** The time that this address first held a token. */
183
200
  firstHeldTimestamp?: Maybe<Scalars['Int']['output']>;
184
201
  /** The wallet network. */
185
202
  networkId: Scalars['Int']['output'];
186
203
  /** The balance held by the wallet, adjusted by the number of decimals in the token. */
187
204
  shiftedBalance: Scalars['Float']['output'];
205
+ /** Metadata for the token. */
206
+ token?: Maybe<EnhancedToken>;
188
207
  /** The contract address of the token. */
189
208
  tokenAddress: Scalars['String']['output'];
190
209
  /** The ID of the token (`tokenAddress:networkId`). */
191
210
  tokenId: Scalars['String']['output'];
211
+ /** The token price in USD. */
212
+ tokenPriceUsd?: Maybe<Scalars['String']['output']>;
192
213
  /** The ID of the wallet (`walletAddress:networkId`). */
193
214
  walletId: Scalars['String']['output'];
194
215
  };
@@ -206,6 +227,8 @@ export type BalancesInput = {
206
227
  limit?: InputMaybe<Scalars['Int']['input']>;
207
228
  /** The network IDs to filter by. */
208
229
  networks?: InputMaybe<Array<Scalars['Int']['input']>>;
230
+ /** Whether to remove scam tokens from the response. */
231
+ removeScams?: InputMaybe<Scalars['Boolean']['input']>;
209
232
  /** 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. */
210
233
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
211
234
  /** The wallet address to filter by. */
@@ -453,6 +476,36 @@ export type CreateApiTokensInput = {
453
476
  /** Number of requests allowed per token, represented as a string, default is 5000 */
454
477
  requestLimit?: InputMaybe<Scalars['String']['input']>;
455
478
  };
479
+ /** Input for creating a market cap webhook. */
480
+ export type CreateMarketCapWebhookArgs = {
481
+ /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
482
+ alertRecurrence: AlertRecurrence;
483
+ /** 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). */
484
+ bucketId?: InputMaybe<Scalars['String']['input']>;
485
+ /** 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). */
486
+ bucketSortkey?: InputMaybe<Scalars['String']['input']>;
487
+ /** The url to which the webhook message should be sent. */
488
+ callbackUrl: Scalars['String']['input'];
489
+ /** The conditions which must be met in order for the webhook to send a message. */
490
+ conditions: MarketCapEventWebhookConditionInput;
491
+ /** 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. */
492
+ deduplicate?: InputMaybe<Scalars['Boolean']['input']>;
493
+ /** 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. */
494
+ groupId?: InputMaybe<Scalars['String']['input']>;
495
+ /** The name of the webhook (max 128 characters). */
496
+ name: Scalars['String']['input'];
497
+ /** The type of publishing for the webhook. If not set, it defaults to `SINGLE`. */
498
+ publishingType?: InputMaybe<PublishingType>;
499
+ /** The settings for retrying failed webhook messages. */
500
+ retrySettings?: InputMaybe<RetrySettingsInput>;
501
+ /** A string value to hash along with `deduplicationId` using SHA-256. Included in the webhook message for added security. */
502
+ securityToken: Scalars['String']['input'];
503
+ };
504
+ /** Input for creating market cap webhooks. */
505
+ export type CreateMarketCapWebhooksInput = {
506
+ /** A list of market cap webhooks to create. */
507
+ webhooks: Array<CreateMarketCapWebhookArgs>;
508
+ };
456
509
  /** Input for creating an NFT event webhook. */
457
510
  export type CreateNftEventWebhookArgs = {
458
511
  /** The recurrence of the webhook. Can be `INDEFINITE` or `ONCE`. */
@@ -575,6 +628,8 @@ export type CreateTokenPairEventWebhooksInput = {
575
628
  };
576
629
  /** Input for creating webhooks. */
577
630
  export type CreateWebhooksInput = {
631
+ /** Input for creating market cap webhooks. */
632
+ marketCapWebhooksInput?: InputMaybe<CreateMarketCapWebhooksInput>;
578
633
  /** Input for creating NFT event webhooks. */
579
634
  nftEventWebhooksInput?: InputMaybe<CreateNftEventWebhooksInput>;
580
635
  /** Input for creating price webhooks. */
@@ -587,6 +642,8 @@ export type CreateWebhooksInput = {
587
642
  /** Result returned by `createWebhooks`. */
588
643
  export type CreateWebhooksOutput = {
589
644
  __typename?: 'CreateWebhooksOutput';
645
+ /** The list of market cap event webhooks that were created. */
646
+ marketCapWebhooks: Array<Maybe<Webhook>>;
590
647
  /** The list of NFT event webhooks that were created. */
591
648
  nftEventWebhooks: Array<Maybe<Webhook>>;
592
649
  /** The list of price webhooks that were created. */
@@ -1031,6 +1088,8 @@ export type Event = {
1031
1088
  transactionIndex: Scalars['Int']['output'];
1032
1089
  /** The age of the wallet in seconds. */
1033
1090
  walletAge?: Maybe<Scalars['Int']['output']>;
1091
+ /** Labels attributed to the wallet. */
1092
+ walletLabels?: Maybe<Array<Scalars['String']['output']>>;
1034
1093
  };
1035
1094
  /** Response returned by `getTokenEvents`. */
1036
1095
  export type EventConnection = {
@@ -1350,8 +1409,13 @@ export type FilterTokenWalletsInput = {
1350
1409
  rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1351
1410
  /** The ID of the token to filter wallets for */
1352
1411
  tokenId?: InputMaybe<Scalars['String']['input']>;
1353
- /** The wallet address to filter wallets for */
1412
+ /**
1413
+ * The wallet address to filter wallets for
1414
+ * @deprecated Use wallets instead
1415
+ */
1354
1416
  walletAddress?: InputMaybe<Scalars['String']['input']>;
1417
+ /** A list of wallet addresses to filter wallets for */
1418
+ wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1355
1419
  };
1356
1420
  /** The input for filtering wallets. */
1357
1421
  export type FilterWalletsInput = {
@@ -1589,6 +1653,14 @@ export type HoldersUpdate = {
1589
1653
  /** The ID of the token (`tokenAddress:networkId`). */
1590
1654
  tokenId: Scalars['String']['output'];
1591
1655
  };
1656
+ export type IndexerStateInput = {
1657
+ /** The network ID to check the state of. */
1658
+ networkId: Scalars['Int']['input'];
1659
+ };
1660
+ export declare enum IndexerStatus {
1661
+ Behind = "Behind",
1662
+ Normal = "Normal"
1663
+ }
1592
1664
  /** Bar chart data. */
1593
1665
  export type IndividualBarData = {
1594
1666
  __typename?: 'IndividualBarData';
@@ -1854,9 +1926,11 @@ export declare enum LaunchpadTokenEventType {
1854
1926
  }
1855
1927
  /** The protocol of the token. */
1856
1928
  export declare enum LaunchpadTokenProtocol {
1929
+ ArenaTrade = "ArenaTrade",
1857
1930
  BoopFun = "BoopFun",
1858
1931
  EgoTech = "EgoTech",
1859
1932
  FourMeme = "FourMeme",
1933
+ Moonit = "Moonit",
1860
1934
  Pump = "Pump",
1861
1935
  Rainbow = "Rainbow",
1862
1936
  RaydiumLaunchpad = "RaydiumLaunchpad",
@@ -1902,6 +1976,18 @@ export type LiquidityLock = {
1902
1976
  /** The unix timestamp for when the lock expires. */
1903
1977
  unlockAt?: Maybe<Scalars['Int']['output']>;
1904
1978
  };
1979
+ /** A breakdown of how much and where liquidity is locked. */
1980
+ export type LiquidityLockBreakdownForToken = {
1981
+ __typename?: 'LiquidityLockBreakdownForToken';
1982
+ /** The amount of tokens locked in the protocol. */
1983
+ amountLockedTokens: Scalars['String']['output'];
1984
+ /** The amount of tokens locked in the protocol shifted by number of decimals the token has. */
1985
+ amountLockedTokensShifted: Scalars['String']['output'];
1986
+ /** The amount of liquidity locked in USD. */
1987
+ amountLockedUsd: Scalars['String']['output'];
1988
+ /** The protocol with which the liquidity is locked. */
1989
+ lockProtocol: LiquidityLockProtocol;
1990
+ };
1905
1991
  export type LiquidityLockConnection = {
1906
1992
  __typename?: 'LiquidityLockConnection';
1907
1993
  /** A cursor for use in pagination. */
@@ -1925,6 +2011,30 @@ export type LiquidityMetadata = {
1925
2011
  /** Data about locked liquidity. */
1926
2012
  lockedLiquidity: LockedLiquidityData;
1927
2013
  };
2014
+ /** Metadata about a token's liquidity. Includes locked liquidity data for up to 100 pairs that the token is in. */
2015
+ export type LiquidityMetadataByToken = {
2016
+ __typename?: 'LiquidityMetadataByToken';
2017
+ /** A breakdown of how much and where liquidity is locked. */
2018
+ lockBreakdown: Array<Maybe<LiquidityLockBreakdownForToken>>;
2019
+ /** The percentage of liquidity that is locked. */
2020
+ lockedLiquidityPercentage: Scalars['Float']['output'];
2021
+ /** The locked liquidity in USD. */
2022
+ lockedLiquidityUsd: Scalars['String']['output'];
2023
+ /** The locked amount of tokens in pairs. */
2024
+ lockedTokenLiquidity: Scalars['String']['output'];
2025
+ /** The locked amount of tokens in pairs shifted by number of decimals the token has. */
2026
+ lockedTokenLiquidityShifted: Scalars['String']['output'];
2027
+ /** The network ID the token is deployed on. */
2028
+ networkId: Scalars['Int']['output'];
2029
+ /** The address of the token. */
2030
+ tokenAddress: Scalars['String']['output'];
2031
+ /** The total liquidity in USD. */
2032
+ totalLiquidityUsd: Scalars['String']['output'];
2033
+ /** The total amount of tokens in pairs. */
2034
+ totalTokenLiquidity: Scalars['String']['output'];
2035
+ /** The total amount of tokens in pairs shifted by number of decimals the token has. */
2036
+ totalTokenLiquidityShifted: Scalars['String']['output'];
2037
+ };
1928
2038
  /** Liquidity NFT position data */
1929
2039
  export type LiquidityNftData = {
1930
2040
  __typename?: 'LiquidityNftData';
@@ -2012,6 +2122,33 @@ export type MakerEventsQueryInput = {
2012
2122
  /** The token involved in the event. */
2013
2123
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
2014
2124
  };
2125
+ /** Webhook conditions for a market cap event. */
2126
+ export type MarketCapEventWebhookCondition = {
2127
+ __typename?: 'MarketCapEventWebhookCondition';
2128
+ /** The circulating market cap condition that must be met in order for the webhook to send. */
2129
+ circulatingMarketCapUsd?: Maybe<ComparisonOperator>;
2130
+ /** The market cap condition that must be met in order for the webhook to send. */
2131
+ fdvMarketCapUsd?: Maybe<ComparisonOperator>;
2132
+ /** The network ID the webhook is listening on. */
2133
+ networkId: IntEqualsCondition;
2134
+ /** The pair contract address the webhook is listening for. */
2135
+ pairAddress?: Maybe<StringEqualsCondition>;
2136
+ /** The token contract address the webhook is listening for. */
2137
+ tokenAddress: StringEqualsCondition;
2138
+ };
2139
+ /** Input conditions for a market cap event webhook. */
2140
+ export type MarketCapEventWebhookConditionInput = {
2141
+ /** The circulating market cap conditions to listen for. */
2142
+ circulatingMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2143
+ /** The price conditions to listen for. */
2144
+ fdvMarketCapUsd?: InputMaybe<ComparisonOperatorInput>;
2145
+ /** The network ID to listen on. */
2146
+ networkId: IntEqualsConditionInput;
2147
+ /** The contract address of the pair to listen for. */
2148
+ pairAddress?: InputMaybe<StringEqualsConditionInput>;
2149
+ /** The contract address of the token to listen for. */
2150
+ tokenAddress: StringEqualsConditionInput;
2151
+ };
2015
2152
  /** The status for a network supported on Defined. */
2016
2153
  export type MetadataResponse = {
2017
2154
  __typename?: 'MetadataResponse';
@@ -4743,6 +4880,11 @@ export type OnBarsUpdatedResponse = {
4743
4880
  /** The unix timestamp for the new bar. */
4744
4881
  timestamp: Scalars['Int']['output'];
4745
4882
  };
4883
+ /** Input for `onEventsCreatedByMaker`. */
4884
+ export type OnEventsCreatedByMakerInput = {
4885
+ /** The wallet address of the maker. */
4886
+ makerAddress: Scalars['String']['input'];
4887
+ };
4746
4888
  /** Input for `onLaunchpadTokenEvent`. */
4747
4889
  export type OnLaunchpadTokenEventInput = {
4748
4890
  /** The contract address of the token. Required when `networkId` is provided. */
@@ -4787,7 +4929,9 @@ export type OnTokenBarsUpdatedResponse = {
4787
4929
  tokenId: Scalars['String']['output'];
4788
4930
  };
4789
4931
  export type OnTokenEventsCreatedInput = {
4932
+ /** The network ID to filter by. */
4790
4933
  networkId: Scalars['Int']['input'];
4934
+ /** The token address to filter by. */
4791
4935
  tokenAddress?: InputMaybe<Scalars['String']['input']>;
4792
4936
  };
4793
4937
  /** Response returned by `onUnconfirmedBarsUpdated`. */
@@ -4813,6 +4957,11 @@ export type OnUnconfirmedBarsUpdated = {
4813
4957
  /** The unix timestamp for the new bar. */
4814
4958
  timestamp: Scalars['Int']['output'];
4815
4959
  };
4960
+ /** Input for `onUnconfirmedEventsCreatedByMaker`. */
4961
+ export type OnUnconfirmedEventsCreatedByMakerInput = {
4962
+ /** The wallet address of the maker. */
4963
+ makerAddress: Scalars['String']['input'];
4964
+ };
4816
4965
  /** Integer list condition. */
4817
4966
  export type OneOfNumberCondition = {
4818
4967
  __typename?: 'OneOfNumberCondition';
@@ -6266,11 +6415,16 @@ export type Query = {
6266
6415
  liquidityLocks?: Maybe<LiquidityLockConnection>;
6267
6416
  /** Returns liquidity metadata for a given pair. Includes liquidity lock data. */
6268
6417
  liquidityMetadata?: Maybe<LiquidityMetadata>;
6418
+ /** Returns liquidity metadata for a given token. Includes liquidity lock data for up to 100 pairs that the token is in. */
6419
+ liquidityMetadataByToken: LiquidityMetadataByToken;
6269
6420
  /** Returns a list of pairs containing a given token. */
6270
6421
  listPairsForToken: Array<Maybe<Pair>>;
6271
6422
  /** Returns a list of pair metadata for a token. */
6272
6423
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6273
- /** Returns a list of trending tokens across any given network(s). */
6424
+ /**
6425
+ * Returns a list of trending tokens across any given network(s).
6426
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6427
+ */
6274
6428
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6275
6429
  /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection */
6276
6430
  nftHolders: NftHoldersResponse;
@@ -6295,7 +6449,7 @@ export type Query = {
6295
6449
  tokenTopTraders: TokenTopTradersConnection;
6296
6450
  /** Returns a list of tokens by their addresses & network id, with pagination. */
6297
6451
  tokens: Array<Maybe<EnhancedToken>>;
6298
- /** Returns the percentage of a token’s total supply held collectively by its top 10 holders. */
6452
+ /** Returns the percentage of a token's total supply held collectively by its top 10 holders. */
6299
6453
  top10HoldersPercent?: Maybe<Scalars['Float']['output']>;
6300
6454
  /** Returns a chart of a wallet's activity. */
6301
6455
  walletChart?: Maybe<WalletChartResponse>;
@@ -6597,12 +6751,17 @@ export type QueryHoldersArgs = {
6597
6751
  export type QueryLiquidityLocksArgs = {
6598
6752
  cursor?: InputMaybe<Scalars['String']['input']>;
6599
6753
  networkId: Scalars['Int']['input'];
6600
- pairAddress: Scalars['String']['input'];
6754
+ pairAddress?: InputMaybe<Scalars['String']['input']>;
6755
+ tokenAddress?: InputMaybe<Scalars['String']['input']>;
6601
6756
  };
6602
6757
  export type QueryLiquidityMetadataArgs = {
6603
6758
  networkId: Scalars['Int']['input'];
6604
6759
  pairAddress: Scalars['String']['input'];
6605
6760
  };
6761
+ export type QueryLiquidityMetadataByTokenArgs = {
6762
+ networkId: Scalars['Int']['input'];
6763
+ tokenAddress: Scalars['String']['input'];
6764
+ };
6606
6765
  export type QueryListPairsForTokenArgs = {
6607
6766
  limit?: InputMaybe<Scalars['Int']['input']>;
6608
6767
  networkId: Scalars['Int']['input'];
@@ -7180,6 +7339,8 @@ export type Subscription = {
7180
7339
  onEventLabelCreated?: Maybe<EventLabel>;
7181
7340
  /** Live-streamed transactions for a token. */
7182
7341
  onEventsCreated?: Maybe<AddEventsOutput>;
7342
+ /** Live-streamed transactions for a maker. */
7343
+ onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
7183
7344
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
7184
7345
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7185
7346
  /** Live-streamed updates for newly listed pairs. */
@@ -7210,6 +7371,8 @@ export type Subscription = {
7210
7371
  onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
7211
7372
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
7212
7373
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
7374
+ /** Live-streamed unconfirmed transactions for a maker. (Solana only) */
7375
+ onUnconfirmedEventsCreatedByMaker?: Maybe<AddUnconfirmedEventsByMakerOutput>;
7213
7376
  };
7214
7377
  export type SubscriptionOnBalanceUpdatedArgs = {
7215
7378
  walletAddress: Scalars['String']['input'];
@@ -7230,9 +7393,13 @@ export type SubscriptionOnEventLabelCreatedArgs = {
7230
7393
  export type SubscriptionOnEventsCreatedArgs = {
7231
7394
  address?: InputMaybe<Scalars['String']['input']>;
7232
7395
  id?: InputMaybe<Scalars['String']['input']>;
7396
+ maker?: InputMaybe<Scalars['String']['input']>;
7233
7397
  networkId?: InputMaybe<Scalars['Int']['input']>;
7234
7398
  quoteToken?: InputMaybe<QuoteToken>;
7235
7399
  };
7400
+ export type SubscriptionOnEventsCreatedByMakerArgs = {
7401
+ input: OnEventsCreatedByMakerInput;
7402
+ };
7236
7403
  export type SubscriptionOnHoldersUpdatedArgs = {
7237
7404
  tokenId: Scalars['String']['input'];
7238
7405
  };
@@ -7302,6 +7469,9 @@ export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
7302
7469
  id?: InputMaybe<Scalars['String']['input']>;
7303
7470
  quoteToken?: InputMaybe<QuoteToken>;
7304
7471
  };
7472
+ export type SubscriptionOnUnconfirmedEventsCreatedByMakerArgs = {
7473
+ input: OnUnconfirmedEventsCreatedByMakerInput;
7474
+ };
7305
7475
  export type SuiNetworkConfig = {
7306
7476
  __typename?: 'SuiNetworkConfig';
7307
7477
  baseTokenAddress: Scalars['String']['output'];
@@ -9340,7 +9510,7 @@ export type Webhook = {
9340
9510
  webhookType: WebhookType;
9341
9511
  };
9342
9512
  /** Webhook conditions that must be met for each webhook type. */
9343
- export type WebhookCondition = NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9513
+ export type WebhookCondition = MarketCapEventWebhookCondition | NftEventWebhookCondition | PriceEventWebhookCondition | RawTransactionWebhookCondition | TokenPairEventWebhookCondition;
9344
9514
  /** NFT marketplace names. */
9345
9515
  export declare enum WebhookNftEventFillSource {
9346
9516
  Blur = "BLUR",
@@ -9367,6 +9537,7 @@ export declare enum WebhookNftEventType {
9367
9537
  }
9368
9538
  /** The type of webhook. */
9369
9539
  export declare enum WebhookType {
9540
+ MarketCapEvent = "MARKET_CAP_EVENT",
9370
9541
  NftEvent = "NFT_EVENT",
9371
9542
  PriceEvent = "PRICE_EVENT",
9372
9543
  RawTransaction = "RAW_TRANSACTION",
@@ -9377,7 +9548,7 @@ export type WindowedDetailedCurrencyPairStats = {
9377
9548
  __typename?: 'WindowedDetailedCurrencyPairStats';
9378
9549
  /** The buy volume over the time frame. */
9379
9550
  buyVolume?: Maybe<DetailedPairStatsStringMetrics>;
9380
- /** The closing price for the time frame. */
9551
+ /** The closing price forr the time frame. */
9381
9552
  close?: Maybe<DetailedPairStatsStringMetrics>;
9382
9553
  /** The highest price in USD in the time frame. */
9383
9554
  highest?: Maybe<DetailedPairStatsStringMetrics>;