@codex-data/sdk 1.0.12 → 1.0.14

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 +274 -52
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +7 -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 +279 -1368
  15. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  16. package/dist/sdk/generated/graphql.js +42 -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 +574 -136
  52. package/src/resources/graphql.ts +285 -52
  53. package/src/resources/schema.graphql +147 -76
  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 +349 -181
  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
@@ -170,7 +170,7 @@ type Query {
170
170
  """Returns stats for an NFT collection across different time frames."""
171
171
  getNftCollectionMetadata(
172
172
  """The ID of the NFT collection (`address`:`networkId`). For example, `0xbc4ca0eda7647a8ab7c2061c2e118a18a936f13d:1`."""
173
- collectionId: String
173
+ collectionId: String @deprecated(reason: "Use address & networkId instead.")
174
174
  """The contract address of the NFT collection."""
175
175
  address: String
176
176
  """The network ID the NFT collection is deployed on."""
@@ -379,7 +379,7 @@ type Query {
379
379
  bucketCount: Int
380
380
  """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
381
381
  statsType: TokenPairStatisticsType
382
- ): DetailedStats
382
+ ): DetailedStats @deprecated(reason: "Use `getDetailedPairStats` instead, it has more resolutions and better support")
383
383
  """Returns bucketed stats for a given token within a pair."""
384
384
  getDetailedPairStats(
385
385
  """The contract address of the pair."""
@@ -409,7 +409,7 @@ type Query {
409
409
  networkFilter: [Int!]
410
410
  """The time frame for trending results. Can be `1`, `5`, `15`, `30`, `60`, `240`, `720`, or `1D`."""
411
411
  resolution: String
412
- ): [TokenWithMetadata!]
412
+ ): [TokenWithMetadata!] @deprecated(reason: "This query is no longer supported and will not return up to date data. Use `filterTokens` instead.")
413
413
  """Returns charting metadata for a given pair. Used for implementing a Trading View datafeed."""
414
414
  getSymbol(
415
415
  """The ID of the pair (`address:networkId`)."""
@@ -459,21 +459,21 @@ type Query {
459
459
  from: Int!
460
460
  """The unix timestamp for the end of the requested range."""
461
461
  to: Int!
462
- """The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`."""
462
+ """The time frame for each candle. Available options are `1S`, `5S`, `15S`, `30S`, `1`, `5`, `15`, `30`, `60`, `240`, `720`, `1D`, `7D`. Resolutions lower than 1 minute are only updated for the last 24 hours due to the volume of data produced."""
463
463
  resolution: String!
464
- """The currency to use for the response. Can be `USD` (default) or `TOKEN`."""
464
+ """The currency to use for the response. Can be `USD` or `TOKEN`. Default is `USD`. Use `currencyCode: TOKEN` for native token pricing."""
465
465
  currencyCode: String
466
- """Whether to remove leading null values from the response. To fetch a token's entire history, set resolution to `1D`, `from` value to `0` and `removeLeadingNullValues` to `true`. Default is `false`."""
466
+ """Whether to remove leading null values from the response. Default is `false`. To fetch a token's entire history, set resolution to `1D`, `from` value to `0` and `removeLeadingNullValues` to `true`."""
467
467
  removeLeadingNullValues: Boolean
468
- """Whether to remove empty bars from the response. Default is `false`."""
468
+ """Whether to remove empty bars from the response. This is useful for eliminating gaps in low-activity tokens. Default is `false`."""
469
469
  removeEmptyBars: Boolean
470
- """The token of interest within the token's top pair. Can be `token0` or `token1`."""
470
+ """The token of interest within the token's top pair. Can be `token0` or `token1`. If omitted, the base token is inferred automatically. You can invert the pair by quoting the other token."""
471
471
  quoteToken: QuoteToken
472
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
472
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
473
473
  statsType: TokenPairStatisticsType
474
- """guarantees number of bars returned is at most this number"""
474
+ """Guarantees number of bars returned is at most this number. Use `countback: 1500` with `from: 0` for maximum results."""
475
475
  countback: Int
476
- """specify the type of symbol you want to fetch values for (TOKEN | POOL)"""
476
+ """Specify the type of symbol you want to fetch values for. Can be `TOKEN` or `POOL`."""
477
477
  symbolType: SymbolType
478
478
  ): BarsResponse
479
479
  """Returns a list of tokens matching a given query string."""
@@ -488,7 +488,7 @@ type Query {
488
488
  resolution: String
489
489
  """The query string to search for. Can match a token or pair contract address or partially match a token's name or symbol. Automatically filters out tokens marked as scams."""
490
490
  search: String!
491
- ): TokenSearchResponse
491
+ ): TokenSearchResponse @deprecated(reason: "This query is no longer supported and will not return up to date data. Use `filterTokens` instead.")
492
492
  """Returns the percentage of a token's total supply held collectively by its top 10 holders."""
493
493
  top10HoldersPercent(
494
494
  tokenId: String!
@@ -554,7 +554,7 @@ type Query {
554
554
  minLiquidityFilter: Int
555
555
  """The cursor to use for pagination."""
556
556
  cursor: String
557
- ): LatestPairConnection
557
+ ): LatestPairConnection @deprecated(reason: "This query is longer supported. Instead use filterPairs with sort order on createdAt DESC")
558
558
  """Returns a list of pairs containing a given token."""
559
559
  listPairsForToken(
560
560
  """The maximum number of pairs to return."""
@@ -598,7 +598,7 @@ type Query {
598
598
  networkFilter: [Int!]
599
599
  """The offset to use for pagination."""
600
600
  offset: Int
601
- ): LatestTokenConnection
601
+ ): LatestTokenConnection @deprecated(reason: "This query is no longer supported. Use `filterTokens` with a createdAt: DESC filter instead.")
602
602
  """Returns liquidity locks for a given pair."""
603
603
  liquidityLocks(
604
604
  """The address of the pair."""
@@ -624,6 +624,10 @@ type Query {
624
624
  """The network id of the token."""
625
625
  networkId: Int!
626
626
  ): LiquidityMetadataByToken!
627
+ """Once a wallet backfill has been triggered, this query can be used to check the status of the backfill."""
628
+ walletAggregateBackfillState(
629
+ input: WalletAggregateBackfillStateInput!
630
+ ): WalletAggregateBackfillStateResponse!
627
631
  """Returns a list of top traders for a given token."""
628
632
  tokenTopTraders(
629
633
  input: TokenTopTradersInput!
@@ -635,7 +639,7 @@ type Query {
635
639
  """Returns a list of wallets with stats narrowed down to a specific network."""
636
640
  filterNetworkWallets(
637
641
  input: FilterNetworkWalletsInput!
638
- ): NetworkWalletFilterConnection!
642
+ ): NetworkWalletFilterConnection! @deprecated(reason: "Use filterWallets instead")
639
643
  """Returns a list of wallets with stats narrowed down to a specific token."""
640
644
  filterTokenWallets(
641
645
  input: FilterTokenWalletsInput!
@@ -673,6 +677,10 @@ type Mutation {
673
677
  """input: Input for deleting webhooks."""
674
678
  input: DeleteWebhooksInput!
675
679
  ): DeleteWebhooksOutput
680
+ """Backfill wallet aggregates (trading stats) for a given wallet. This is the data used in the filterWallet/filterTokenWallets and detailedWalletStats queries."""
681
+ backfillWalletAggregates(
682
+ input: WalletAggregateBackfillInput!
683
+ ): WalletAggregateBackfillStateResponse!
676
684
  }
677
685
 
678
686
  type Subscription {
@@ -785,7 +793,7 @@ type Subscription {
785
793
  id: String
786
794
  """The network ID the pair is deployed on."""
787
795
  networkId: Int
788
- ): LatestPair
796
+ ): LatestPair @deprecated(reason: "No longer supported")
789
797
  """Live-streamed updates for newly listed tokens."""
790
798
  onLatestTokens(
791
799
  """The ID of the token (`tokenAddress`:`networkId`)."""
@@ -794,7 +802,7 @@ type Subscription {
794
802
  networkId: Int
795
803
  """The address of the token contract."""
796
804
  tokenAddress: String
797
- ): LatestToken
805
+ ): LatestToken @deprecated(reason: "No longer supported")
798
806
  """Live-streamed event labels for a token."""
799
807
  onEventLabelCreated(
800
808
  """The ID of the pair (`address`:`networkId`)."""
@@ -928,6 +936,12 @@ type ApiToken {
928
936
  remaining: String
929
937
  }
930
938
 
939
+ type ArenaTradeData {
940
+ """Protocol specific token ID"""
941
+ tokenId: String
942
+ type: String!
943
+ }
944
+
931
945
  """Wallet balance of a token."""
932
946
  type Balance {
933
947
  """The ID of the wallet (`walletAddress:networkId`)."""
@@ -970,9 +984,9 @@ input BalancesInput {
970
984
  """Whether to remove scam tokens from the response."""
971
985
  removeScams: Boolean
972
986
  """The ID of the wallet (`walletAddress:networkId`)."""
973
- walletId: String
987
+ walletId: String @deprecated(reason: "Use walletAddress and networkId instead")
974
988
  """Optional token specifically request the balance for. Only works with `walletId`."""
975
- filterToken: String
989
+ filterToken: String @deprecated(reason: "Use tokens list instead")
976
990
  }
977
991
 
978
992
  type BalancesResponse {
@@ -993,7 +1007,7 @@ type BarsResponse {
993
1007
  """The closing price."""
994
1008
  c: [Float]!
995
1009
  """The volume."""
996
- v: [Int]!
1010
+ v: [Int]! @deprecated(reason: "Use volume field instead")
997
1011
  """The timestamp for the bar."""
998
1012
  t: [Int!]!
999
1013
  """The status code for the batch: `ok` for successful data retrieval and `no_data` for empty responses signaling the end of server data."""
@@ -1653,7 +1667,7 @@ type DetailedWalletStats {
1653
1667
  """The last transaction timestamp"""
1654
1668
  lastTransactionAt: Int!
1655
1669
  """The network specific stats"""
1656
- networkSpecificStats: [NetworkWalletStats!]
1670
+ networkSpecificStats: [NetworkWalletStats!] @deprecated(reason: "Use networkBreakdown instead")
1657
1671
  """The network breakdown"""
1658
1672
  networkBreakdown: [NetworkBreakdown!]
1659
1673
  """The labels associated with the wallet"""
@@ -1732,25 +1746,25 @@ type EnhancedToken {
1732
1746
  """The token symbol. For example, `APE`."""
1733
1747
  symbol: String
1734
1748
  """The total supply of the token."""
1735
- totalSupply: String
1749
+ totalSupply: String @deprecated(reason: "Use the TokenInfo type")
1736
1750
  """Community gathered links for the socials of this token."""
1737
1751
  socialLinks: SocialLinks
1738
1752
  """More metadata about the token."""
1739
1753
  info: TokenInfo
1740
1754
  """Information about the token from 3rd party sources."""
1741
- explorerData: ExplorerTokenData
1755
+ explorerData: ExplorerTokenData @deprecated(reason: "Use the TokenInfo type")
1742
1756
  """A list of exchanges where the token has been traded."""
1743
1757
  exchanges: [Exchange!]
1744
1758
  """The thumbnail token logo URL."""
1745
- imageThumbUrl: String
1759
+ imageThumbUrl: String @deprecated(reason: "Use the TokenInfo type")
1746
1760
  """The small token logo URL."""
1747
- imageSmallUrl: String
1761
+ imageSmallUrl: String @deprecated(reason: "Use the TokenInfo type")
1748
1762
  """The large token logo URL."""
1749
- imageLargeUrl: String
1763
+ imageLargeUrl: String @deprecated(reason: "Use the TokenInfo type")
1750
1764
  """The circulating supply of the token."""
1751
- circulatingSupply: String
1765
+ circulatingSupply: String @deprecated(reason: "Use the TokenInfo type")
1752
1766
  """The amount of this token in the pair."""
1753
- pooled: String
1767
+ pooled: String @deprecated(reason: "Pooled can be found on the pair instead")
1754
1768
  """The token creator's wallet address."""
1755
1769
  creatorAddress: String
1756
1770
  """The block height the token was created at."""
@@ -2031,6 +2045,8 @@ input ExchangeFilters {
2031
2045
  address: [String]
2032
2046
  """The list of network IDs to filter by."""
2033
2047
  network: [Int]
2048
+ """Scope to only verified exchanges"""
2049
+ verified: Boolean
2034
2050
  }
2035
2051
 
2036
2052
  """Input type of `ExchangeRanking`."""
@@ -2130,13 +2146,13 @@ input FilterTokenWalletsInput {
2130
2146
  """The ID of the token to filter wallets for"""
2131
2147
  tokenId: String
2132
2148
  """The wallet address to filter wallets for"""
2133
- walletAddress: String
2149
+ walletAddress: String @deprecated(reason: "Use wallets instead")
2134
2150
  """A list of wallet addresses to filter wallets for"""
2135
2151
  wallets: [String]
2136
2152
  """The network ID to filter wallets for"""
2137
2153
  networkId: Int
2138
2154
  """A set of filters to apply"""
2139
- filters: WalletTokenFilters
2155
+ filters: WalletTokenFilters @deprecated(reason: "Use filtersV2 instead")
2140
2156
  """A set of filters to apply"""
2141
2157
  filtersV2: WalletTokenFiltersV2
2142
2158
  """A phrase to search for in token symbol and name"""
@@ -2262,7 +2278,7 @@ input GetPriceInput {
2262
2278
  """The address of the pool, when omitted the top pool is used."""
2263
2279
  poolAddress: String
2264
2280
  """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`."""
2265
- maxDeviations: Float
2281
+ maxDeviations: Float @deprecated(reason: "This isn't taken into account anymore.")
2266
2282
  }
2267
2283
 
2268
2284
  """Input type of `getTokensInfo`."""
@@ -2290,6 +2306,8 @@ enum GraphQlNftPoolVariant {
2290
2306
  input HoldersInput {
2291
2307
  """The ID of the token (`tokenAddress:networkId`)."""
2292
2308
  tokenId: String!
2309
+ """The maximum number of holders to return. Default is 50, maximum is 200."""
2310
+ limit: Int
2293
2311
  """A cursor for use in pagination."""
2294
2312
  cursor: String
2295
2313
  """The attribute to sort the list on"""
@@ -2550,8 +2568,8 @@ type LatestTokenSimResults {
2550
2568
 
2551
2569
  type LaunchpadData {
2552
2570
  """The name of the launchpad."""
2553
- name: String
2554
- """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."""
2571
+ name: String @deprecated(reason: "Use launchpadName instead")
2572
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
2555
2573
  launchpadName: String
2556
2574
  """The percentage of the pool that was sold to the public."""
2557
2575
  graduationPercent: Float
@@ -2571,8 +2589,10 @@ type LaunchpadData {
2571
2589
  migrated: Boolean
2572
2590
  """The pool address after the launchpad was migrated."""
2573
2591
  migratedPoolAddress: String
2574
- """The launchpad protocol"""
2592
+ """The launchpad protocol."""
2575
2593
  launchpadProtocol: String
2594
+ """The icon URL of the launchpad."""
2595
+ launchpadIconUrl: String
2576
2596
  }
2577
2597
 
2578
2598
  """Response returned by `onLaunchpadTokenEvent`."""
@@ -2583,6 +2603,8 @@ type LaunchpadTokenEventOutput {
2583
2603
  networkId: Int!
2584
2604
  """The protocol of the token."""
2585
2605
  protocol: String!
2606
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
2607
+ launchpadName: String!
2586
2608
  """Metadata for the token."""
2587
2609
  token: EnhancedToken!
2588
2610
  """The number of buys in the last 24 hours."""
@@ -2643,6 +2665,12 @@ enum LaunchpadTokenProtocol {
2643
2665
  Moonit
2644
2666
  """Protocol name for MeteoraDBC."""
2645
2667
  MeteoraDBC
2668
+ """Protocol name for Baseapp."""
2669
+ Baseapp
2670
+ """Protocol name for Zora."""
2671
+ ZoraV4
2672
+ """Protocol name for ZoraCreator."""
2673
+ ZoraCreatorV4
2646
2674
  }
2647
2675
 
2648
2676
  scalar link__Import
@@ -2679,7 +2707,7 @@ type LiquidityLock {
2679
2707
  """The protocol with which the liquidity is locked."""
2680
2708
  lockProtocol: LiquidityLockProtocol!
2681
2709
  """The protocol that created the pair"""
2682
- liquidityProtocol: LiquidityProtocol!
2710
+ liquidityProtocol: LiquidityProtocol! @deprecated(reason: "Use liquidityProtocolV2 instead")
2683
2711
  """The protocol that created the pair"""
2684
2712
  liquidityProtocolV2: String!
2685
2713
  """The amount of liquidity locked."""
@@ -4074,27 +4102,27 @@ type NftEvent {
4074
4102
  maker: String!
4075
4103
  """The wallet address of the seller."""
4076
4104
  taker: String!
4077
- tokenPrice: String!
4078
- totalPrice: String!
4105
+ tokenPrice: String! @deprecated(reason: "Some events may lack this value - use the nullable totalTradePrice. tokenPrice will return null values as an empty string.")
4106
+ totalPrice: String! @deprecated(reason: "Some events may lack this value - use the nullable totalTradePrice. totalPrice will return null values as an empty string.")
4079
4107
  """The total trade price for the transaction in the purchasing token. (The transaction can include more than 1 token)."""
4080
4108
  totalTradePrice: String
4081
- individualTokenPrice: String
4082
- individualPrice: String
4109
+ individualTokenPrice: String @deprecated(reason: "Some events may lack this value - use the nullable individualTradePrice. individualTokenPrice will return null values as an empty string.")
4110
+ individualPrice: String @deprecated(reason: "Some events may lack this value - use the nullable individualTradePrice. individualPrice will return null values as an empty string.")
4083
4111
  """The price of each individual NFT in the purchasing token."""
4084
4112
  individualTradePrice: String
4085
- baseTokenAddress: String!
4113
+ baseTokenAddress: String! @deprecated(reason: "No longer supported")
4086
4114
  """The contract address of the purchasing token."""
4087
4115
  paymentTokenAddress: String!
4088
- baseTokenPrice: String
4116
+ baseTokenPrice: String @deprecated(reason: "No longer supported")
4089
4117
  """The total trade price for the transaction in USD. (The transaction can include more than 1 token)."""
4090
4118
  totalPriceUsd: String
4091
- individualBaseTokenPrice: String
4119
+ individualBaseTokenPrice: String @deprecated(reason: "No longer supported")
4092
4120
  """The price of each individual NFT in USD."""
4093
4121
  individualPriceUsd: String
4094
- networkBaseTokenPrice: String
4122
+ networkBaseTokenPrice: String @deprecated(reason: "No longer supported")
4095
4123
  """The total trade price for the transaction in the network's base token. (The transaction can include more than 1 token)."""
4096
4124
  totalPriceNetworkBaseToken: String
4097
- individualNetworkBaseTokenPrice: String
4125
+ individualNetworkBaseTokenPrice: String @deprecated(reason: "No longer supported")
4098
4126
  """The price of each individual NFT in the network's base token."""
4099
4127
  individualPriceNetworkBaseToken: String
4100
4128
  """The event type of the transaction."""
@@ -4387,7 +4415,7 @@ type NftPoolCollectionFilterResult {
4387
4415
  """The image URL for the collection or one of the assets within the collection."""
4388
4416
  imageUrl: String
4389
4417
  """The number of NFTs in all of the collection's pools."""
4390
- nftBalance: Int
4418
+ nftBalance: Int @deprecated(reason: "nftBalance is changing from Int to String - use nftBalanceV2 instead.")
4391
4419
  """The number of NFTs in all of the collection's pools."""
4392
4420
  nftBalanceV2: String
4393
4421
  """The total liquidity of the collection in the network's base token."""
@@ -4403,18 +4431,18 @@ type NftPoolCollectionFilterResult {
4403
4431
  """The highest price at which any of the collection's pools are willing to buy an NFT in USD."""
4404
4432
  offerUSD: String
4405
4433
  """The total supply of the collection."""
4406
- totalSupply: Int
4434
+ totalSupply: Int @deprecated(reason: "totalSupply is changing from Int to String - use totalSupplyV2 instead.")
4407
4435
  totalSupplyV2: String
4408
4436
  """The number of NFTs sold in any of the collection's pools over the collection's lifetime."""
4409
- nftsSoldAll: Int
4437
+ nftsSoldAll: Int @deprecated(reason: "nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.")
4410
4438
  """The number of NFTs sold in any of the collection's pools over the collection's lifetime."""
4411
4439
  nftsSoldAllV2: String
4412
4440
  """The number of NFTs bought in any of the collection's pools over the collection's lifetime."""
4413
- nftsBoughtAll: Int
4441
+ nftsBoughtAll: Int @deprecated(reason: "nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.")
4414
4442
  """The number of NFTs bought in any of the collection's pools over the collection's lifetime."""
4415
4443
  nftsBoughtAllV2: String
4416
4444
  """The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime."""
4417
- nftVolumeAll: Int
4445
+ nftVolumeAll: Int @deprecated(reason: "nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.")
4418
4446
  """The number of NFTs bought or sold in any of the collection's pools over the collection's lifetime."""
4419
4447
  nftVolumeAllV2: String
4420
4448
  """The total volume of the collection in the network's base token over the collection's lifetime."""
@@ -4446,15 +4474,15 @@ type NftPoolCollectionFilterResult {
4446
4474
  """The sum of protocol fees generated by the collection in USD over the collection's lifetime."""
4447
4475
  protocolFeesUSDAll: String
4448
4476
  """The number of NFTs sold in any of the collection's pools over the past 24 hours."""
4449
- nftsSold24: Int
4477
+ nftsSold24: Int @deprecated(reason: "nftsSold24 is changing from Int to String - use nftsSold24V2 instead.")
4450
4478
  """The number of NFTs sold in any of the collection's pools over the past 24 hours."""
4451
4479
  nftsSold24V2: String
4452
4480
  """The number of NFTs bought in any of the collection's pools over the past 24 hours."""
4453
- nftsBought24: Int
4481
+ nftsBought24: Int @deprecated(reason: "nftsBought24 is changing from Int to String - use nftsBought24V2 instead.")
4454
4482
  """The number of NFTs bought in any of the collection's pools over the past 24 hours."""
4455
4483
  nftsBought24V2: String
4456
4484
  """The number of NFTs bought and sold in any of the collection's pools over the past 24 hours."""
4457
- nftVolume24: Int
4485
+ nftVolume24: Int @deprecated(reason: "nftVolume24 is changing from Int to String - use nftVolume24V2 instead.")
4458
4486
  """The number of NFTs bought and sold in any of the collection's pools over the past 24 hours."""
4459
4487
  nftVolume24V2: String
4460
4488
  """The total volume of the collection in the network's base token over the past 24 hours."""
@@ -4660,7 +4688,7 @@ type NftPoolCollectionResponse {
4660
4688
  """The total liquidity of the collection in the network's base token."""
4661
4689
  balanceNBT: String!
4662
4690
  """The current number of NFTs in all the NFT collection's pools."""
4663
- nftBalance: Int!
4691
+ nftBalance: Int! @deprecated(reason: "nftBalance is changing from Int to String - use nftBalanceV2 instead.")
4664
4692
  """The current number of NFTs in all the NFT collection's pools."""
4665
4693
  nftBalanceV2: String!
4666
4694
  """The total volume of the collection in the network's base token over the collection's lifetime."""
@@ -4668,11 +4696,11 @@ type NftPoolCollectionResponse {
4668
4696
  """The total volume of the collection in USD over the collection's lifetime."""
4669
4697
  volumeAllTimeUSD: String
4670
4698
  """The total number of NFTs bought and sold over the collection's lifetime."""
4671
- nftVolumeAllTime: Int
4699
+ nftVolumeAllTime: Int @deprecated(reason: "nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.")
4672
4700
  """The total number of NFTs bought and sold over the collection's lifetime."""
4673
4701
  nftVolumeAllTimeV2: String
4674
4702
  """The media for one of the assets within the NFT collection."""
4675
- media: NftAssetMedia
4703
+ media: NftAssetMedia @deprecated(reason: "Use `image` from `NftContract` instead.")
4676
4704
  """The sum of protocol fees generated by the collection in the network's base token over the collection's lifetime."""
4677
4705
  protocolFeesNBTAll: String
4678
4706
  """The sum of protocol fees generated by the collection in USD over the collection's lifetime."""
@@ -4757,7 +4785,7 @@ type NftPoolEventNftTransferV2 {
4757
4785
  """The number of tokens involved in the transfer."""
4758
4786
  nftQuantity: String!
4759
4787
  """The number of tokens involved in the transfer."""
4760
- nftTokenQuantity: String!
4788
+ nftTokenQuantity: String! @deprecated(reason: "nftTokenQuantity is no longer supported - use nftQuantity instead.")
4761
4789
  """The value of the token at the time of transfer."""
4762
4790
  amountT: String!
4763
4791
  }
@@ -4861,7 +4889,7 @@ type NftPoolFilterResult {
4861
4889
  """For ERC1155 pools, the list of NFT token IDs that are accepted by the pool."""
4862
4890
  acceptedNftTokenIds: [String]
4863
4891
  """The current number of NFTs in the pool."""
4864
- nftBalance: Int
4892
+ nftBalance: Int @deprecated(reason: "nftBalance is changing from Int to String - use nftBalanceV2 instead.")
4865
4893
  """The current number of NFTs in the pool."""
4866
4894
  nftBalanceV2: String
4867
4895
  """The current pool liquidity in the network's base token."""
@@ -4887,15 +4915,15 @@ type NftPoolFilterResult {
4887
4915
  """The current price at which the pool is willing to buy an NFT in USD."""
4888
4916
  offerUSD: String
4889
4917
  """The total number of NFTs sold over the pool's lifetime."""
4890
- nftsSoldAll: Int
4918
+ nftsSoldAll: Int @deprecated(reason: "nftsSoldAll is changing from Int to String - use nftsSoldAllV2 instead.")
4891
4919
  """The total number of NFTs sold over the pool's lifetime."""
4892
4920
  nftsSoldAllV2: String
4893
4921
  """The total number of NFTs bought over the pool's lifetime."""
4894
- nftsBoughtAll: Int
4922
+ nftsBoughtAll: Int @deprecated(reason: "nftsBoughtAll is changing from Int to String - use nftsBoughtAllV2 instead.")
4895
4923
  """The total number of NFTs bought over the pool's lifetime."""
4896
4924
  nftsBoughtAllV2: String
4897
4925
  """The total number of NFTs bought and sold over the pool's lifetime."""
4898
- nftVolumeAll: Int
4926
+ nftVolumeAll: Int @deprecated(reason: "nftVolumeAll is changing from Int to String - use nftVolumeAllV2 instead.")
4899
4927
  """The total number of NFTs bought and sold over the pool's lifetime."""
4900
4928
  nftVolumeAllV2: String
4901
4929
  """The total volume of the pool in the network's base token over the pool's lifetime."""
@@ -4929,15 +4957,15 @@ type NftPoolFilterResult {
4929
4957
  """The sum of protocol fees generated by the pool in USD over the pool's lifetime."""
4930
4958
  protocolFeesUSDAll: String
4931
4959
  """The total number of NFTs sold by the pool over the past 24 hours."""
4932
- nftsSold24: Int
4960
+ nftsSold24: Int @deprecated(reason: "nftsSold24 is changing from Int to String - use nftsSold24V2 instead.")
4933
4961
  """The total number of NFTs sold by the pool over the past 24 hours."""
4934
4962
  nftsSold24V2: String
4935
4963
  """The total number of NFTs bought by the pool over the past 24 hours."""
4936
- nftsBought24: Int
4964
+ nftsBought24: Int @deprecated(reason: "nftsBought24 is changing from Int to String - use nftsBought24V2 instead.")
4937
4965
  """The total number of NFTs bought by the pool over the past 24 hours."""
4938
4966
  nftsBought24V2: String
4939
4967
  """The total number of NFTs bought and sold over the past 24 hours."""
4940
- nftVolume24: Int
4968
+ nftVolume24: Int @deprecated(reason: "nftVolume24 is changing from Int to String - use nftVolume24V2 instead.")
4941
4969
  """The total number of NFTs bought and sold over the past 24 hours."""
4942
4970
  nftVolume24V2: String
4943
4971
  """The total volume of the pool in the network's base token over the past 24 hours."""
@@ -5216,7 +5244,7 @@ type NftPoolResponse {
5216
5244
  """The current pool liquidity in the network's base token."""
5217
5245
  balanceNBT: String!
5218
5246
  """The current number of NFTs in the pool."""
5219
- nftBalance: Int
5247
+ nftBalance: Int @deprecated(reason: "nftBalance is changing from Int to String - use nftBalanceV2 instead.")
5220
5248
  """The current number of NFTs in the pool."""
5221
5249
  nftBalanceV2: String!
5222
5250
  """The total volume of the pool in the network's base token over the pool's lifetime."""
@@ -5232,7 +5260,7 @@ type NftPoolResponse {
5232
5260
  """The total volume of the pool in the pool's liquidity token over the pool's lifetime."""
5233
5261
  volumeAllTimeT: String!
5234
5262
  """The total number of NFTs bought and sold over the pool's lifetime."""
5235
- nftVolumeAllTime: Int!
5263
+ nftVolumeAllTime: Int! @deprecated(reason: "nftVolumeAllTime is changing from Int to String - use nftVolumeAllTimeV2 instead.")
5236
5264
  """The total number of NFTs bought and sold over the pool's lifetime."""
5237
5265
  nftVolumeAllTimeV2: String!
5238
5266
  """The list of NFT assets in the pool."""
@@ -5547,19 +5575,27 @@ input OnEventsCreatedByMakerInput {
5547
5575
  }
5548
5576
 
5549
5577
  input OnLaunchpadTokenEventBatchInput {
5578
+ """The protocol of the token."""
5550
5579
  protocol: LaunchpadTokenProtocol
5580
+ """The network ID that the token is deployed on."""
5551
5581
  networkId: Int
5582
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
5583
+ launchpadName: String
5584
+ """The type of event."""
5585
+ eventType: LaunchpadTokenEventType
5552
5586
  }
5553
5587
 
5554
5588
  """Input for `onLaunchpadTokenEvent`."""
5555
5589
  input OnLaunchpadTokenEventInput {
5556
5590
  """The protocol of the token."""
5557
5591
  protocol: LaunchpadTokenProtocol
5592
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
5593
+ launchpadName: String
5558
5594
  """The type of event."""
5559
5595
  eventType: LaunchpadTokenEventType
5560
- """The contract address of the token. Required when `networkId` is provided."""
5596
+ """The contract address of the token. Requires `networkId`."""
5561
5597
  address: String
5562
- """The network ID that the token is deployed on. Required when `address` is provided."""
5598
+ """The network ID that the token is deployed on."""
5563
5599
  networkId: Int
5564
5600
  }
5565
5601
 
@@ -5652,6 +5688,10 @@ type Pair {
5652
5688
  token1Data: EnhancedToken
5653
5689
  """The pooled amounts of each token in the pair."""
5654
5690
  pooled: PooledTokenValues
5691
+ """Custom data for the pair, only certain protocols have this. (uniswapv4, arenatrade for example)"""
5692
+ protocolData: ProtocolData
5693
+ """The per-protocol data for the pair, if applicable"""
5694
+ protocolCustomData: PairProtocolCustomData @deprecated(reason: "Use protocolData instead")
5655
5695
  }
5656
5696
 
5657
5697
  """Input type of `PairChartInput`."""
@@ -5968,6 +6008,8 @@ input PairFilters {
5968
6008
  trendingIgnored: Boolean
5969
6009
  """Whether to filter for pairs on testnet networks. Use `true` for testnet pairs only, `false` for mainnet pairs only and `undefined` (default) for both."""
5970
6010
  isTestnet: Boolean
6011
+ """The address of the hook contract for applicable protocols."""
6012
+ hookAddress: [String]
5971
6013
  """The average age of the wallets that traded in the last 24h"""
5972
6014
  walletAgeAvg: NumberFilter
5973
6015
  """The standard deviation of age of the wallets that traded in the last 24h"""
@@ -6075,6 +6117,11 @@ type PairMetadataToken {
6075
6117
  labels: [ContractLabel]
6076
6118
  }
6077
6119
 
6120
+ type PairProtocolCustomData {
6121
+ """The address of the hook contract for Uniswap V4 pools."""
6122
+ uniswapV4HookAddress: String
6123
+ }
6124
+
6078
6125
  """Input type of `PairRanking`."""
6079
6126
  input PairRanking {
6080
6127
  """The attribute to rank pairs by."""
@@ -6956,6 +7003,8 @@ type PrimePoolWithdrawData {
6956
7003
  userCachedAmount: String!
6957
7004
  }
6958
7005
 
7006
+ union ProtocolData = UniswapV4Data | ArenaTradeData
7007
+
6959
7008
  """The type of publishing for the webhook. If not set, it defaults to `SINGLE`."""
6960
7009
  enum PublishingType {
6961
7010
  BATCH
@@ -7444,7 +7493,7 @@ type TokenFilterResult {
7444
7493
  createdAt: Int
7445
7494
  """The unix timestamp for the token's last transaction."""
7446
7495
  lastTransaction: Int
7447
- age: Int
7496
+ age: Int @deprecated(reason: "Age isn't supported - use createdAt instead")
7448
7497
  """The number of buys in the past 5 minutes."""
7449
7498
  buyCount5m: Int
7450
7499
  """The number of buys in the past hour."""
@@ -7477,7 +7526,7 @@ type TokenFilterResult {
7477
7526
  volumeChange24: String
7478
7527
  """The exchanges the token is listed on."""
7479
7528
  exchanges: [Exchange]
7480
- fdv: String
7529
+ fdv: String @deprecated(reason: "FDV isn't supported - use marketCap instead")
7481
7530
  """The highest price in USD in the past 5 minutes."""
7482
7531
  high5m: String
7483
7532
  """The highest price in USD in the past hour."""
@@ -7612,7 +7661,7 @@ input TokenFilters {
7612
7661
  createdAt: NumberFilter
7613
7662
  """The unix timestamp for the token's last transaction."""
7614
7663
  lastTransaction: NumberFilter
7615
- age: NumberFilter
7664
+ age: NumberFilter @deprecated(reason: "Age isn't supported - use createdAt instead")
7616
7665
  """The number of buys in the past 5 minutes."""
7617
7666
  buyCount5m: NumberFilter
7618
7667
  """The number of buys in the past hour."""
@@ -7647,7 +7696,7 @@ input TokenFilters {
7647
7696
  exchangeId: [String]
7648
7697
  """The list of exchange contract addresses to filter by."""
7649
7698
  exchangeAddress: [String]
7650
- fdv: NumberFilter
7699
+ fdv: NumberFilter @deprecated(reason: "FDV isn't supported - use marketCap instead")
7651
7700
  """The highest price in USD in the past 5 minutes."""
7652
7701
  high5m: NumberFilter
7653
7702
  """The highest price in USD in the past hour."""
@@ -7768,13 +7817,13 @@ input TokenFilters {
7768
7817
  isVerified: Boolean
7769
7818
  """Filter potential Scams"""
7770
7819
  potentialScam: Boolean
7771
- """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`."""
7820
+ """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`."""
7772
7821
  trendingIgnored: Boolean
7773
7822
  """The address of the creator of the token"""
7774
7823
  creatorAddress: String
7775
7824
  """The launchpad protocol"""
7776
7825
  launchpadProtocol: String
7777
- """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."""
7826
+ """The name of the launchpad. One of the following: Pump.fun, Bonk, Baseapp, Zora, Zora Creator, Four.meme, Believe, Moonshot, Jupiter Studio, boop, ArenaTrade, Moonit, LaunchLab, MeteoraDBC, Vertigo, Cooking.City, time.fun, BAGS, Circus, Dealr, OhFuckFun, PrintFun, Trend, shout.fun, xApple, Sendshot, DubDub, cults."""
7778
7827
  launchpadName: String
7779
7828
  """Indicates if the launchpad is completed"""
7780
7829
  launchpadCompleted: Boolean
@@ -7987,7 +8036,7 @@ input TokenRanking {
7987
8036
  enum TokenRankingAttribute {
7988
8037
  createdAt
7989
8038
  lastTransaction
7990
- age
8039
+ age @deprecated(reason: "Use createdAt instead")
7991
8040
  buyCount5m
7992
8041
  buyCount1
7993
8042
  buyCount4
@@ -8482,8 +8531,19 @@ type UnconfirmedSwapEventData {
8482
8531
  amountBaseToken: String
8483
8532
  }
8484
8533
 
8534
+ type UniswapV4Data {
8535
+ """The address of the hook contract for Uniswap V4 pools."""
8536
+ uniswapV4HookAddress: String
8537
+ type: String!
8538
+ }
8539
+
8485
8540
  scalar Void
8486
8541
 
8542
+ """Input arguments for the `backfillWalletAggregates` mutation."""
8543
+ input WalletAggregateBackfillInput {
8544
+ walletAddress: String!
8545
+ }
8546
+
8487
8547
  """The state of the wallet backfill."""
8488
8548
  enum WalletAggregateBackfillState {
8489
8549
  """Historical stats calculations for this wallet have been successfully processed"""
@@ -8500,6 +8560,17 @@ enum WalletAggregateBackfillState {
8500
8560
  BackfillNotFound
8501
8561
  }
8502
8562
 
8563
+ """Input arguments for the `walletAggregateBackfillState` mutation."""
8564
+ input WalletAggregateBackfillStateInput {
8565
+ walletAddress: String!
8566
+ }
8567
+
8568
+ """The response for the `walletAggregateBackfillState` mutation."""
8569
+ type WalletAggregateBackfillStateResponse {
8570
+ walletAddress: String!
8571
+ status: WalletAggregateBackfillState!
8572
+ }
8573
+
8503
8574
  """The data for a chart of a wallet's activity."""
8504
8575
  type WalletChartData {
8505
8576
  """The timestamp"""
@@ -8564,6 +8635,8 @@ type WalletFilterConnection {
8564
8635
  type WalletFilterResult {
8565
8636
  """The wallet address"""
8566
8637
  address: String!
8638
+ """The network ID of the wallet (only present if filtered by network)"""
8639
+ networkId: Int
8567
8640
  """The unix timestamp for the first transaction from this wallet"""
8568
8641
  firstTransactionAt: Int
8569
8642
  """The unix timestamp for the last transaction from this wallet"""
@@ -8654,8 +8727,6 @@ type WalletFilterResult {
8654
8727
  scammerScore: Int
8655
8728
  """The bot score for the wallet."""
8656
8729
  botScore: Int
8657
- """The network ID of the wallet (only present if filtered by network)"""
8658
- networkId: Int
8659
8730
  """The native token balance of the wallet (only present if filtered by network)"""
8660
8731
  nativeTokenBalance: String
8661
8732
  """The backfill state of the wallet."""