@codex-data/sdk 1.0.31 → 1.0.34

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 (35) hide show
  1. package/dist/resources/graphql.d.ts +50 -40
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js.map +1 -1
  4. package/dist/sdk/Mutation.d.ts +3 -3
  5. package/dist/sdk/Mutation.d.ts.map +1 -1
  6. package/dist/sdk/Mutation.js +3 -3
  7. package/dist/sdk/Mutation.js.map +1 -1
  8. package/dist/sdk/Query.d.ts +50 -50
  9. package/dist/sdk/Query.d.ts.map +1 -1
  10. package/dist/sdk/Query.js +50 -50
  11. package/dist/sdk/Query.js.map +1 -1
  12. package/dist/sdk/Subscribe.d.ts +16 -16
  13. package/dist/sdk/Subscribe.d.ts.map +1 -1
  14. package/dist/sdk/Subscribe.js +83 -83
  15. package/dist/sdk/Subscribe.js.map +1 -1
  16. package/dist/sdk/generated/gql.d.ts +2 -2
  17. package/dist/sdk/generated/gql.d.ts.map +1 -1
  18. package/dist/sdk/generated/gql.js +1 -1
  19. package/dist/sdk/generated/gql.js.map +1 -1
  20. package/dist/sdk/generated/graphql.d.ts +55 -43
  21. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  22. package/dist/sdk/generated/graphql.js +1 -1
  23. package/dist/sdk/generated/graphql.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/resources/generated_queries/FilterTokenWallets.graphql +2 -0
  26. package/src/resources/graphql.schema.json +94 -187
  27. package/src/resources/graphql.ts +50 -43
  28. package/src/resources/networkConfigs.json +34 -3
  29. package/src/resources/queries_override/FilterTokenWallets.graphql +144 -0
  30. package/src/resources/schema.graphql +41 -53
  31. package/src/sdk/Mutation.ts +7 -7
  32. package/src/sdk/Query.ts +108 -108
  33. package/src/sdk/Subscribe.ts +153 -153
  34. package/src/sdk/generated/gql.ts +3 -3
  35. package/src/sdk/generated/graphql.ts +55 -48
@@ -325,7 +325,7 @@ type Query {
325
325
  filterTokens(
326
326
  """A set of filters to apply."""
327
327
  filters: TokenFilters
328
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
328
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
329
329
  statsType: TokenPairStatisticsType
330
330
  """A phrase to search for. Can match a token contract address or partially match a token's name or symbol."""
331
331
  phrase: String
@@ -344,7 +344,7 @@ type Query {
344
344
  filterPairs(
345
345
  """A set of filters to apply."""
346
346
  filters: PairFilters
347
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
347
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
348
348
  statsType: TokenPairStatisticsType
349
349
  """A phrase to search for. Can match a token or pair contract address or ID (`address:networkId`), or partially match a token name or symbol."""
350
350
  phrase: String
@@ -384,7 +384,7 @@ type Query {
384
384
  windowSizes: [DetailedStatsWindowSize]
385
385
  """The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute."""
386
386
  bucketCount: Int
387
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
387
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
388
388
  statsType: TokenPairStatisticsType
389
389
  ): DetailedStats @deprecated(reason: "Use `getDetailedPairStats` instead, it has more resolutions and better support")
390
390
  """Returns bucketed stats for a given token within a pair."""
@@ -401,7 +401,7 @@ type Query {
401
401
  durations: [DetailedPairStatsDuration]
402
402
  """The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute."""
403
403
  bucketCount: Int
404
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
404
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
405
405
  statsType: TokenPairStatisticsType
406
406
  ): DetailedPairStats
407
407
  """Returns bucketed stats for a given token within a list of pairs."""
@@ -474,7 +474,7 @@ type Query {
474
474
  removeLeadingNullValues: Boolean
475
475
  """Whether to remove empty bars from the response. This is useful for eliminating gaps in low-activity tokens. Default is `false`."""
476
476
  removeEmptyBars: Boolean
477
- """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."""
477
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
478
478
  statsType: TokenPairStatisticsType
479
479
  """Guarantees number of bars returned is at most this number. Use `countback: 1500` with `from: 0` for maximum results."""
480
480
  countback: Int
@@ -497,26 +497,13 @@ type Query {
497
497
  removeEmptyBars: Boolean
498
498
  """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."""
499
499
  quoteToken: QuoteToken
500
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
500
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
501
501
  statsType: TokenPairStatisticsType
502
502
  """Guarantees number of bars returned is at most this number. Use `countback: 1500` with `from: 0` for maximum results."""
503
503
  countback: Int
504
504
  """Specify the type of symbol you want to fetch values for. Can be `TOKEN` or `POOL`."""
505
505
  symbolType: SymbolType
506
506
  ): BarsResponse
507
- """Returns a list of tokens matching a given query string."""
508
- searchTokens(
509
- """The maximum number of tokens to return."""
510
- limit: Int
511
- """Whether to filter out low volume results from the response. Low volume is less than $500 USD. This setting has no effect when only low volume results are found. Default is `true`."""
512
- lowVolumeFilter: Boolean
513
- """The list of network IDs to filter by."""
514
- networkFilter: [Int!]
515
- """The time frame to use for token metadata. Can be `60`, `240`, `720`, or `1D`."""
516
- resolution: String
517
- """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."""
518
- search: String!
519
- ): TokenSearchResponse @deprecated(reason: "This query is no longer supported and will not return up to date data. Use `filterTokens` instead.")
520
507
  """Returns the percentage of a token's total supply held collectively by its top 10 holders."""
521
508
  top10HoldersPercent(
522
509
  tokenId: String!
@@ -567,7 +554,7 @@ type Query {
567
554
  pairId: String!
568
555
  """The token of interest within the pair. Can be `token0` or `token1`."""
569
556
  quoteToken: QuoteToken
570
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
557
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`. Default is `UNFILTERED`."""
571
558
  statsType: TokenPairStatisticsType
572
559
  ): PairMetadata!
573
560
  """Returns new tokens listed over the last three days."""
@@ -755,16 +742,16 @@ type Subscription {
755
742
  ): OnUnconfirmedBarsUpdated
756
743
  """Live-streamed bar chart data to track price changes over time for a token."""
757
744
  onTokenBarsUpdated(
758
- """The ID of the pair (`address`:`networkId`)."""
745
+ """The ID of the token (`address`:`networkId`). Required unless you are on an enterprise plan including BarFeed features."""
759
746
  tokenId: String
760
- """The networkId to use when getting all bars per network"""
747
+ """The networkId to use when getting all bars per network."""
761
748
  networkId: Int
762
749
  ): OnTokenBarsUpdatedResponse
763
750
  """Live-streamed transactions for a pair."""
764
751
  onEventsCreated(
765
752
  """The pair contract address."""
766
753
  address: String
767
- """The ID of the pair (`address`:`networkId`)."""
754
+ """The ID of the pair (`address`:`networkId`). Required unless you are on an enterprise plan including EventFeed features."""
768
755
  id: String
769
756
  """The token of interest within the pair. Can be `token0` or `token1`."""
770
757
  quoteToken: QuoteToken
@@ -778,7 +765,7 @@ type Subscription {
778
765
  """Live-streamed unconfirmed transactions for a token. (Solana only)"""
779
766
  onUnconfirmedEventsCreated(
780
767
  """The pair contract address."""
781
- address: String
768
+ address: String @deprecated(reason: "Unused")
782
769
  """The ID of the pair (`address`:`networkId`)."""
783
770
  id: String
784
771
  """The token of interest within the pair. Can be `token0` or `token1`."""
@@ -790,11 +777,11 @@ type Subscription {
790
777
  ): AddUnconfirmedEventsByMakerOutput
791
778
  """Live-streamed price updates for a token."""
792
779
  onPriceUpdated(
793
- """The token contract address."""
780
+ """The token contract address. Required unless you are on an enterprise plan including PriceFeed features."""
794
781
  address: String
795
782
  """The network ID the token is deployed on."""
796
783
  networkId: Int
797
- """The pair contract address from which to get pricing"""
784
+ """The pair contract address from which to get pricing. Defaults to the top pair for the token."""
798
785
  sourcePairAddress: String
799
786
  ): Price
800
787
  """Live-streamed price updates for multiple tokens."""
@@ -1587,7 +1574,7 @@ type DetailedPairStats {
1587
1574
  tokenOfInterest: TokenOfInterest
1588
1575
  """The unix timestamp for the last transaction to happen on the pair."""
1589
1576
  lastTransaction: Int
1590
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
1577
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
1591
1578
  statsType: TokenPairStatisticsType!
1592
1579
  """The breakdown of stats over a 5 minute window."""
1593
1580
  stats_min5: WindowedDetailedPairStats
@@ -1662,7 +1649,7 @@ type DetailedStats {
1662
1649
  pairId: String!
1663
1650
  """The token of interest used to calculate token-specific stats."""
1664
1651
  tokenOfInterest: TokenOfInterest!
1665
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
1652
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
1666
1653
  statsType: TokenPairStatisticsType!
1667
1654
  """The breakdown of stats over a 5 minute window."""
1668
1655
  stats_min5: WindowedDetailedStats
@@ -1838,6 +1825,10 @@ type EnhancedToken {
1838
1825
  mintable: String
1839
1826
  """Whether or not the token is freezable"""
1840
1827
  freezable: String
1828
+ """Determines if freezable is a valid address or null value for the authority, or if the freezable state has not yet been determined."""
1829
+ isFreezableValid: Boolean
1830
+ """Determines if mintable is a valid address or null value for the authority, or if the mintable state has not yet been determined."""
1831
+ isMintableValid: Boolean
1841
1832
  """The launchpad data for the token, if applicable."""
1842
1833
  launchpad: LaunchpadData
1843
1834
  """The pair that the token is contained in"""
@@ -1906,7 +1897,7 @@ type Event {
1906
1897
  type EventConnection {
1907
1898
  """A list of transactions for a token's top pair."""
1908
1899
  items: [Event]
1909
- """A cursor for use in pagination."""
1900
+ """A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering."""
1910
1901
  cursor: String
1911
1902
  }
1912
1903
 
@@ -2235,7 +2226,9 @@ input FilterNetworkWalletsInput {
2235
2226
  """The input for filtering wallets for a token."""
2236
2227
  input FilterTokenWalletsInput {
2237
2228
  """The ID of the token to filter wallets for"""
2238
- tokenId: String
2229
+ tokenId: String @deprecated(reason: "Use tokenIds instead")
2230
+ """The IDs of the tokens to filter wallets for. Maximum 50 tokenIds. If you provide more than one tokenId, you must also provide at least one walletAddress in the wallets list."""
2231
+ tokenIds: [String]
2239
2232
  """The wallet address to filter wallets for"""
2240
2233
  walletAddress: String @deprecated(reason: "Use wallets instead")
2241
2234
  """A list of wallet addresses to filter wallets for"""
@@ -2302,7 +2295,7 @@ input GetDetailedPairsStatsInput {
2302
2295
  durations: [DetailedPairStatsDuration]
2303
2296
  """The number of aggregated values to receive. Note: Each duration has predetermined bucket sizes. The first n-1 buckets are historical. The last bucket is a snapshot of current data. duration `day1`: 6 buckets (4 hours each) plus 1 partial bucket duration `hour12`: 12 buckets (1 hour each) plus 1 partial bucket duration `hour4`: 8 buckets (30 min each) plus 1 partial bucket duration `hour1`: 12 buckets (5 min each) plus 1 partial bucket duration `min5`: 5 buckets (1 min each) plus 1 partial bucket For example, requesting 11 buckets for a `min5` duration will return the last 10 minutes worth of data plus a snapshot for the current minute."""
2304
2297
  bucketCount: Int
2305
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
2298
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
2306
2299
  statsType: TokenPairStatisticsType
2307
2300
  }
2308
2301
 
@@ -2951,7 +2944,7 @@ type LockedLiquidityData {
2951
2944
  type MakerEventConnection {
2952
2945
  """A list of transactions for a token's top pair."""
2953
2946
  items: [Event]
2954
- """A cursor for use in pagination."""
2947
+ """A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering."""
2955
2948
  cursor: String
2956
2949
  }
2957
2950
 
@@ -5688,7 +5681,7 @@ type OnBarsUpdatedResponse {
5688
5681
  pairId: String!
5689
5682
  """The unix timestamp for the new bar."""
5690
5683
  timestamp: Int!
5691
- """The type of statistics used. Can be `Filtered` or `Unfiltered`."""
5684
+ """The type of statistics used. Can be `FILTERED` or `UNFILTERED`."""
5692
5685
  statsType: TokenPairStatisticsType!
5693
5686
  """The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`."""
5694
5687
  eventSortKey: String!
@@ -5752,8 +5745,11 @@ input OnLaunchpadTokenEventInput {
5752
5745
  }
5753
5746
 
5754
5747
  input OnPricesUpdatedInput {
5748
+ """The token contract address."""
5755
5749
  address: String!
5750
+ """The network ID the token is deployed on."""
5756
5751
  networkId: Int!
5752
+ """The pair contract address from which to get pricing. Defaults to the top pair for the token."""
5757
5753
  sourcePairAddress: String
5758
5754
  }
5759
5755
 
@@ -5767,7 +5763,7 @@ type OnTokenBarsUpdatedResponse {
5767
5763
  pairId: String @deprecated(reason: "pairs are no longer used for pricing")
5768
5764
  """The unix timestamp for the new bar."""
5769
5765
  timestamp: Int!
5770
- """The type of statistics used. Can be `Filtered` or `Unfiltered`."""
5766
+ """The type of statistics used. Only `FILTERED`."""
5771
5767
  statsType: TokenPairStatisticsType!
5772
5768
  """The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded). For example, `0000000016414564#00000224#00000413`."""
5773
5769
  eventSortKey: String!
@@ -5782,7 +5778,7 @@ type OnTokenBarsUpdatedResponse {
5782
5778
  }
5783
5779
 
5784
5780
  input OnTokenEventsCreatedInput {
5785
- """The token address to filter by."""
5781
+ """The token address to filter by. Required unless you are on an enterprise plan including EventFeed features."""
5786
5782
  tokenAddress: String
5787
5783
  """The network ID to filter by."""
5788
5784
  networkId: Int!
@@ -5826,6 +5822,8 @@ type Pair {
5826
5822
  id: String!
5827
5823
  """The network ID the pair is deployed on."""
5828
5824
  networkId: Int!
5825
+ """The protocol of the pair. E.g. UniswapV4, RaydiumV4, PumpV1, etc."""
5826
+ protocol: String
5829
5827
  """The amount of required tick separation. Only applicable for pairs on UniswapV3."""
5830
5828
  tickSpacing: Int
5831
5829
  """The contract address of `token0`."""
@@ -6191,7 +6189,7 @@ type PairMetadata {
6191
6189
  nonLiquidityToken: String
6192
6190
  """The contract address of the pair."""
6193
6191
  pairAddress: String!
6194
- """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`"""
6192
+ """The type of statistics returned. Can be `FILTERED` or `UNFILTERED`."""
6195
6193
  statsType: TokenPairStatisticsType!
6196
6194
  """The quote token price in USD."""
6197
6195
  price: String!
@@ -6208,7 +6206,7 @@ type PairMetadata {
6208
6206
  """The percent price change in the past 24 hours. Decimal format."""
6209
6207
  priceChange24: Float
6210
6208
  """The percent price change in the past week. Decimal format."""
6211
- priceChange1w: Float
6209
+ priceChange1w: Float @deprecated(reason: "Inaccurate")
6212
6210
  """The amount of required tick separation. Only applicable for pairs on UniswapV3."""
6213
6211
  tickSpacing: Int
6214
6212
  """Pair metadata for the first token in the pair."""
@@ -6224,7 +6222,7 @@ type PairMetadata {
6224
6222
  """The trade volume in USD in the past 24 hours."""
6225
6223
  volume24: String
6226
6224
  """The trade trade volume in USD in the past week."""
6227
- volume1w: String
6225
+ volume1w: String @deprecated(reason: "Inaccurate")
6228
6226
  """The trade volume in USD in the past 5 minutes."""
6229
6227
  volume5m: String
6230
6228
  """The highest price in USD in the past 5 minutes."""
@@ -6238,7 +6236,7 @@ type PairMetadata {
6238
6236
  """The highest price in USD in the past 24 hours."""
6239
6237
  highPrice24: String
6240
6238
  """The highest price in USD in the past week."""
6241
- highPrice1w: String
6239
+ highPrice1w: String @deprecated(reason: "Inaccurate")
6242
6240
  """The lowest price in USD in the past 5 minutes."""
6243
6241
  lowPrice5m: String
6244
6242
  """The lowest price in USD in the past hour."""
@@ -6250,7 +6248,7 @@ type PairMetadata {
6250
6248
  """The lowest price in USD in the past 4 hours."""
6251
6249
  lowPrice4: String
6252
6250
  """The lowest price in USD in the past week."""
6253
- lowPrice1w: String
6251
+ lowPrice1w: String @deprecated(reason: "Inaccurate")
6254
6252
  """Token metadata for the first token in the pair."""
6255
6253
  enhancedToken0: EnhancedToken
6256
6254
  """Token metadata for the second token in the pair."""
@@ -6661,9 +6659,9 @@ type Price {
6661
6659
  """The unix timestamp for the price."""
6662
6660
  timestamp: Int
6663
6661
  """The pool that emitted the swap generating this price"""
6664
- poolAddress: String!
6662
+ poolAddress: String @deprecated(reason: "Pricing no longer based on specific pools")
6665
6663
  """Ratio of how confident we are in the price"""
6666
- confidence: Float
6664
+ confidence: Float @deprecated(reason: "Pricing no longer based on specific pools")
6667
6665
  """The internal pool address for the price"""
6668
6666
  internalPoolAddress: String
6669
6667
  }
@@ -8196,7 +8194,7 @@ type TokenLifecycleEvent {
8196
8194
  type TokenLifecycleEventConnection {
8197
8195
  """A list of transactions for a token's top pair."""
8198
8196
  items: [TokenLifecycleEvent]!
8199
- """A cursor for use in pagination."""
8197
+ """A cursor for use in pagination. If non-null, more results are available; pages may be empty due to filtering."""
8200
8198
  cursor: String
8201
8199
  }
8202
8200
 
@@ -8398,16 +8396,6 @@ enum TokenRankingAttribute {
8398
8396
  swapPct7dOldWallet
8399
8397
  }
8400
8398
 
8401
- """Response returned by `searchTokens`."""
8402
- type TokenSearchResponse {
8403
- """The number of additional high volume results found. Only used if `lowVolumeFilter` is set to `true`."""
8404
- hasMore: Int
8405
- """If `lowVolumeFilter` is set to `true`, the number of additional low volume results found. If `lowVolumeFilter` is set to `false`, the number of additional high and low volume results found."""
8406
- hasMoreLowVolume: Int
8407
- """A list of tokens."""
8408
- tokens: [TokenWithMetadata!]
8409
- }
8410
-
8411
8399
  """A sparkline for a token."""
8412
8400
  type TokenSparkline {
8413
8401
  """The token id"""
@@ -15,15 +15,15 @@ import { Codex } from "./index";
15
15
 
16
16
  export class Mutation {
17
17
  constructor(private sdk: Codex) {}
18
- createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
19
- this.sdk.mutation(CreateWebhooksDocument, vars);
20
- deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
21
- this.sdk.mutation(DeleteWebhooksDocument, vars);
18
+ backfillWalletAggregates = async (
19
+ vars: BackfillWalletAggregatesMutationVariables,
20
+ ) => this.sdk.mutation(BackfillWalletAggregatesDocument, vars);
22
21
  createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
23
22
  this.sdk.mutation(CreateApiTokensDocument, vars);
24
23
  deleteApiToken = async (vars: DeleteApiTokenMutationVariables) =>
25
24
  this.sdk.mutation(DeleteApiTokenDocument, vars);
26
- backfillWalletAggregates = async (
27
- vars: BackfillWalletAggregatesMutationVariables,
28
- ) => this.sdk.mutation(BackfillWalletAggregatesDocument, vars);
25
+ createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
26
+ this.sdk.mutation(CreateWebhooksDocument, vars);
27
+ deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
28
+ this.sdk.mutation(DeleteWebhooksDocument, vars);
29
29
  }
package/src/sdk/Query.ts CHANGED
@@ -133,141 +133,141 @@ import { Codex } from "./index";
133
133
 
134
134
  export class Query {
135
135
  constructor(private sdk: Codex) {}
136
- getNftPoolsByOwner = async (vars: GetNftPoolsByOwnerQueryVariables) =>
137
- this.sdk.query(GetNftPoolsByOwnerDocument, vars);
136
+ getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
137
+ this.sdk.query(GetDetailedPairsStatsDocument, vars);
138
138
  tokenTopTraders = async (vars: TokenTopTradersQueryVariables) =>
139
139
  this.sdk.query(TokenTopTradersDocument, vars);
140
- detailedWalletStats = async (vars: DetailedWalletStatsQueryVariables) =>
141
- this.sdk.query(DetailedWalletStatsDocument, vars);
142
- getTokenEventsForMaker = async (vars: GetTokenEventsForMakerQueryVariables) =>
143
- this.sdk.query(GetTokenEventsForMakerDocument, vars);
144
- getNftEvents = async (vars: GetNftEventsQueryVariables) =>
145
- this.sdk.query(GetNftEventsDocument, vars);
146
- tokenLifecycleEvents = async (vars: TokenLifecycleEventsQueryVariables) =>
147
- this.sdk.query(TokenLifecycleEventsDocument, vars);
140
+ primeHolders = async (vars: PrimeHoldersQueryVariables) =>
141
+ this.sdk.query(PrimeHoldersDocument, vars);
148
142
  balances = async (vars: BalancesQueryVariables) =>
149
143
  this.sdk.query(BalancesDocument, vars);
150
- getNftAssets = async (vars: GetNftAssetsQueryVariables) =>
151
- this.sdk.query(GetNftAssetsDocument, vars);
152
- liquidityLocks = async (vars: LiquidityLocksQueryVariables) =>
153
- this.sdk.query(LiquidityLocksDocument, vars);
154
- liquidityMetadataByToken = async (
155
- vars: LiquidityMetadataByTokenQueryVariables,
156
- ) => this.sdk.query(LiquidityMetadataByTokenDocument, vars);
157
- apiTokens = async (vars: ApiTokensQueryVariables) =>
158
- this.sdk.query(ApiTokensDocument, vars);
159
- getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
160
- this.sdk.query(GetDetailedPairStatsDocument, vars);
161
- getPrimePoolAssets = async (vars: GetPrimePoolAssetsQueryVariables) =>
162
- this.sdk.query(GetPrimePoolAssetsDocument, vars);
144
+ getNftPool = async (vars: GetNftPoolQueryVariables) =>
145
+ this.sdk.query(GetNftPoolDocument, vars);
146
+ getNftCollectionMetadata = async (
147
+ vars: GetNftCollectionMetadataQueryVariables,
148
+ ) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
149
+ getNetworks = async (vars: GetNetworksQueryVariables) =>
150
+ this.sdk.query(GetNetworksDocument, vars);
151
+ getNetworkStats = async (vars: GetNetworkStatsQueryVariables) =>
152
+ this.sdk.query(GetNetworkStatsDocument, vars);
153
+ getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
154
+ this.sdk.query(GetEventLabelsDocument, vars);
163
155
  filterTokens = async (vars: FilterTokensQueryVariables) =>
164
156
  this.sdk.query(FilterTokensDocument, vars);
165
- walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
166
- this.sdk.query(WalletNftCollectionsDocument, vars);
167
157
  getNftPoolEvents = async (vars: GetNftPoolEventsQueryVariables) =>
168
158
  this.sdk.query(GetNftPoolEventsDocument, vars);
169
- getTokenPrices = async (vars: GetTokenPricesQueryVariables) =>
170
- this.sdk.query(GetTokenPricesDocument, vars);
171
- filterNftCollections = async (vars: FilterNftCollectionsQueryVariables) =>
172
- this.sdk.query(FilterNftCollectionsDocument, vars);
173
- listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
174
- this.sdk.query(ListPairsForTokenDocument, vars);
175
- getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
176
- this.sdk.query(GetEventLabelsDocument, vars);
177
- filterExchanges = async (vars: FilterExchangesQueryVariables) =>
178
- this.sdk.query(FilterExchangesDocument, vars);
179
- filterTokenWallets = async (vars: FilterTokenWalletsQueryVariables) =>
180
- this.sdk.query(FilterTokenWalletsDocument, vars);
181
- getExchanges = async (vars: GetExchangesQueryVariables) =>
182
- this.sdk.query(GetExchangesDocument, vars);
183
- pairMetadata = async (vars: PairMetadataQueryVariables) =>
184
- this.sdk.query(PairMetadataDocument, vars);
185
- getNetworks = async (vars: GetNetworksQueryVariables) =>
186
- this.sdk.query(GetNetworksDocument, vars);
187
159
  filterNftPools = async (vars: FilterNftPoolsQueryVariables) =>
188
160
  this.sdk.query(FilterNftPoolsDocument, vars);
189
- getBars = async (vars: GetBarsQueryVariables) =>
190
- this.sdk.query(GetBarsDocument, vars);
191
- primeHolders = async (vars: PrimeHoldersQueryVariables) =>
192
- this.sdk.query(PrimeHoldersDocument, vars);
193
- getNftCollectionMetadata = async (
194
- vars: GetNftCollectionMetadataQueryVariables,
195
- ) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
161
+ filterTokenWallets = async (vars: FilterTokenWalletsQueryVariables) =>
162
+ this.sdk.query(FilterTokenWalletsDocument, vars);
163
+ walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
164
+ this.sdk.query(WalletNftCollectionsDocument, vars);
165
+ filterNftCollections = async (vars: FilterNftCollectionsQueryVariables) =>
166
+ this.sdk.query(FilterNftCollectionsDocument, vars);
167
+ getNftPoolsByCollectionAndExchange = async (
168
+ vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
169
+ ) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
170
+ walletNftCollectionAssets = async (
171
+ vars: WalletNftCollectionAssetsQueryVariables,
172
+ ) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
173
+ filterPairs = async (vars: FilterPairsQueryVariables) =>
174
+ this.sdk.query(FilterPairsDocument, vars);
175
+ getNftPoolsByOwner = async (vars: GetNftPoolsByOwnerQueryVariables) =>
176
+ this.sdk.query(GetNftPoolsByOwnerDocument, vars);
196
177
  tokenSparklines = async (vars: TokenSparklinesQueryVariables) =>
197
178
  this.sdk.query(TokenSparklinesDocument, vars);
198
- searchNfts = async (vars: SearchNftsQueryVariables) =>
199
- this.sdk.query(SearchNftsDocument, vars);
200
- apiToken = async (vars: ApiTokenQueryVariables) =>
201
- this.sdk.query(ApiTokenDocument, vars);
202
- getWebhooks = async (vars: GetWebhooksQueryVariables) =>
203
- this.sdk.query(GetWebhooksDocument, vars);
204
- holders = async (vars: HoldersQueryVariables) =>
205
- this.sdk.query(HoldersDocument, vars);
206
- getParallelCardChanges = async (vars: GetParallelCardChangesQueryVariables) =>
207
- this.sdk.query(GetParallelCardChangesDocument, vars);
179
+ getSymbol = async (vars: GetSymbolQueryVariables) =>
180
+ this.sdk.query(GetSymbolDocument, vars);
208
181
  getPrimePools = async (vars: GetPrimePoolsQueryVariables) =>
209
182
  this.sdk.query(GetPrimePoolsDocument, vars);
210
- getNetworkStatus = async (vars: GetNetworkStatusQueryVariables) =>
211
- this.sdk.query(GetNetworkStatusDocument, vars);
212
- top10HoldersPercent = async (vars: Top10HoldersPercentQueryVariables) =>
213
- this.sdk.query(Top10HoldersPercentDocument, vars);
214
- getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
215
- this.sdk.query(GetDetailedPairsStatsDocument, vars);
216
- getNftPoolsByCollectionAndExchange = async (
217
- vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
218
- ) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
219
- liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
220
- this.sdk.query(LiquidityMetadataDocument, vars);
221
183
  getNftPoolCollectionsByExchange = async (
222
184
  vars: GetNftPoolCollectionsByExchangeQueryVariables,
223
185
  ) => this.sdk.query(GetNftPoolCollectionsByExchangeDocument, vars);
224
- tokens = async (vars: TokensQueryVariables) =>
225
- this.sdk.query(TokensDocument, vars);
226
- token = async (vars: TokenQueryVariables) =>
227
- this.sdk.query(TokenDocument, vars);
228
- nftHolders = async (vars: NftHoldersQueryVariables) =>
229
- this.sdk.query(NftHoldersDocument, vars);
230
- getNetworkStats = async (vars: GetNetworkStatsQueryVariables) =>
231
- this.sdk.query(GetNetworkStatsDocument, vars);
186
+ detailedWalletStats = async (vars: DetailedWalletStatsQueryVariables) =>
187
+ this.sdk.query(DetailedWalletStatsDocument, vars);
188
+ getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
189
+ this.sdk.query(GetDetailedPairStatsDocument, vars);
232
190
  getCommunityNotes = async (vars: GetCommunityNotesQueryVariables) =>
233
191
  this.sdk.query(GetCommunityNotesDocument, vars);
234
- filterPairs = async (vars: FilterPairsQueryVariables) =>
235
- this.sdk.query(FilterPairsDocument, vars);
236
- getDetailedNftStats = async (vars: GetDetailedNftStatsQueryVariables) =>
237
- this.sdk.query(GetDetailedNftStatsDocument, vars);
192
+ liquidityLocks = async (vars: LiquidityLocksQueryVariables) =>
193
+ this.sdk.query(LiquidityLocksDocument, vars);
238
194
  filterNftParallelAssets = async (
239
195
  vars: FilterNftParallelAssetsQueryVariables,
240
196
  ) => this.sdk.query(FilterNftParallelAssetsDocument, vars);
241
- walletAggregateBackfillState = async (
242
- vars: WalletAggregateBackfillStateQueryVariables,
243
- ) => this.sdk.query(WalletAggregateBackfillStateDocument, vars);
244
- chartUrls = async (vars: ChartUrlsQueryVariables) =>
245
- this.sdk.query(ChartUrlsDocument, vars);
246
- walletNftCollectionAssets = async (
247
- vars: WalletNftCollectionAssetsQueryVariables,
248
- ) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
249
- getSymbol = async (vars: GetSymbolQueryVariables) =>
250
- this.sdk.query(GetSymbolDocument, vars);
251
- walletChart = async (vars: WalletChartQueryVariables) =>
252
- this.sdk.query(WalletChartDocument, vars);
197
+ filterExchanges = async (vars: FilterExchangesQueryVariables) =>
198
+ this.sdk.query(FilterExchangesDocument, vars);
199
+ getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
200
+ this.sdk.query(GetNftPoolStatsDocument, vars);
201
+ nftHolders = async (vars: NftHoldersQueryVariables) =>
202
+ this.sdk.query(NftHoldersDocument, vars);
203
+ getExchanges = async (vars: GetExchangesQueryVariables) =>
204
+ this.sdk.query(GetExchangesDocument, vars);
205
+ token = async (vars: TokenQueryVariables) =>
206
+ this.sdk.query(TokenDocument, vars);
207
+ apiTokens = async (vars: ApiTokensQueryVariables) =>
208
+ this.sdk.query(ApiTokensDocument, vars);
209
+ getTokenPrices = async (vars: GetTokenPricesQueryVariables) =>
210
+ this.sdk.query(GetTokenPricesDocument, vars);
211
+ pairMetadata = async (vars: PairMetadataQueryVariables) =>
212
+ this.sdk.query(PairMetadataDocument, vars);
213
+ tokenLifecycleEvents = async (vars: TokenLifecycleEventsQueryVariables) =>
214
+ this.sdk.query(TokenLifecycleEventsDocument, vars);
215
+ apiToken = async (vars: ApiTokenQueryVariables) =>
216
+ this.sdk.query(ApiTokenDocument, vars);
217
+ getPrimePoolAssets = async (vars: GetPrimePoolAssetsQueryVariables) =>
218
+ this.sdk.query(GetPrimePoolAssetsDocument, vars);
219
+ tokens = async (vars: TokensQueryVariables) =>
220
+ this.sdk.query(TokensDocument, vars);
221
+ liquidityMetadataByToken = async (
222
+ vars: LiquidityMetadataByTokenQueryVariables,
223
+ ) => this.sdk.query(LiquidityMetadataByTokenDocument, vars);
224
+ filterWallets = async (vars: FilterWalletsQueryVariables) =>
225
+ this.sdk.query(FilterWalletsDocument, vars);
226
+ listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
227
+ this.sdk.query(ListPairsForTokenDocument, vars);
228
+ getTokenEventsForMaker = async (vars: GetTokenEventsForMakerQueryVariables) =>
229
+ this.sdk.query(GetTokenEventsForMakerDocument, vars);
230
+ filterNftPoolCollections = async (
231
+ vars: FilterNftPoolCollectionsQueryVariables,
232
+ ) => this.sdk.query(FilterNftPoolCollectionsDocument, vars);
233
+ searchNfts = async (vars: SearchNftsQueryVariables) =>
234
+ this.sdk.query(SearchNftsDocument, vars);
235
+ getNftContracts = async (vars: GetNftContractsQueryVariables) =>
236
+ this.sdk.query(GetNftContractsDocument, vars);
237
+ top10HoldersPercent = async (vars: Top10HoldersPercentQueryVariables) =>
238
+ this.sdk.query(Top10HoldersPercentDocument, vars);
253
239
  listPairsWithMetadataForToken = async (
254
240
  vars: ListPairsWithMetadataForTokenQueryVariables,
255
241
  ) => this.sdk.query(ListPairsWithMetadataForTokenDocument, vars);
256
- getNftContracts = async (vars: GetNftContractsQueryVariables) =>
257
- this.sdk.query(GetNftContractsDocument, vars);
242
+ getDetailedNftStats = async (vars: GetDetailedNftStatsQueryVariables) =>
243
+ this.sdk.query(GetDetailedNftStatsDocument, vars);
244
+ getPrimePoolEvents = async (vars: GetPrimePoolEventsQueryVariables) =>
245
+ this.sdk.query(GetPrimePoolEventsDocument, vars);
258
246
  getTokenEvents = async (vars: GetTokenEventsQueryVariables) =>
259
247
  this.sdk.query(GetTokenEventsDocument, vars);
260
- filterNftPoolCollections = async (
261
- vars: FilterNftPoolCollectionsQueryVariables,
262
- ) => this.sdk.query(FilterNftPoolCollectionsDocument, vars);
263
- getNftPool = async (vars: GetNftPoolQueryVariables) =>
264
- this.sdk.query(GetNftPoolDocument, vars);
265
248
  getNftPoolCollection = async (vars: GetNftPoolCollectionQueryVariables) =>
266
249
  this.sdk.query(GetNftPoolCollectionDocument, vars);
267
- getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
268
- this.sdk.query(GetNftPoolStatsDocument, vars);
269
- filterWallets = async (vars: FilterWalletsQueryVariables) =>
270
- this.sdk.query(FilterWalletsDocument, vars);
271
- getPrimePoolEvents = async (vars: GetPrimePoolEventsQueryVariables) =>
272
- this.sdk.query(GetPrimePoolEventsDocument, vars);
250
+ getWebhooks = async (vars: GetWebhooksQueryVariables) =>
251
+ this.sdk.query(GetWebhooksDocument, vars);
252
+ getNftAssets = async (vars: GetNftAssetsQueryVariables) =>
253
+ this.sdk.query(GetNftAssetsDocument, vars);
254
+ getBars = async (vars: GetBarsQueryVariables) =>
255
+ this.sdk.query(GetBarsDocument, vars);
256
+ getNftEvents = async (vars: GetNftEventsQueryVariables) =>
257
+ this.sdk.query(GetNftEventsDocument, vars);
258
+ walletAggregateBackfillState = async (
259
+ vars: WalletAggregateBackfillStateQueryVariables,
260
+ ) => this.sdk.query(WalletAggregateBackfillStateDocument, vars);
261
+ getNetworkStatus = async (vars: GetNetworkStatusQueryVariables) =>
262
+ this.sdk.query(GetNetworkStatusDocument, vars);
263
+ chartUrls = async (vars: ChartUrlsQueryVariables) =>
264
+ this.sdk.query(ChartUrlsDocument, vars);
265
+ walletChart = async (vars: WalletChartQueryVariables) =>
266
+ this.sdk.query(WalletChartDocument, vars);
267
+ liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
268
+ this.sdk.query(LiquidityMetadataDocument, vars);
269
+ holders = async (vars: HoldersQueryVariables) =>
270
+ this.sdk.query(HoldersDocument, vars);
271
+ getParallelCardChanges = async (vars: GetParallelCardChangesQueryVariables) =>
272
+ this.sdk.query(GetParallelCardChangesDocument, vars);
273
273
  }