@codex-data/sdk 1.0.12 → 1.0.13

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 (63) hide show
  1. package/dist/resources/graphql.d.ts +211 -48
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +1 -0
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Query.d.ts +1 -7
  6. package/dist/sdk/Query.d.ts.map +1 -1
  7. package/dist/sdk/Query.js +0 -6
  8. package/dist/sdk/Query.js.map +1 -1
  9. package/dist/sdk/Subscribe.js +6 -6
  10. package/dist/sdk/generated/gql.d.ts +64 -123
  11. package/dist/sdk/generated/gql.d.ts.map +1 -1
  12. package/dist/sdk/generated/gql.js +32 -38
  13. package/dist/sdk/generated/gql.js.map +1 -1
  14. package/dist/sdk/generated/graphql.d.ts +216 -1364
  15. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  16. package/dist/sdk/generated/graphql.js +36 -41
  17. package/dist/sdk/generated/graphql.js.map +1 -1
  18. package/package.json +1 -1
  19. package/src/resources/generated_queries/Balances.graphql +0 -15
  20. package/src/resources/generated_queries/DetailedWalletStats.graphql +0 -4
  21. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +0 -8
  22. package/src/resources/generated_queries/FilterNftPools.graphql +0 -7
  23. package/src/resources/generated_queries/FilterPairs.graphql +0 -60
  24. package/src/resources/generated_queries/FilterTokenWallets.graphql +0 -15
  25. package/src/resources/generated_queries/FilterTokens.graphql +0 -47
  26. package/src/resources/generated_queries/GetBars.graphql +0 -31
  27. package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -15
  28. package/src/resources/generated_queries/GetDetailedPairStats.graphql +0 -30
  29. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +0 -30
  30. package/src/resources/generated_queries/GetNftEvents.graphql +0 -9
  31. package/src/resources/generated_queries/GetNftPool.graphql +0 -2
  32. package/src/resources/generated_queries/GetNftPoolCollection.graphql +0 -8
  33. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -8
  34. package/src/resources/generated_queries/GetNftPoolEvents.graphql +0 -2
  35. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -2
  36. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -2
  37. package/src/resources/generated_queries/Holders.graphql +0 -15
  38. package/src/resources/generated_queries/LiquidityLocks.graphql +0 -1
  39. package/src/resources/generated_queries/ListPairsForToken.graphql +0 -30
  40. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -60
  41. package/src/resources/generated_queries/PairMetadata.graphql +0 -30
  42. package/src/resources/generated_queries/PrimeHolders.graphql +0 -15
  43. package/src/resources/generated_queries/Token.graphql +0 -15
  44. package/src/resources/generated_queries/Tokens.graphql +0 -15
  45. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -15
  46. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -15
  47. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -15
  48. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -9
  49. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -2
  50. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -30
  51. package/src/resources/graphql.schema.json +209 -133
  52. package/src/resources/graphql.ts +211 -48
  53. package/src/resources/schema.graphql +85 -71
  54. package/src/sdk/Query.ts +0 -24
  55. package/src/sdk/Subscribe.ts +6 -6
  56. package/src/sdk/generated/gql.ts +64 -94
  57. package/src/sdk/generated/graphql.ts +275 -177
  58. package/src/resources/generated_queries/FilterNetworkWallets.graphql +0 -57
  59. package/src/resources/generated_queries/GetDetailedStats.graphql +0 -338
  60. package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
  61. package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
  62. package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
  63. package/src/resources/generated_queries/SearchTokens.graphql +0 -67
@@ -156,7 +156,10 @@ export type Balance = {
156
156
  export type BalancesInput = {
157
157
  /** A cursor for use in pagination. */
158
158
  cursor?: InputMaybe<Scalars['String']['input']>;
159
- /** Optional token specifically request the balance for. Only works with `walletId`. */
159
+ /**
160
+ * Optional token specifically request the balance for. Only works with `walletId`.
161
+ * @deprecated Use tokens list instead
162
+ */
160
163
  filterToken?: InputMaybe<Scalars['String']['input']>;
161
164
  /** Whether to include native network balances in the response (ID will be native:&lt;networkId&gt;). Requires a list of `networks`. Does not apply when using `tokens`. */
162
165
  includeNative?: InputMaybe<Scalars['Boolean']['input']>;
@@ -170,7 +173,10 @@ export type BalancesInput = {
170
173
  tokens?: InputMaybe<Array<Scalars['String']['input']>>;
171
174
  /** The wallet address to filter by. */
172
175
  walletAddress?: InputMaybe<Scalars['String']['input']>;
173
- /** The ID of the wallet (`walletAddress:networkId`). */
176
+ /**
177
+ * The ID of the wallet (`walletAddress:networkId`).
178
+ * @deprecated Use walletAddress and networkId instead
179
+ */
174
180
  walletId?: InputMaybe<Scalars['String']['input']>;
175
181
  };
176
182
 
@@ -217,7 +223,10 @@ export type BarsResponse = {
217
223
  traders: Array<Maybe<Scalars['Int']['output']>>;
218
224
  /** The number of transactions */
219
225
  transactions: Array<Maybe<Scalars['Int']['output']>>;
220
- /** The volume. */
226
+ /**
227
+ * The volume.
228
+ * @deprecated Use volume field instead
229
+ */
221
230
  v: Array<Maybe<Scalars['Int']['output']>>;
222
231
  /** The volume with higher precision. */
223
232
  volume?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
@@ -880,7 +889,10 @@ export type DetailedWalletStats = {
880
889
  lastTransactionAt: Scalars['Int']['output'];
881
890
  /** The network breakdown */
882
891
  networkBreakdown?: Maybe<Array<NetworkBreakdown>>;
883
- /** The network specific stats */
892
+ /**
893
+ * The network specific stats
894
+ * @deprecated Use networkBreakdown instead
895
+ */
884
896
  networkSpecificStats?: Maybe<Array<NetworkWalletStats>>;
885
897
  /** The likelihood of the wallet being a scammer */
886
898
  scammerScore?: Maybe<Scalars['Int']['output']>;
@@ -943,7 +955,10 @@ export type EnhancedToken = {
943
955
  __typename?: 'EnhancedToken';
944
956
  /** The contract address of the token. */
945
957
  address: Scalars['String']['output'];
946
- /** The circulating supply of the token. */
958
+ /**
959
+ * The circulating supply of the token.
960
+ * @deprecated Use the TokenInfo type
961
+ */
947
962
  circulatingSupply?: Maybe<Scalars['String']['output']>;
948
963
  /** The token ID on CoinMarketCap. */
949
964
  cmcId?: Maybe<Scalars['Int']['output']>;
@@ -959,17 +974,29 @@ export type EnhancedToken = {
959
974
  decimals: Scalars['Int']['output'];
960
975
  /** A list of exchanges where the token has been traded. */
961
976
  exchanges?: Maybe<Array<Exchange>>;
962
- /** Information about the token from 3rd party sources. */
977
+ /**
978
+ * Information about the token from 3rd party sources.
979
+ * @deprecated Use the TokenInfo type
980
+ */
963
981
  explorerData?: Maybe<ExplorerTokenData>;
964
982
  /** Whether or not the token is freezable */
965
983
  freezable?: Maybe<Scalars['String']['output']>;
966
984
  /** The ID of the token (`address:networkId`). */
967
985
  id: Scalars['String']['output'];
968
- /** The large token logo URL. */
986
+ /**
987
+ * The large token logo URL.
988
+ * @deprecated Use the TokenInfo type
989
+ */
969
990
  imageLargeUrl?: Maybe<Scalars['String']['output']>;
970
- /** The small token logo URL. */
991
+ /**
992
+ * The small token logo URL.
993
+ * @deprecated Use the TokenInfo type
994
+ */
971
995
  imageSmallUrl?: Maybe<Scalars['String']['output']>;
972
- /** The thumbnail token logo URL. */
996
+ /**
997
+ * The thumbnail token logo URL.
998
+ * @deprecated Use the TokenInfo type
999
+ */
973
1000
  imageThumbUrl?: Maybe<Scalars['String']['output']>;
974
1001
  /** More metadata about the token. */
975
1002
  info?: Maybe<TokenInfo>;
@@ -983,13 +1010,19 @@ export type EnhancedToken = {
983
1010
  name?: Maybe<Scalars['String']['output']>;
984
1011
  /** The network ID the token is deployed on. */
985
1012
  networkId: Scalars['Int']['output'];
986
- /** The amount of this token in the pair. */
1013
+ /**
1014
+ * The amount of this token in the pair.
1015
+ * @deprecated Pooled can be found on the pair instead
1016
+ */
987
1017
  pooled?: Maybe<Scalars['String']['output']>;
988
1018
  /** Community gathered links for the socials of this token. */
989
1019
  socialLinks?: Maybe<SocialLinks>;
990
1020
  /** The token symbol. For example, `APE`. */
991
1021
  symbol?: Maybe<Scalars['String']['output']>;
992
- /** The total supply of the token. */
1022
+ /**
1023
+ * The total supply of the token.
1024
+ * @deprecated Use the TokenInfo type
1025
+ */
993
1026
  totalSupply?: Maybe<Scalars['String']['output']>;
994
1027
  };
995
1028
 
@@ -1248,6 +1281,8 @@ export type ExchangeFilters = {
1248
1281
  txnCount12?: InputMaybe<StringFilter>;
1249
1282
  /** The number of transactions on the exchange in the past 24 hours. */
1250
1283
  txnCount24?: InputMaybe<StringFilter>;
1284
+ /** Scope to only verified exchanges */
1285
+ verified?: InputMaybe<Scalars['Boolean']['input']>;
1251
1286
  /** The trade volume in the network's base token in the past hour. */
1252
1287
  volumeNBT1?: InputMaybe<StringFilter>;
1253
1288
  /** The trade volume in the network's base token in the past 4 hours. */
@@ -1364,7 +1399,10 @@ export type FilterNetworkWalletsInput = {
1364
1399
  export type FilterTokenWalletsInput = {
1365
1400
  /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1366
1401
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1367
- /** A set of filters to apply */
1402
+ /**
1403
+ * A set of filters to apply
1404
+ * @deprecated Use filtersV2 instead
1405
+ */
1368
1406
  filters?: InputMaybe<WalletTokenFilters>;
1369
1407
  /** A set of filters to apply */
1370
1408
  filtersV2?: InputMaybe<WalletTokenFiltersV2>;
@@ -1382,7 +1420,10 @@ export type FilterTokenWalletsInput = {
1382
1420
  rankings?: InputMaybe<Array<InputMaybe<WalletTokenRanking>>>;
1383
1421
  /** The ID of the token to filter wallets for */
1384
1422
  tokenId?: InputMaybe<Scalars['String']['input']>;
1385
- /** The wallet address to filter wallets for */
1423
+ /**
1424
+ * The wallet address to filter wallets for
1425
+ * @deprecated Use wallets instead
1426
+ */
1386
1427
  walletAddress?: InputMaybe<Scalars['String']['input']>;
1387
1428
  /** A list of wallet addresses to filter wallets for */
1388
1429
  wallets?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
@@ -1494,7 +1535,10 @@ export type GetNftPoolsResponse = {
1494
1535
  export type GetPriceInput = {
1495
1536
  /** The contract address of the token. */
1496
1537
  address: Scalars['String']['input'];
1497
- /** 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`. */
1538
+ /**
1539
+ * 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`.
1540
+ * @deprecated This isn't taken into account anymore.
1541
+ */
1498
1542
  maxDeviations?: InputMaybe<Scalars['Float']['input']>;
1499
1543
  /** The network ID the token is deployed on. */
1500
1544
  networkId: Scalars['Int']['input'];
@@ -1530,6 +1574,8 @@ export enum GraphQlNftPoolVariant {
1530
1574
  export type HoldersInput = {
1531
1575
  /** A cursor for use in pagination. */
1532
1576
  cursor?: InputMaybe<Scalars['String']['input']>;
1577
+ /** The maximum number of holders to return. Default is 50, maximum is 200. */
1578
+ limit?: InputMaybe<Scalars['Int']['input']>;
1533
1579
  /** The attribute to sort the list on */
1534
1580
  sort?: InputMaybe<HoldersInputSort>;
1535
1581
  /** The ID of the token (`tokenAddress:networkId`). */
@@ -1808,7 +1854,10 @@ export type LaunchpadData = {
1808
1854
  migratedPoolAddress?: Maybe<Scalars['String']['output']>;
1809
1855
  /** The slot number when the launchpad was migrated. */
1810
1856
  migratedSlot?: Maybe<Scalars['Int']['output']>;
1811
- /** The name of the launchpad. */
1857
+ /**
1858
+ * The name of the launchpad.
1859
+ * @deprecated Use launchpadName instead
1860
+ */
1812
1861
  name?: Maybe<Scalars['String']['output']>;
1813
1862
  /** The address of the pool. */
1814
1863
  poolAddress?: Maybe<Scalars['String']['output']>;
@@ -1825,6 +1874,8 @@ export type LaunchpadTokenEventOutput = {
1825
1874
  eventType: LaunchpadTokenEventType;
1826
1875
  /** The number of holders. */
1827
1876
  holders?: Maybe<Scalars['Int']['output']>;
1877
+ /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
1878
+ launchpadName: Scalars['String']['output'];
1828
1879
  /** The market cap of the token. */
1829
1880
  marketCap?: Maybe<Scalars['String']['output']>;
1830
1881
  /** The network ID that the token is deployed on. */
@@ -1907,7 +1958,10 @@ export type LiquidityLock = {
1907
1958
  liquidityAmount: Scalars['String']['output'];
1908
1959
  /** If the liquidity position is represented by an NFT, this will contain the NFT data. */
1909
1960
  liquidityNftData?: Maybe<LiquidityNftData>;
1910
- /** The protocol that created the pair */
1961
+ /**
1962
+ * The protocol that created the pair
1963
+ * @deprecated Use liquidityProtocolV2 instead
1964
+ */
1911
1965
  liquidityProtocol: LiquidityProtocol;
1912
1966
  /** The protocol that created the pair */
1913
1967
  liquidityProtocolV2: Scalars['String']['output'];
@@ -3366,7 +3420,9 @@ export type NftEvent = {
3366
3420
  __typename?: 'NftEvent';
3367
3421
  /** The contract address of the marketplace aggregator that routed the transaction. */
3368
3422
  aggregatorAddress?: Maybe<Scalars['String']['output']>;
3423
+ /** @deprecated No longer supported */
3369
3424
  baseTokenAddress: Scalars['String']['output'];
3425
+ /** @deprecated No longer supported */
3370
3426
  baseTokenPrice?: Maybe<Scalars['String']['output']>;
3371
3427
  /** The block number for the transaction. */
3372
3428
  blockNumber: Scalars['Int']['output'];
@@ -3380,13 +3436,17 @@ export type NftEvent = {
3380
3436
  fillSource?: Maybe<Scalars['String']['output']>;
3381
3437
  /** The ID of the NFT event (`contractAddress`:`tokenId`:`networkId`). */
3382
3438
  id: Scalars['String']['output'];
3439
+ /** @deprecated No longer supported */
3383
3440
  individualBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3441
+ /** @deprecated No longer supported */
3384
3442
  individualNetworkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3443
+ /** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string. */
3385
3444
  individualPrice?: Maybe<Scalars['String']['output']>;
3386
3445
  /** The price of each individual NFT in the network's base token. */
3387
3446
  individualPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
3388
3447
  /** The price of each individual NFT in USD. */
3389
3448
  individualPriceUsd?: Maybe<Scalars['String']['output']>;
3449
+ /** @deprecated Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string. */
3390
3450
  individualTokenPrice?: Maybe<Scalars['String']['output']>;
3391
3451
  /** The price of each individual NFT in the purchasing token. */
3392
3452
  individualTradePrice?: Maybe<Scalars['String']['output']>;
@@ -3394,6 +3454,7 @@ export type NftEvent = {
3394
3454
  logIndex: Scalars['Int']['output'];
3395
3455
  /** The wallet address of the buyer. */
3396
3456
  maker: Scalars['String']['output'];
3457
+ /** @deprecated No longer supported */
3397
3458
  networkBaseTokenPrice?: Maybe<Scalars['String']['output']>;
3398
3459
  /** The network ID the NFT collection is deployed on. */
3399
3460
  networkId: Scalars['Int']['output'];
@@ -3415,7 +3476,9 @@ export type NftEvent = {
3415
3476
  timestamp: Scalars['Int']['output'];
3416
3477
  /** The token ID of the NFT asset involved in the transaction. */
3417
3478
  tokenId: Scalars['String']['output'];
3479
+ /** @deprecated Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string. */
3418
3480
  tokenPrice: Scalars['String']['output'];
3481
+ /** @deprecated Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string. */
3419
3482
  totalPrice: Scalars['String']['output'];
3420
3483
  /** The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token). */
3421
3484
  totalPriceNetworkBaseToken?: Maybe<Scalars['String']['output']>;
@@ -3728,31 +3791,52 @@ export type NftPoolCollectionFilterResult = {
3728
3791
  name?: Maybe<Scalars['String']['output']>;
3729
3792
  /** The network ID the NFT collection is deployed on. */
3730
3793
  networkId?: Maybe<Scalars['Int']['output']>;
3731
- /** The number of NFTs in all of the collection's pools. */
3794
+ /**
3795
+ * The number of NFTs in all of the collection's pools.
3796
+ * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
3797
+ */
3732
3798
  nftBalance?: Maybe<Scalars['Int']['output']>;
3733
3799
  /** The number of NFTs in all of the collection's pools. */
3734
3800
  nftBalanceV2?: Maybe<Scalars['String']['output']>;
3735
- /** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
3801
+ /**
3802
+ * The number of NFTs bought and sold in any of the collection's pools over the past 24 hours.
3803
+ * @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
3804
+ */
3736
3805
  nftVolume24?: Maybe<Scalars['Int']['output']>;
3737
3806
  /** The number of NFTs bought and sold in any of the collection's pools over the past 24 hours. */
3738
3807
  nftVolume24V2?: Maybe<Scalars['String']['output']>;
3739
- /** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
3808
+ /**
3809
+ * The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime.
3810
+ * @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
3811
+ */
3740
3812
  nftVolumeAll?: Maybe<Scalars['Int']['output']>;
3741
3813
  /** The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime. */
3742
3814
  nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
3743
- /** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
3815
+ /**
3816
+ * The number of NFTs bought in any of the collection's pools over the past 24 hours.
3817
+ * @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
3818
+ */
3744
3819
  nftsBought24?: Maybe<Scalars['Int']['output']>;
3745
3820
  /** The number of NFTs bought in any of the collection's pools over the past 24 hours. */
3746
3821
  nftsBought24V2?: Maybe<Scalars['String']['output']>;
3747
- /** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
3822
+ /**
3823
+ * The number of NFTs bought in any of the collection's pools over the collection's lifetime.
3824
+ * @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
3825
+ */
3748
3826
  nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
3749
3827
  /** The number of NFTs bought in any of the collection's pools over the collection's lifetime. */
3750
3828
  nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
3751
- /** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
3829
+ /**
3830
+ * The number of NFTs sold in any of the collection's pools over the past 24 hours.
3831
+ * @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
3832
+ */
3752
3833
  nftsSold24?: Maybe<Scalars['Int']['output']>;
3753
3834
  /** The number of NFTs sold in any of the collection's pools over the past 24 hours. */
3754
3835
  nftsSold24V2?: Maybe<Scalars['String']['output']>;
3755
- /** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
3836
+ /**
3837
+ * The number of NFTs sold in any of the collection's pools over the collection's lifetime.
3838
+ * @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
3839
+ */
3756
3840
  nftsSoldAll?: Maybe<Scalars['Int']['output']>;
3757
3841
  /** The number of NFTs sold in any of the collection's pools over the collection's lifetime. */
3758
3842
  nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
@@ -3788,7 +3872,10 @@ export type NftPoolCollectionFilterResult = {
3788
3872
  symbol?: Maybe<Scalars['String']['output']>;
3789
3873
  /** The unix timestamp indicating the last time the data was updated. Updates every 2 hours. */
3790
3874
  timestamp?: Maybe<Scalars['Int']['output']>;
3791
- /** The total supply of the collection. */
3875
+ /**
3876
+ * The total supply of the collection.
3877
+ * @deprecated totalSupply is changing from Int to String - use totalSupplyV2 instead.
3878
+ */
3792
3879
  totalSupply?: Maybe<Scalars['Int']['output']>;
3793
3880
  totalSupplyV2?: Maybe<Scalars['String']['output']>;
3794
3881
  /** The total volume of the collection in the network's base token over the past 24 hours. */
@@ -3968,17 +4055,26 @@ export type NftPoolCollectionResponse = {
3968
4055
  floorNBT?: Maybe<Scalars['String']['output']>;
3969
4056
  /** An image associated with the NFT collection. */
3970
4057
  image?: Maybe<Scalars['String']['output']>;
3971
- /** The media for one of the assets within the NFT collection. */
4058
+ /**
4059
+ * The media for one of the assets within the NFT collection.
4060
+ * @deprecated Use `image` from `NftContract` instead.
4061
+ */
3972
4062
  media?: Maybe<NftAssetMedia>;
3973
4063
  /** The name of the NFT collection. */
3974
4064
  name?: Maybe<Scalars['String']['output']>;
3975
4065
  /** The network ID the NFT collection is deployed on. */
3976
4066
  networkId: Scalars['Int']['output'];
3977
- /** The current number of NFTs in all the NFT collection's pools. */
4067
+ /**
4068
+ * The current number of NFTs in all the NFT collection's pools.
4069
+ * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
4070
+ */
3978
4071
  nftBalance: Scalars['Int']['output'];
3979
4072
  /** The current number of NFTs in all the NFT collection's pools. */
3980
4073
  nftBalanceV2: Scalars['String']['output'];
3981
- /** The total number of NFTs bought and sold over the collection's lifetime. */
4074
+ /**
4075
+ * The total number of NFTs bought and sold over the collection's lifetime.
4076
+ * @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
4077
+ */
3982
4078
  nftVolumeAllTime?: Maybe<Scalars['Int']['output']>;
3983
4079
  /** The total number of NFTs bought and sold over the collection's lifetime. */
3984
4080
  nftVolumeAllTimeV2?: Maybe<Scalars['String']['output']>;
@@ -4077,7 +4173,10 @@ export type NftPoolEventNftTransferV2 = {
4077
4173
  nftQuantity: Scalars['String']['output'];
4078
4174
  /** The NFT token ID involved in the transfer. */
4079
4175
  nftTokenId: Scalars['String']['output'];
4080
- /** The number of tokens involved in the transfer. */
4176
+ /**
4177
+ * The number of tokens involved in the transfer.
4178
+ * @deprecated nftTokenQuantity is no longer supported - use nftQuantity instead.
4179
+ */
4081
4180
  nftTokenQuantity: Scalars['String']['output'];
4082
4181
  };
4083
4182
 
@@ -4183,31 +4282,52 @@ export type NftPoolFilterResult = {
4183
4282
  networkId: Scalars['Int']['output'];
4184
4283
  /** The list of NFT assets in the pool. */
4185
4284
  nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
4186
- /** The current number of NFTs in the pool. */
4285
+ /**
4286
+ * The current number of NFTs in the pool.
4287
+ * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
4288
+ */
4187
4289
  nftBalance?: Maybe<Scalars['Int']['output']>;
4188
4290
  /** The current number of NFTs in the pool. */
4189
4291
  nftBalanceV2?: Maybe<Scalars['String']['output']>;
4190
- /** The total number of NFTs bought and sold over the past 24 hours. */
4292
+ /**
4293
+ * The total number of NFTs bought and sold over the past 24 hours.
4294
+ * @deprecated nftVolume24 is changing from Int to String - use nftVolume24V2 instead.
4295
+ */
4191
4296
  nftVolume24?: Maybe<Scalars['Int']['output']>;
4192
4297
  /** The total number of NFTs bought and sold over the past 24 hours. */
4193
4298
  nftVolume24V2?: Maybe<Scalars['String']['output']>;
4194
- /** The total number of NFTs bought and sold over the pool's lifetime. */
4299
+ /**
4300
+ * The total number of NFTs bought and sold over the pool's lifetime.
4301
+ * @deprecated nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.
4302
+ */
4195
4303
  nftVolumeAll?: Maybe<Scalars['Int']['output']>;
4196
4304
  /** The total number of NFTs bought and sold over the pool's lifetime. */
4197
4305
  nftVolumeAllV2?: Maybe<Scalars['String']['output']>;
4198
- /** The total number of NFTs bought by the pool over the past 24 hours. */
4306
+ /**
4307
+ * The total number of NFTs bought by the pool over the past 24 hours.
4308
+ * @deprecated nftsBought24 is changing from Int to String - use nftsBought24V2 instead.
4309
+ */
4199
4310
  nftsBought24?: Maybe<Scalars['Int']['output']>;
4200
4311
  /** The total number of NFTs bought by the pool over the past 24 hours. */
4201
4312
  nftsBought24V2?: Maybe<Scalars['String']['output']>;
4202
- /** The total number of NFTs bought over the pool's lifetime. */
4313
+ /**
4314
+ * The total number of NFTs bought over the pool's lifetime.
4315
+ * @deprecated nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.
4316
+ */
4203
4317
  nftsBoughtAll?: Maybe<Scalars['Int']['output']>;
4204
4318
  /** The total number of NFTs bought over the pool's lifetime. */
4205
4319
  nftsBoughtAllV2?: Maybe<Scalars['String']['output']>;
4206
- /** The total number of NFTs sold by the pool over the past 24 hours. */
4320
+ /**
4321
+ * The total number of NFTs sold by the pool over the past 24 hours.
4322
+ * @deprecated nftsSold24 is changing from Int to String - use nftsSold24V2 instead.
4323
+ */
4207
4324
  nftsSold24?: Maybe<Scalars['Int']['output']>;
4208
4325
  /** The total number of NFTs sold by the pool over the past 24 hours. */
4209
4326
  nftsSold24V2?: Maybe<Scalars['String']['output']>;
4210
- /** The total number of NFTs sold over the pool's lifetime. */
4327
+ /**
4328
+ * The total number of NFTs sold over the pool's lifetime.
4329
+ * @deprecated nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.
4330
+ */
4211
4331
  nftsSoldAll?: Maybe<Scalars['Int']['output']>;
4212
4332
  /** The total number of NFTs sold over the pool's lifetime. */
4213
4333
  nftsSoldAllV2?: Maybe<Scalars['String']['output']>;
@@ -4534,11 +4654,17 @@ export type NftPoolResponse = {
4534
4654
  networkId: Scalars['Int']['output'];
4535
4655
  /** The list of NFT assets in the pool. */
4536
4656
  nftAssets?: Maybe<Array<Maybe<NftAsset>>>;
4537
- /** The current number of NFTs in the pool. */
4657
+ /**
4658
+ * The current number of NFTs in the pool.
4659
+ * @deprecated nftBalance is changing from Int to String - use nftBalanceV2 instead.
4660
+ */
4538
4661
  nftBalance?: Maybe<Scalars['Int']['output']>;
4539
4662
  /** The current number of NFTs in the pool. */
4540
4663
  nftBalanceV2: Scalars['String']['output'];
4541
- /** The total number of NFTs bought and sold over the pool's lifetime. */
4664
+ /**
4665
+ * The total number of NFTs bought and sold over the pool's lifetime.
4666
+ * @deprecated nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.
4667
+ */
4542
4668
  nftVolumeAllTime: Scalars['Int']['output'];
4543
4669
  /** The total number of NFTs bought and sold over the pool's lifetime. */
4544
4670
  nftVolumeAllTimeV2: Scalars['String']['output'];
@@ -4878,17 +5004,25 @@ export type OnEventsCreatedByMakerInput = {
4878
5004
  };
4879
5005
 
4880
5006
  export type OnLaunchpadTokenEventBatchInput = {
5007
+ /** The type of event. */
5008
+ eventType?: InputMaybe<LaunchpadTokenEventType>;
5009
+ /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
5010
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
5011
+ /** The network ID that the token is deployed on. */
4881
5012
  networkId?: InputMaybe<Scalars['Int']['input']>;
5013
+ /** The protocol of the token. */
4882
5014
  protocol?: InputMaybe<LaunchpadTokenProtocol>;
4883
5015
  };
4884
5016
 
4885
5017
  /** Input for `onLaunchpadTokenEvent`. */
4886
5018
  export type OnLaunchpadTokenEventInput = {
4887
- /** The contract address of the token. Required when `networkId` is provided. */
5019
+ /** The contract address of the token. Requires `networkId`. */
4888
5020
  address?: InputMaybe<Scalars['String']['input']>;
4889
5021
  /** The type of event. */
4890
5022
  eventType?: InputMaybe<LaunchpadTokenEventType>;
4891
- /** The network ID that the token is deployed on. Required when `address` is provided. */
5023
+ /** The name of the launchpad. One of the following: Four.meme, Pump.fun, Rainbow, LaunchLab, Moonit, boop, MeteoraDBC, Vertigo, EgoTech, TokenMill V2, ArenaTrade, Bonk, Jupiter Studio, Believe, or Cooking.City. */
5024
+ launchpadName?: InputMaybe<Scalars['String']['input']>;
5025
+ /** The network ID that the token is deployed on. */
4892
5026
  networkId?: InputMaybe<Scalars['Int']['input']>;
4893
5027
  /** The protocol of the token. */
4894
5028
  protocol?: InputMaybe<LaunchpadTokenProtocol>;
@@ -6365,7 +6499,10 @@ export type Query = {
6365
6499
  detailedWalletStats?: Maybe<DetailedWalletStats>;
6366
6500
  /** Returns a list of exchanges based on a variety of filters. */
6367
6501
  filterExchanges?: Maybe<ExchangeFilterConnection>;
6368
- /** Returns a list of wallets with stats narrowed down to a specific network. */
6502
+ /**
6503
+ * Returns a list of wallets with stats narrowed down to a specific network.
6504
+ * @deprecated Use filterWallets instead
6505
+ */
6369
6506
  filterNetworkWallets: NetworkWalletFilterConnection;
6370
6507
  /** Returns a list of NFT collection based on a variety of filters. */
6371
6508
  filterNftCollections?: Maybe<NftCollectionFilterConnection>;
@@ -6393,15 +6530,24 @@ export type Query = {
6393
6530
  getDetailedPairStats?: Maybe<DetailedPairStats>;
6394
6531
  /** Returns bucketed stats for a given token within a list of pairs. */
6395
6532
  getDetailedPairsStats?: Maybe<Array<Maybe<DetailedPairStats>>>;
6396
- /** Returns bucketed stats for a given token within a pair. */
6533
+ /**
6534
+ * Returns bucketed stats for a given token within a pair.
6535
+ * @deprecated Use `getDetailedPairStats` instead, it has more resolutions and better support
6536
+ */
6397
6537
  getDetailedStats?: Maybe<DetailedStats>;
6398
6538
  /** Returns a list of event labels for a pair. */
6399
6539
  getEventLabels?: Maybe<EventLabelConnection>;
6400
6540
  /** Returns a list of decentralized exchange metadata. */
6401
6541
  getExchanges: Array<Exchange>;
6402
- /** Returns new tokens listed over the last three days. */
6542
+ /**
6543
+ * Returns new tokens listed over the last three days.
6544
+ * @deprecated This query is longer supported. Instead use filterPairs with sort order on createdAt DESC
6545
+ */
6403
6546
  getLatestPairs?: Maybe<LatestPairConnection>;
6404
- /** Returns a list of latest tokens. */
6547
+ /**
6548
+ * Returns a list of latest tokens.
6549
+ * @deprecated This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.
6550
+ */
6405
6551
  getLatestTokens?: Maybe<LatestTokenConnection>;
6406
6552
  /** Returns metadata for a given network supported on Codex. */
6407
6553
  getNetworkStats?: Maybe<GetNetworkStatsResponse>;
@@ -6461,7 +6607,10 @@ export type Query = {
6461
6607
  listPairsForToken: Array<Maybe<Pair>>;
6462
6608
  /** Returns a list of pair metadata for a token. */
6463
6609
  listPairsWithMetadataForToken: ListPairsForTokenResponse;
6464
- /** Returns a list of trending tokens across any given network(s). */
6610
+ /**
6611
+ * Returns a list of trending tokens across any given network(s).
6612
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6613
+ */
6465
6614
  listTopTokens?: Maybe<Array<TokenWithMetadata>>;
6466
6615
  /** Returns list of wallets that hold a given collection, ordered by holdings descending. Also has the unique count of holders for that collection. */
6467
6616
  nftHolders: NftHoldersResponse;
@@ -6471,7 +6620,10 @@ export type Query = {
6471
6620
  primeHolders: PrimeHolders;
6472
6621
  /** Returns a list of NFT collections matching a given query string. */
6473
6622
  searchNfts?: Maybe<NftSearchResponse>;
6474
- /** Returns a list of tokens matching a given query string. */
6623
+ /**
6624
+ * Returns a list of tokens matching a given query string.
6625
+ * @deprecated This query is no longer supported and will not return up to date data. Use `filterTokens` instead.
6626
+ */
6475
6627
  searchTokens?: Maybe<TokenSearchResponse>;
6476
6628
  /** Returns a single token by its address & network id. */
6477
6629
  token: EnhancedToken;
@@ -7255,9 +7407,15 @@ export type Subscription = {
7255
7407
  onEventsCreatedByMaker?: Maybe<AddEventsByMakerOutput>;
7256
7408
  /** Live-streamed list of wallets that hold a given token. Also has the unique count of holders for that token. */
7257
7409
  onHoldersUpdated?: Maybe<HoldersUpdate>;
7258
- /** Live-streamed updates for newly listed pairs. */
7410
+ /**
7411
+ * Live-streamed updates for newly listed pairs.
7412
+ * @deprecated No longer supported
7413
+ */
7259
7414
  onLatestPairUpdated?: Maybe<LatestPair>;
7260
- /** Live-streamed updates for newly listed tokens. */
7415
+ /**
7416
+ * Live-streamed updates for newly listed tokens.
7417
+ * @deprecated No longer supported
7418
+ */
7261
7419
  onLatestTokens?: Maybe<LatestToken>;
7262
7420
  /** Live-streamed launchpad token event. */
7263
7421
  onLaunchpadTokenEvent: LaunchpadTokenEventOutput;
@@ -7638,6 +7796,7 @@ export type TokenFilterConnection = {
7638
7796
  /** A token matching a set of filter parameters. */
7639
7797
  export type TokenFilterResult = {
7640
7798
  __typename?: 'TokenFilterResult';
7799
+ /** @deprecated Age isn't supported - use createdAt instead */
7641
7800
  age?: Maybe<Scalars['Int']['output']>;
7642
7801
  /** The number of buys in the past hour. */
7643
7802
  buyCount1?: Maybe<Scalars['Int']['output']>;
@@ -7675,6 +7834,7 @@ export type TokenFilterResult = {
7675
7834
  createdAt?: Maybe<Scalars['Int']['output']>;
7676
7835
  /** The exchanges the token is listed on. */
7677
7836
  exchanges?: Maybe<Array<Maybe<Exchange>>>;
7837
+ /** @deprecated FDV isn't supported - use marketCap instead */
7678
7838
  fdv?: Maybe<Scalars['String']['output']>;
7679
7839
  /** The highest price in USD in the past hour. */
7680
7840
  high1?: Maybe<Scalars['String']['output']>;
@@ -7806,6 +7966,7 @@ export type TokenFilterResult = {
7806
7966
 
7807
7967
  /** Input type of `TokenFilters`. */
7808
7968
  export type TokenFilters = {
7969
+ /** @deprecated Age isn't supported - use createdAt instead */
7809
7970
  age?: InputMaybe<NumberFilter>;
7810
7971
  /** The number of buys in the past hour. */
7811
7972
  buyCount1?: InputMaybe<NumberFilter>;
@@ -7847,6 +8008,7 @@ export type TokenFilters = {
7847
8008
  exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
7848
8009
  /** 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. */
7849
8010
  exchangeId?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
8011
+ /** @deprecated FDV isn't supported - use marketCap instead */
7850
8012
  fdv?: InputMaybe<NumberFilter>;
7851
8013
  /** The token in freezable */
7852
8014
  freezable?: InputMaybe<Scalars['Boolean']['input']>;
@@ -7930,7 +8092,7 @@ export type TokenFilters = {
7930
8092
  swapPct1dOldWallet?: InputMaybe<NumberFilter>;
7931
8093
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
7932
8094
  swapPct7dOldWallet?: InputMaybe<NumberFilter>;
7933
- /** 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 `false`. (i.e. stablecoins, rugs, network base tokens) If you want only tokens that pass the trending ignore checks, then set it to `true`. */
8095
+ /** 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
8096
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
7935
8097
  /** The number of transactions in the past hour. */
7936
8098
  txnCount1?: InputMaybe<NumberFilter>;
@@ -8189,6 +8351,7 @@ export type TokenRanking = {
8189
8351
 
8190
8352
  /** The attribute used to rank tokens. */
8191
8353
  export enum TokenRankingAttribute {
8354
+ /** @deprecated Use createdAt instead */
8192
8355
  Age = 'age',
8193
8356
  BuyCount1 = 'buyCount1',
8194
8357
  BuyCount4 = 'buyCount4',