@codex-data/sdk 1.0.36 → 1.0.38

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 (148) hide show
  1. package/dist/resources/graphql.d.ts +69 -14
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +5 -2
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Subscribe.js +5 -5
  6. package/dist/sdk/generated/gql.d.ts +24 -24
  7. package/dist/sdk/generated/gql.d.ts.map +1 -1
  8. package/dist/sdk/generated/gql.js +12 -12
  9. package/dist/sdk/generated/gql.js.map +1 -1
  10. package/dist/sdk/generated/graphql.d.ts +95 -14
  11. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  12. package/dist/sdk/generated/graphql.js +17 -14
  13. package/dist/sdk/generated/graphql.js.map +1 -1
  14. package/package.json +2 -3
  15. package/dist/scripts/buildSdk.d.ts +0 -2
  16. package/dist/scripts/buildSdk.d.ts.map +0 -1
  17. package/dist/scripts/buildSdk.js +0 -135
  18. package/dist/scripts/buildSdk.js.map +0 -1
  19. package/dist/scripts/generateGraphql.d.ts +0 -31
  20. package/dist/scripts/generateGraphql.d.ts.map +0 -1
  21. package/dist/scripts/generateGraphql.js +0 -224
  22. package/dist/scripts/generateGraphql.js.map +0 -1
  23. package/dist/scripts/generateNetworkConfigs.d.ts +0 -2
  24. package/dist/scripts/generateNetworkConfigs.d.ts.map +0 -1
  25. package/dist/scripts/generateNetworkConfigs.js +0 -243
  26. package/dist/scripts/generateNetworkConfigs.js.map +0 -1
  27. package/src/index.ts +0 -2
  28. package/src/resources/.keep +0 -0
  29. package/src/resources/generated_mutations/BackfillWalletAggregates.graphql +0 -6
  30. package/src/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  31. package/src/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  32. package/src/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  33. package/src/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  34. package/src/resources/generated_queries/ApiToken.graphql +0 -9
  35. package/src/resources/generated_queries/ApiTokens.graphql +0 -9
  36. package/src/resources/generated_queries/Balances.graphql +0 -97
  37. package/src/resources/generated_queries/Blocks.graphql +0 -7
  38. package/src/resources/generated_queries/ChartUrls.graphql +0 -7
  39. package/src/resources/generated_queries/DetailedWalletStats.graphql +0 -197
  40. package/src/resources/generated_queries/FilterExchanges.graphql +0 -43
  41. package/src/resources/generated_queries/FilterNftCollections.graphql +0 -569
  42. package/src/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  43. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  44. package/src/resources/generated_queries/FilterNftPools.graphql +0 -124
  45. package/src/resources/generated_queries/FilterPairs.graphql +0 -447
  46. package/src/resources/generated_queries/FilterTokenWallets.graphql +0 -144
  47. package/src/resources/generated_queries/FilterTokens.graphql +0 -570
  48. package/src/resources/generated_queries/FilterWallets.graphql +0 -57
  49. package/src/resources/generated_queries/GetBars.graphql +0 -232
  50. package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -140
  51. package/src/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  52. package/src/resources/generated_queries/GetDetailedPairStats.graphql +0 -990
  53. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +0 -974
  54. package/src/resources/generated_queries/GetEventLabels.graphql +0 -35
  55. package/src/resources/generated_queries/GetExchanges.graphql +0 -12
  56. package/src/resources/generated_queries/GetNetworkConfigs.graphql +0 -129
  57. package/src/resources/generated_queries/GetNetworkStats.graphql +0 -20
  58. package/src/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  59. package/src/resources/generated_queries/GetNetworks.graphql +0 -7
  60. package/src/resources/generated_queries/GetNftAssets.graphql +0 -59
  61. package/src/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  62. package/src/resources/generated_queries/GetNftContracts.graphql +0 -39
  63. package/src/resources/generated_queries/GetNftEvents.graphql +0 -100
  64. package/src/resources/generated_queries/GetNftPool.graphql +0 -74
  65. package/src/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  66. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  67. package/src/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  68. package/src/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  69. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  70. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  71. package/src/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  72. package/src/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  73. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  74. package/src/resources/generated_queries/GetPrimePools.graphql +0 -62
  75. package/src/resources/generated_queries/GetSymbol.graphql +0 -11
  76. package/src/resources/generated_queries/GetTokenBars.graphql +0 -121
  77. package/src/resources/generated_queries/GetTokenEvents.graphql +0 -102
  78. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -102
  79. package/src/resources/generated_queries/GetTokenPrices.graphql +0 -8
  80. package/src/resources/generated_queries/GetWebhooks.graphql +0 -134
  81. package/src/resources/generated_queries/Holders.graphql +0 -100
  82. package/src/resources/generated_queries/LiquidityLocks.graphql +0 -32
  83. package/src/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  84. package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +0 -19
  85. package/src/resources/generated_queries/ListPairsForToken.graphql +0 -193
  86. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -374
  87. package/src/resources/generated_queries/NftHolders.graphql +0 -12
  88. package/src/resources/generated_queries/PairMetadata.graphql +0 -234
  89. package/src/resources/generated_queries/PrimeHolders.graphql +0 -98
  90. package/src/resources/generated_queries/SearchNfts.graphql +0 -35
  91. package/src/resources/generated_queries/Token.graphql +0 -82
  92. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  93. package/src/resources/generated_queries/TokenSparklines.graphql +0 -11
  94. package/src/resources/generated_queries/TokenTopTraders.graphql +0 -26
  95. package/src/resources/generated_queries/Tokens.graphql +0 -82
  96. package/src/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  97. package/src/resources/generated_queries/WalletAggregateBackfillState.graphql +0 -6
  98. package/src/resources/generated_queries/WalletChart.graphql +0 -20
  99. package/src/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  100. package/src/resources/generated_queries/WalletNftCollections.graphql +0 -10
  101. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -94
  102. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -547
  103. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -325
  104. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  105. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -105
  106. package/src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql +0 -92
  107. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -100
  108. package/src/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  109. package/src/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  110. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -97
  111. package/src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -96
  112. package/src/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  113. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  114. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  115. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -226
  116. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -16
  117. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -8
  118. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -545
  119. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -92
  120. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  121. package/src/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -115
  122. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
  123. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql +0 -41
  124. package/src/resources/graphql.schema.json +0 -63375
  125. package/src/resources/graphql.ts +0 -10422
  126. package/src/resources/mutations_override/CreateWebhooks.graphql +0 -472
  127. package/src/resources/networkConfigs.json +0 -3726
  128. package/src/resources/queries_override/FilterTokenWallets.graphql +0 -144
  129. package/src/resources/queries_override/GetEventLabels.graphql +0 -35
  130. package/src/resources/queries_override/GetNetworkConfigs.graphql +0 -129
  131. package/src/resources/queries_override/GetWebhooks.graphql +0 -134
  132. package/src/resources/schema.graphql +0 -9916
  133. package/src/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
  134. package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -96
  135. package/src/scripts/buildSdk.ts +0 -173
  136. package/src/scripts/generateGraphql.ts +0 -305
  137. package/src/scripts/generateNetworkConfigs.ts +0 -241
  138. package/src/sdk/Mutation.ts +0 -29
  139. package/src/sdk/Query.ts +0 -285
  140. package/src/sdk/Subscribe.ts +0 -465
  141. package/src/sdk/generated/fragment-masking.ts +0 -87
  142. package/src/sdk/generated/gql.ts +0 -610
  143. package/src/sdk/generated/graphql.ts +0 -11361
  144. package/src/sdk/generated/index.ts +0 -2
  145. package/src/sdk/graphql/GetPairEvents.graphql +0 -71
  146. package/src/sdk/index.test.ts +0 -454
  147. package/src/sdk/index.ts +0 -239
  148. package/src/sdk/invariant.ts +0 -34
@@ -1564,6 +1564,8 @@ export type GetNftPoolsResponse = {
1564
1564
  export type GetPriceInput = {
1565
1565
  /** The contract address of the token. */
1566
1566
  address: Scalars['String']['input'];
1567
+ /** The block number for the price. It must be provided in addition to the timestamp to get a per block breakdown at a specific timestamp. */
1568
+ blockNumber?: InputMaybe<Scalars['Int']['input']>;
1567
1569
  /**
1568
1570
  * The maximum number of deviations from the token's Liquidity-Weighted Mean Price. This is used to mitigate low liquidity pairs producing prices that are not representative of reality. Default is `1`.
1569
1571
  * @deprecated This isn't taken into account anymore.
@@ -1878,12 +1880,22 @@ export type LaunchpadTokenEventOutput = {
1878
1880
  __typename?: 'LaunchpadTokenEventOutput';
1879
1881
  /** The contract address of the token. */
1880
1882
  address: Scalars['String']['output'];
1881
- /** The number of buys in the last 24 hours. */
1883
+ /** The number of bundlers that bought the token */
1884
+ bundlerCount?: Maybe<Scalars['Float']['output']>;
1885
+ /** The percentage of the token that is held by bundlers */
1886
+ bundlerHeldPercentage?: Maybe<Scalars['Float']['output']>;
1887
+ /** The number of buys in the last hour. */
1882
1888
  buyCount1?: Maybe<Scalars['Int']['output']>;
1889
+ /** The percentage of the token that is held by developers */
1890
+ devHeldPercentage?: Maybe<Scalars['Float']['output']>;
1883
1891
  /** The type of event. */
1884
1892
  eventType: LaunchpadTokenEventType;
1885
1893
  /** The number of holders. */
1886
1894
  holders?: Maybe<Scalars['Int']['output']>;
1895
+ /** The number of insiders that bought the token */
1896
+ insiderCount?: Maybe<Scalars['Float']['output']>;
1897
+ /** The percentage of the token that is held by insiders */
1898
+ insiderHeldPercentage?: Maybe<Scalars['Float']['output']>;
1887
1899
  /** The name of the launchpad. */
1888
1900
  launchpadName: Scalars['String']['output'];
1889
1901
  /** The liquidity of the token's top pair. */
@@ -1896,13 +1908,17 @@ export type LaunchpadTokenEventOutput = {
1896
1908
  price?: Maybe<Scalars['Float']['output']>;
1897
1909
  /** The protocol of the token. */
1898
1910
  protocol: Scalars['String']['output'];
1899
- /** The number of sells in the last 24 hours. */
1911
+ /** The number of sells in the last hour. */
1900
1912
  sellCount1?: Maybe<Scalars['Int']['output']>;
1913
+ /** The number of snipers that bought the token */
1914
+ sniperCount?: Maybe<Scalars['Float']['output']>;
1915
+ /** The percentage of the token that is held by snipers */
1916
+ sniperHeldPercentage?: Maybe<Scalars['Float']['output']>;
1901
1917
  /** Metadata for the token. */
1902
1918
  token: EnhancedToken;
1903
- /** The number of transactions in the last 24 hours. */
1919
+ /** The number of transactions in the last hour. */
1904
1920
  transactions1?: Maybe<Scalars['Int']['output']>;
1905
- /** The volume of the token in the last 24 hours. */
1921
+ /** The volume of the token in the last hour. */
1906
1922
  volume1?: Maybe<Scalars['Int']['output']>;
1907
1923
  };
1908
1924
  /** The type of event. Note that associated statistics such as `buyCount1`, `price`, etc. are only available for `Updated` events. */
@@ -1944,6 +1960,8 @@ export declare enum LaunchpadTokenProtocol {
1944
1960
  MeteoraDbc = "MeteoraDBC",
1945
1961
  /** Protocol name for Moonit (formerly Moonshot). */
1946
1962
  Moonit = "Moonit",
1963
+ /** Protocol name for Printr (EVM only - Printr tokens on Solana should be queried with launchpadName as Printr uses MeteoraDBC on Solana). */
1964
+ Printr = "Printr",
1947
1965
  /** Protocol name for Pump.fun. */
1948
1966
  Pump = "Pump",
1949
1967
  /** Protocol name for Rainbow. */
@@ -4945,9 +4963,9 @@ export type OnEventsCreatedByMakerInput = {
4945
4963
  export type OnLaunchpadTokenEventBatchInput = {
4946
4964
  /** The type of event. */
4947
4965
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4948
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4966
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4949
4967
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4950
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4968
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4951
4969
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4952
4970
  /** The network ID that the token is deployed on. */
4953
4971
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -4962,9 +4980,9 @@ export type OnLaunchpadTokenEventInput = {
4962
4980
  address?: InputMaybe<Scalars['String']['input']>;
4963
4981
  /** The type of event. */
4964
4982
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4965
- /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4983
+ /** The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4966
4984
  launchpadName?: InputMaybe<Scalars['String']['input']>;
4967
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
4985
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
4968
4986
  launchpadNames?: InputMaybe<Array<Scalars['String']['input']>>;
4969
4987
  /** The network ID that the token is deployed on. */
4970
4988
  networkId?: InputMaybe<Scalars['Int']['input']>;
@@ -5897,6 +5915,8 @@ export type Price = {
5897
5915
  __typename?: 'Price';
5898
5916
  /** The contract address of the token. */
5899
5917
  address: Scalars['String']['output'];
5918
+ /** The pool that emitted the swap generating this price */
5919
+ blockNumber?: Maybe<Scalars['Int']['output']>;
5900
5920
  /**
5901
5921
  * Ratio of how confident we are in the price
5902
5922
  * @deprecated Pricing no longer based on specific pools
@@ -6479,6 +6499,7 @@ export type Query = {
6479
6499
  * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6480
6500
  */
6481
6501
  getLatestTokens?: Maybe<LatestTokenConnection>;
6502
+ /** Returns a list of network configurations. */
6482
6503
  getNetworkConfigs: Array<NetworkConfig>;
6483
6504
  /** Returns metadata for a given network supported on Codex. */
6484
6505
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -7333,6 +7354,7 @@ export type SubscriptionOnNftPoolEventsCreatedArgs = {
7333
7354
  export type SubscriptionOnPairMetadataUpdatedArgs = {
7334
7355
  id?: InputMaybe<Scalars['String']['input']>;
7335
7356
  quoteToken?: InputMaybe<QuoteToken>;
7357
+ useNonLiquidityTokenAsQuoteToken?: InputMaybe<Scalars['Boolean']['input']>;
7336
7358
  };
7337
7359
  export type SubscriptionOnPriceUpdatedArgs = {
7338
7360
  address?: InputMaybe<Scalars['String']['input']>;
@@ -7631,6 +7653,10 @@ export type TokenFilterResult = {
7631
7653
  __typename?: 'TokenFilterResult';
7632
7654
  /** @deprecated Age isn't supported - use createdAt instead */
7633
7655
  age?: Maybe<Scalars['Int']['output']>;
7656
+ /** The number of wallets that have bundled the token */
7657
+ bundlerCount?: Maybe<Scalars['Int']['output']>;
7658
+ /** The percentage of tokens held by bundlers */
7659
+ bundlerHeldPercentage?: Maybe<Scalars['Float']['output']>;
7634
7660
  /** The number of buys in the past hour. */
7635
7661
  buyCount1?: Maybe<Scalars['Int']['output']>;
7636
7662
  /** The number of buys in the past 4 hours. */
@@ -7665,6 +7691,8 @@ export type TokenFilterResult = {
7665
7691
  circulatingMarketCap?: Maybe<Scalars['String']['output']>;
7666
7692
  /** The unix timestamp for the creation of the token's first pair. */
7667
7693
  createdAt?: Maybe<Scalars['Int']['output']>;
7694
+ /** The percentage of tokens held by the dev */
7695
+ devHeldPercentage?: Maybe<Scalars['Float']['output']>;
7668
7696
  /** The exchanges the token is listed on. */
7669
7697
  exchanges?: Maybe<Array<Maybe<Exchange>>>;
7670
7698
  /** @deprecated FDV isn't supported - use marketCap instead */
@@ -7681,6 +7709,10 @@ export type TokenFilterResult = {
7681
7709
  high24?: Maybe<Scalars['String']['output']>;
7682
7710
  /** The number of different wallets holding the token. */
7683
7711
  holders?: Maybe<Scalars['Int']['output']>;
7712
+ /** The number of wallets that have been an insider of the token */
7713
+ insiderCount?: Maybe<Scalars['Int']['output']>;
7714
+ /** The percentage of tokens held by insiders */
7715
+ insiderHeldPercentage?: Maybe<Scalars['Float']['output']>;
7684
7716
  /** Whether the token has been flagged as a scam. */
7685
7717
  isScam?: Maybe<Scalars['Boolean']['output']>;
7686
7718
  /** The unix timestamp for the token's last transaction. */
@@ -7731,6 +7763,10 @@ export type TokenFilterResult = {
7731
7763
  sellVolume12?: Maybe<Scalars['String']['output']>;
7732
7764
  /** The sell volume in USD in the past 24 hours. */
7733
7765
  sellVolume24?: Maybe<Scalars['String']['output']>;
7766
+ /** The number of wallets that have sniped the token */
7767
+ sniperCount?: Maybe<Scalars['Int']['output']>;
7768
+ /** The percentage of tokens held by snipers */
7769
+ sniperHeldPercentage?: Maybe<Scalars['Float']['output']>;
7734
7770
  /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
7735
7771
  swapPct1dOldWallet?: Maybe<Scalars['String']['output']>;
7736
7772
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
@@ -7806,6 +7842,10 @@ export type TokenFilterResult = {
7806
7842
  export type TokenFilters = {
7807
7843
  /** @deprecated Age isn't supported - use createdAt instead */
7808
7844
  age?: InputMaybe<NumberFilter>;
7845
+ /** Filter by number of wallets that have bundled the token */
7846
+ bundlerCount?: InputMaybe<NumberFilter>;
7847
+ /** Filter by percentage of tokens held by bundlers */
7848
+ bundlerHeldPercentage?: InputMaybe<NumberFilter>;
7809
7849
  /** The number of buys in the past hour. */
7810
7850
  buyCount1?: InputMaybe<NumberFilter>;
7811
7851
  /** The number of buys in the past 4 hours. */
@@ -7842,6 +7882,8 @@ export type TokenFilters = {
7842
7882
  createdAt?: InputMaybe<NumberFilter>;
7843
7883
  /** The address of the creator of the token. */
7844
7884
  creatorAddress?: InputMaybe<Scalars['String']['input']>;
7885
+ /** Filter by percentage of tokens held by the dev */
7886
+ devHeldPercentage?: InputMaybe<NumberFilter>;
7845
7887
  /** The list of exchange contract addresses to filter by. */
7846
7888
  exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7847
7889
  /** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
@@ -7864,6 +7906,10 @@ export type TokenFilters = {
7864
7906
  holders?: InputMaybe<NumberFilter>;
7865
7907
  /** Whether to include tokens that have been flagged as scams. Default: false */
7866
7908
  includeScams?: InputMaybe<Scalars['Boolean']['input']>;
7909
+ /** Filter by number of wallets that have been an insider of the token */
7910
+ insiderCount?: InputMaybe<NumberFilter>;
7911
+ /** Filter by percentage of tokens held by insiders */
7912
+ insiderHeldPercentage?: InputMaybe<NumberFilter>;
7867
7913
  /** Whether to filter for tokens on testnet networks. Use `true` for testnet tokens only, `false` for mainnet tokens only and `undefined` (default) for both. */
7868
7914
  isTestnet?: InputMaybe<Scalars['Boolean']['input']>;
7869
7915
  /** Only include verified tokens */
@@ -7880,7 +7926,7 @@ export type TokenFilters = {
7880
7926
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7881
7927
  /** The timestamp when the launchpad was migrated */
7882
7928
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7883
- /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults. */
7929
+ /** A list of launchpad names. Any of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Four.meme Fair, Believe, Moonshot, Jupiter Studio, boop, Heaven, TokenMill V2, Virtuals, Clanker, Clanker V4, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults, OpenGameProtocol, Printr. */
7884
7930
  launchpadName?: InputMaybe<Array<Scalars['String']['input']>>;
7885
7931
  /** A list of launchpad protocols. */
7886
7932
  launchpadProtocol?: InputMaybe<Array<Scalars['String']['input']>>;
@@ -7926,10 +7972,16 @@ export type TokenFilters = {
7926
7972
  sellVolume12?: InputMaybe<NumberFilter>;
7927
7973
  /** The sell volume in USD in the past 24 hours. */
7928
7974
  sellVolume24?: InputMaybe<NumberFilter>;
7975
+ /** Filter by number of wallets that have sniped the token */
7976
+ sniperCount?: InputMaybe<NumberFilter>;
7977
+ /** Filter by percentage of tokens held by snipers */
7978
+ sniperHeldPercentage?: InputMaybe<NumberFilter>;
7929
7979
  /** The percentage of wallets that are less than 1d old that have traded in the last 24h */
7930
7980
  swapPct1dOldWallet?: InputMaybe<NumberFilter>;
7931
7981
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
7932
7982
  swapPct7dOldWallet?: InputMaybe<NumberFilter>;
7983
+ /** The unix timestamp for the creation of the token. */
7984
+ tokenCreatedAt?: InputMaybe<NumberFilter>;
7933
7985
  /** Whether to ignore pairs/tokens not relevant to trending. This is done checking against a few factors and ignoring uninteresting tokens like stables / network tokens. If you want all tokens regardless of these checks, then don't include this field. (default) If you want only tokens that fail the trending ignore checks, then set it to `true`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `false`. */
7934
7986
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
7935
7987
  /** The number of transactions in the past hour. */
@@ -8224,6 +8276,7 @@ export declare enum TokenRankingAttribute {
8224
8276
  SellVolume24 = "sellVolume24",
8225
8277
  SwapPct1dOldWallet = "swapPct1dOldWallet",
8226
8278
  SwapPct7dOldWallet = "swapPct7dOldWallet",
8279
+ TokenCreatedAt = "tokenCreatedAt",
8227
8280
  TrendingScore = "trendingScore",
8228
8281
  TrendingScore1 = "trendingScore1",
8229
8282
  TrendingScore4 = "trendingScore4",
@@ -8410,7 +8463,7 @@ export type TokenWalletFilterResult = {
8410
8463
  lastTransactionAt: Scalars['Int']['output'];
8411
8464
  /** The network ID */
8412
8465
  networkId: Scalars['Int']['output'];
8413
- /** The purchased token balance */
8466
+ /** The total balance of tokens that the user has bought or sold. This value does not include tokens acquired through external transfers or unsupported methods. */
8414
8467
  purchasedTokenBalance: Scalars['String']['output'];
8415
8468
  /** Realized profit percentage in the past day */
8416
8469
  realizedProfitPercentage1d: Scalars['Float']['output'];
@@ -8476,9 +8529,9 @@ export type TokenWalletFilterResult = {
8476
8529
  tokenAmountSoldAll1y: Scalars['String']['output'];
8477
8530
  /** Token amount sold all in the past 30 days */
8478
8531
  tokenAmountSoldAll30d: Scalars['String']['output'];
8479
- /** The token balance in the wallet. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
8532
+ /** The total balance of tokens held by the user, reflecting the most recent update to the record. This balance includes all tokens, even those transferred in through unsupported methods or DEXs that are not tracked by our system. This value does not update with every transfer and can be slightly stale. Use tokenBalanceLive for live data. */
8480
8533
  tokenBalance: Scalars['String']['output'];
8481
- /** The current token balance in the wallet. */
8534
+ /** The current token balance in the wallet. This value is updated with every transfer and is therefore more accurate than tokenBalance. */
8482
8535
  tokenBalanceLive?: Maybe<Scalars['String']['output']>;
8483
8536
  /** The current USD value of the token balance. */
8484
8537
  tokenBalanceLiveUsd?: Maybe<Scalars['String']['output']>;
@@ -8683,6 +8736,8 @@ export type UnconfirmedSwapEventData = {
8683
8736
  };
8684
8737
  export type UniswapV4Data = {
8685
8738
  __typename?: 'UniswapV4Data';
8739
+ /** Whether the pool uses a dynamic fee. A fee of 0x80000 is used by Uniswap V4 to indicate a dynamic pool -- in such cases, the fee percentage on the pair should be disregarded. */
8740
+ isDynamicFee?: Maybe<Scalars['Boolean']['output']>;
8686
8741
  /** Whether the token is the network token for the Uniswap V4 pool. */
8687
8742
  isToken0NetworkToken?: Maybe<Scalars['Boolean']['output']>;
8688
8743
  type: Scalars['String']['output'];
@@ -9457,7 +9512,7 @@ export declare enum WalletTokenRankingAttribute {
9457
9512
  FirstTransactionAt = "firstTransactionAt",
9458
9513
  /** The last transaction timestamp */
9459
9514
  LastTransactionAt = "lastTransactionAt",
9460
- /** Purchased token balance */
9515
+ /** The total balance of tokens that the user has bought or sold. This value does not include tokens acquired through external transfers or unsupported methods. */
9461
9516
  PurchasedTokenBalance = "purchasedTokenBalance",
9462
9517
  /** Realized profit percentage in the past day */
9463
9518
  RealizedProfitPercentage1d = "realizedProfitPercentage1d",
@@ -9503,7 +9558,7 @@ export declare enum WalletTokenRankingAttribute {
9503
9558
  TokenAmountSold1y = "tokenAmountSold1y",
9504
9559
  /** Token amount sold in the past 30 days */
9505
9560
  TokenAmountSold30d = "tokenAmountSold30d",
9506
- /** Token balance */
9561
+ /** The total balance of tokens held by the user, reflecting the most recent update to the record. This balance includes all tokens, even those transferred in through unsupported methods or DEXs that are not tracked by our system. */
9507
9562
  TokenBalance = "tokenBalance"
9508
9563
  }
9509
9564
  /** Metadata for a washtrade label. */