@codex-data/sdk 1.0.11 → 1.0.12

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codex-data/sdk",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "engines": {
5
5
  "node": ">=17.5.0"
6
6
  },
@@ -64,4 +64,4 @@
64
64
  "prettier": "^3.0.3",
65
65
  "ts-jest": "^29.1.1"
66
66
  }
67
- }
67
+ }
@@ -7806,7 +7806,7 @@
7806
7806
  "inputFields": [
7807
7807
  {
7808
7808
  "name": "excludeLabels",
7809
- "description": "Exclude wallets with these labels. See `WalletLabel` for possible values.",
7809
+ "description": "Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values.",
7810
7810
  "type": {
7811
7811
  "kind": "LIST",
7812
7812
  "name": null,
@@ -7834,7 +7834,7 @@
7834
7834
  },
7835
7835
  {
7836
7836
  "name": "includeLabels",
7837
- "description": "Include wallets with these labels. See `WalletLabel` for possible values.",
7837
+ "description": "Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values.",
7838
7838
  "type": {
7839
7839
  "kind": "LIST",
7840
7840
  "name": null,
@@ -7934,7 +7934,7 @@
7934
7934
  "inputFields": [
7935
7935
  {
7936
7936
  "name": "excludeLabels",
7937
- "description": "Exclude wallets with these labels. See `WalletLabel` for possible values.",
7937
+ "description": "Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values.",
7938
7938
  "type": {
7939
7939
  "kind": "LIST",
7940
7940
  "name": null,
@@ -7974,7 +7974,7 @@
7974
7974
  },
7975
7975
  {
7976
7976
  "name": "includeLabels",
7977
- "description": "Include wallets with these labels. See `WalletLabel` for possible values.",
7977
+ "description": "Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values.",
7978
7978
  "type": {
7979
7979
  "kind": "LIST",
7980
7980
  "name": null,
@@ -8106,7 +8106,7 @@
8106
8106
  "inputFields": [
8107
8107
  {
8108
8108
  "name": "excludeLabels",
8109
- "description": "Exclude wallets with these labels. See `WalletLabel` for possible values.",
8109
+ "description": "Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values.",
8110
8110
  "type": {
8111
8111
  "kind": "LIST",
8112
8112
  "name": null,
@@ -8134,7 +8134,7 @@
8134
8134
  },
8135
8135
  {
8136
8136
  "name": "includeLabels",
8137
- "description": "Include wallets with these labels. See `WalletLabel` for possible values.",
8137
+ "description": "Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values.",
8138
8138
  "type": {
8139
8139
  "kind": "LIST",
8140
8140
  "name": null,
@@ -10646,7 +10646,7 @@
10646
10646
  },
10647
10647
  {
10648
10648
  "name": "launchpadName",
10649
- "description": "The name of the launchpad.",
10649
+ "description": "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.",
10650
10650
  "args": [],
10651
10651
  "type": {
10652
10652
  "kind": "SCALAR",
@@ -10961,6 +10961,12 @@
10961
10961
  "isDeprecated": false,
10962
10962
  "deprecationReason": null
10963
10963
  },
10964
+ {
10965
+ "name": "UnconfirmedMetadata",
10966
+ "description": "The token's metadata has been processed (not finalized)",
10967
+ "isDeprecated": false,
10968
+ "deprecationReason": null
10969
+ },
10964
10970
  {
10965
10971
  "name": "Updated",
10966
10972
  "description": "The token's statistics have been updated",
@@ -47227,7 +47233,7 @@
47227
47233
  },
47228
47234
  {
47229
47235
  "name": "launchpadName",
47230
- "description": "The name of the launchpad",
47236
+ "description": "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.",
47231
47237
  "type": {
47232
47238
  "kind": "SCALAR",
47233
47239
  "name": "String",
@@ -47531,7 +47537,7 @@
47531
47537
  },
47532
47538
  {
47533
47539
  "name": "trendingIgnored",
47534
- "description": "Whether to ignore pairs/tokens not relevant to trending",
47540
+ "description": "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`.",
47535
47541
  "type": {
47536
47542
  "kind": "SCALAR",
47537
47543
  "name": "Boolean",
@@ -54092,37 +54098,37 @@
54092
54098
  },
54093
54099
  {
54094
54100
  "name": "MEDIUM_WEALTHY",
54095
- "description": "Wallet holds $5M+ in assets",
54101
+ "description": "Wallet holds $5M+ in assets.",
54096
54102
  "isDeprecated": false,
54097
54103
  "deprecationReason": null
54098
54104
  },
54099
54105
  {
54100
54106
  "name": "MEGA_WEALTHY",
54101
- "description": "Wallet holds $10M+ in assets",
54107
+ "description": "Wallet holds $10M+ in assets.",
54102
54108
  "isDeprecated": false,
54103
54109
  "deprecationReason": null
54104
54110
  },
54105
54111
  {
54106
54112
  "name": "SMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD",
54107
- "description": "Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days",
54113
+ "description": "Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days.",
54108
54114
  "isDeprecated": false,
54109
54115
  "deprecationReason": null
54110
54116
  },
54111
54117
  {
54112
54118
  "name": "SMART_TRADER_TOKENS_UNDER_TWO_DAYS_OLD",
54113
- "description": "Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old",
54119
+ "description": "Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old.",
54114
54120
  "isDeprecated": false,
54115
54121
  "deprecationReason": null
54116
54122
  },
54117
54123
  {
54118
54124
  "name": "SNIPER",
54119
- "description": "Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour",
54125
+ "description": "Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour.",
54120
54126
  "isDeprecated": false,
54121
54127
  "deprecationReason": null
54122
54128
  },
54123
54129
  {
54124
54130
  "name": "WEALTHY",
54125
- "description": "Wallet holds $1M+ in assets",
54131
+ "description": "Wallet holds $1M+ in assets.",
54126
54132
  "isDeprecated": false,
54127
54133
  "deprecationReason": null
54128
54134
  }
@@ -1342,11 +1342,11 @@ export type FilterExchange = {
1342
1342
 
1343
1343
  /** The input for filtering wallets for a network. */
1344
1344
  export type FilterNetworkWalletsInput = {
1345
- /** Exclude wallets with these labels. See `WalletLabel` for possible values. */
1345
+ /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1346
1346
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1347
1347
  /** A set of filters to apply. */
1348
1348
  filters?: InputMaybe<WalletNetworkFilters>;
1349
- /** Include wallets with these labels. See `WalletLabel` for possible values. */
1349
+ /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1350
1350
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1351
1351
  /** The maximum number of wallets to return. */
1352
1352
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1362,13 +1362,13 @@ export type FilterNetworkWalletsInput = {
1362
1362
 
1363
1363
  /** The input for filtering wallets for a token. */
1364
1364
  export type FilterTokenWalletsInput = {
1365
- /** Exclude wallets with these labels. See `WalletLabel` for possible values. */
1365
+ /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1366
1366
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1367
1367
  /** A set of filters to apply */
1368
1368
  filters?: InputMaybe<WalletTokenFilters>;
1369
1369
  /** A set of filters to apply */
1370
1370
  filtersV2?: InputMaybe<WalletTokenFiltersV2>;
1371
- /** Include wallets with these labels. See `WalletLabel` for possible values. */
1371
+ /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1372
1372
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1373
1373
  /** The maximum number of wallets to return */
1374
1374
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1390,11 +1390,11 @@ export type FilterTokenWalletsInput = {
1390
1390
 
1391
1391
  /** The input for filtering wallets. */
1392
1392
  export type FilterWalletsInput = {
1393
- /** Exclude wallets with these labels. See `WalletLabel` for possible values. */
1393
+ /** Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1394
1394
  excludeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1395
1395
  /** A set of filters to apply. */
1396
1396
  filters?: InputMaybe<WalletFilters>;
1397
- /** Include wallets with these labels. See `WalletLabel` for possible values. */
1397
+ /** Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values. */
1398
1398
  includeLabels?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1399
1399
  /** The maximum number of wallets to return. */
1400
1400
  limit?: InputMaybe<Scalars['Int']['input']>;
@@ -1796,7 +1796,7 @@ export type LaunchpadData = {
1796
1796
  completedSlot?: Maybe<Scalars['Int']['output']>;
1797
1797
  /** The percentage of the pool that was sold to the public. */
1798
1798
  graduationPercent?: Maybe<Scalars['Float']['output']>;
1799
- /** The name of the launchpad. */
1799
+ /** 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. */
1800
1800
  launchpadName?: Maybe<Scalars['String']['output']>;
1801
1801
  /** The launchpad protocol */
1802
1802
  launchpadProtocol?: Maybe<Scalars['String']['output']>;
@@ -1855,6 +1855,8 @@ export enum LaunchpadTokenEventType {
1855
1855
  Migrated = 'Migrated',
1856
1856
  /** The token has been discovered (not finalized) */
1857
1857
  UnconfirmedDeployed = 'UnconfirmedDeployed',
1858
+ /** The token's metadata has been processed (not finalized) */
1859
+ UnconfirmedMetadata = 'UnconfirmedMetadata',
1858
1860
  /** The token's statistics have been updated */
1859
1861
  Updated = 'Updated'
1860
1862
  }
@@ -7878,7 +7880,7 @@ export type TokenFilters = {
7878
7880
  launchpadMigrated?: InputMaybe<Scalars['Boolean']['input']>;
7879
7881
  /** The timestamp when the launchpad was migrated */
7880
7882
  launchpadMigratedAt?: InputMaybe<NumberFilter>;
7881
- /** The name of the launchpad */
7883
+ /** 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. */
7882
7884
  launchpadName?: InputMaybe<Scalars['String']['input']>;
7883
7885
  /** The launchpad protocol */
7884
7886
  launchpadProtocol?: InputMaybe<Scalars['String']['input']>;
@@ -7928,7 +7930,7 @@ export type TokenFilters = {
7928
7930
  swapPct1dOldWallet?: InputMaybe<NumberFilter>;
7929
7931
  /** The percentage of wallets that are less than 7d old that have traded in the last 24h */
7930
7932
  swapPct7dOldWallet?: InputMaybe<NumberFilter>;
7931
- /** Whether to ignore pairs/tokens not relevant to trending */
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`. */
7932
7934
  trendingIgnored?: InputMaybe<Scalars['Boolean']['input']>;
7933
7935
  /** The number of transactions in the past hour. */
7934
7936
  txnCount1?: InputMaybe<NumberFilter>;
@@ -8979,17 +8981,17 @@ export type WalletFilters = {
8979
8981
  export enum WalletLabel {
8980
8982
  /** Wallet is interesting (based on a number of factors). */
8981
8983
  Interesting = 'INTERESTING',
8982
- /** Wallet holds $5M+ in assets */
8984
+ /** Wallet holds $5M+ in assets. */
8983
8985
  MediumWealthy = 'MEDIUM_WEALTHY',
8984
- /** Wallet holds $10M+ in assets */
8986
+ /** Wallet holds $10M+ in assets. */
8985
8987
  MegaWealthy = 'MEGA_WEALTHY',
8986
- /** Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days */
8988
+ /** Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days. */
8987
8989
  SmartTraderTokensOverTwoDaysOld = 'SMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD',
8988
- /** Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old */
8990
+ /** Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old. */
8989
8991
  SmartTraderTokensUnderTwoDaysOld = 'SMART_TRADER_TOKENS_UNDER_TWO_DAYS_OLD',
8990
- /** Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour */
8992
+ /** Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour. */
8991
8993
  Sniper = 'SNIPER',
8992
- /** Wallet holds $1M+ in assets */
8994
+ /** Wallet holds $1M+ in assets. */
8993
8995
  Wealthy = 'WEALTHY'
8994
8996
  }
8995
8997
 
@@ -2113,9 +2113,9 @@ input FilterNetworkWalletsInput {
2113
2113
  filters: WalletNetworkFilters
2114
2114
  """A list of wallet addresses to filter by."""
2115
2115
  wallets: [String]
2116
- """Exclude wallets with these labels. See `WalletLabel` for possible values."""
2116
+ """Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values."""
2117
2117
  excludeLabels: [String]
2118
- """Include wallets with these labels. See `WalletLabel` for possible values."""
2118
+ """Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values."""
2119
2119
  includeLabels: [String]
2120
2120
  """A list of ranking attributes to apply."""
2121
2121
  rankings: [WalletNetworkRanking]
@@ -2143,9 +2143,9 @@ input FilterTokenWalletsInput {
2143
2143
  phrase: String
2144
2144
  """A list of ranking attributes to apply"""
2145
2145
  rankings: [WalletTokenRanking]
2146
- """Exclude wallets with these labels. See `WalletLabel` for possible values."""
2146
+ """Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values."""
2147
2147
  excludeLabels: [String]
2148
- """Include wallets with these labels. See `WalletLabel` for possible values."""
2148
+ """Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values."""
2149
2149
  includeLabels: [String]
2150
2150
  """The maximum number of wallets to return"""
2151
2151
  limit: Int
@@ -2159,9 +2159,9 @@ input FilterWalletsInput {
2159
2159
  filters: WalletFilters
2160
2160
  """A list of wallet addresses to filter by."""
2161
2161
  wallets: [String]
2162
- """Exclude wallets with these labels. See `WalletLabel` for possible values."""
2162
+ """Exclude wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values."""
2163
2163
  excludeLabels: [String]
2164
- """Include wallets with these labels. See `WalletLabel` for possible values."""
2164
+ """Include wallets with these labels. See [`WalletLabel`](/api-reference/enums/index#walletlabel) for possible values."""
2165
2165
  includeLabels: [String]
2166
2166
  """A list of ranking attributes to apply."""
2167
2167
  rankings: [WalletRanking]
@@ -2551,7 +2551,7 @@ type LatestTokenSimResults {
2551
2551
  type LaunchpadData {
2552
2552
  """The name of the launchpad."""
2553
2553
  name: String
2554
- """The name of the launchpad."""
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."""
2555
2555
  launchpadName: String
2556
2556
  """The percentage of the pool that was sold to the public."""
2557
2557
  graduationPercent: Float
@@ -2617,6 +2617,8 @@ enum LaunchpadTokenEventType {
2617
2617
  Migrated
2618
2618
  """The token has been discovered (not finalized)"""
2619
2619
  UnconfirmedDeployed
2620
+ """The token's metadata has been processed (not finalized)"""
2621
+ UnconfirmedMetadata
2620
2622
  }
2621
2623
 
2622
2624
  """The protocol of the token."""
@@ -7766,13 +7768,13 @@ input TokenFilters {
7766
7768
  isVerified: Boolean
7767
7769
  """Filter potential Scams"""
7768
7770
  potentialScam: Boolean
7769
- """Whether to ignore pairs/tokens not relevant to trending"""
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`."""
7770
7772
  trendingIgnored: Boolean
7771
7773
  """The address of the creator of the token"""
7772
7774
  creatorAddress: String
7773
7775
  """The launchpad protocol"""
7774
7776
  launchpadProtocol: String
7775
- """The name of the launchpad"""
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."""
7776
7778
  launchpadName: String
7777
7779
  """Indicates if the launchpad is completed"""
7778
7780
  launchpadCompleted: Boolean
@@ -8760,17 +8762,17 @@ input WalletFilters {
8760
8762
  enum WalletLabel {
8761
8763
  """Wallet is interesting (based on a number of factors)."""
8762
8764
  INTERESTING
8763
- """Wallet holds $5M+ in assets"""
8765
+ """Wallet holds $5M+ in assets."""
8764
8766
  MEDIUM_WEALTHY
8765
- """Wallet holds $10M+ in assets"""
8767
+ """Wallet holds $10M+ in assets."""
8766
8768
  MEGA_WEALTHY
8767
- """Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days"""
8769
+ """Wallet has made over $7.5K profit in the last 90 days trading tokens that are older than 2 days."""
8768
8770
  SMART_TRADER_TOKENS_OVER_TWO_DAYS_OLD
8769
- """Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old"""
8771
+ """Wallet has made over $5K profit in the last 90 days trading tokens that are between 1 hour and 2 days old."""
8770
8772
  SMART_TRADER_TOKENS_UNDER_TWO_DAYS_OLD
8771
- """Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour"""
8773
+ """Wallet has made over $3K profit in the last 90 days trading tokens that were launched within their first hour."""
8772
8774
  SNIPER
8773
- """Wallet holds $1M+ in assets"""
8775
+ """Wallet holds $1M+ in assets."""
8774
8776
  WEALTHY
8775
8777
  }
8776
8778
 
@@ -13,12 +13,12 @@ import { Codex } from "./index";
13
13
 
14
14
  export class Mutation {
15
15
  constructor(private sdk: Codex) {}
16
- createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
17
- this.sdk.mutation(CreateWebhooksDocument, vars);
18
16
  deleteApiToken = async (vars: DeleteApiTokenMutationVariables) =>
19
17
  this.sdk.mutation(DeleteApiTokenDocument, vars);
20
18
  createApiTokens = async (vars: CreateApiTokensMutationVariables) =>
21
19
  this.sdk.mutation(CreateApiTokensDocument, vars);
22
20
  deleteWebhooks = async (vars: DeleteWebhooksMutationVariables) =>
23
21
  this.sdk.mutation(DeleteWebhooksDocument, vars);
22
+ createWebhooks = async (vars: CreateWebhooksMutationVariables) =>
23
+ this.sdk.mutation(CreateWebhooksDocument, vars);
24
24
  }
package/src/sdk/Query.ts CHANGED
@@ -143,150 +143,150 @@ import { Codex } from "./index";
143
143
 
144
144
  export class Query {
145
145
  constructor(private sdk: Codex) {}
146
- walletChart = async (vars: WalletChartQueryVariables) =>
147
- this.sdk.query(WalletChartDocument, vars);
148
- getPrimePoolAssets = async (vars: GetPrimePoolAssetsQueryVariables) =>
149
- this.sdk.query(GetPrimePoolAssetsDocument, vars);
150
- tokenSparklines = async (vars: TokenSparklinesQueryVariables) =>
151
- this.sdk.query(TokenSparklinesDocument, vars);
146
+ searchTokens = async (vars: SearchTokensQueryVariables) =>
147
+ this.sdk.query(SearchTokensDocument, vars);
148
+ pairMetadata = async (vars: PairMetadataQueryVariables) =>
149
+ this.sdk.query(PairMetadataDocument, vars);
150
+ listPairsWithMetadataForToken = async (
151
+ vars: ListPairsWithMetadataForTokenQueryVariables,
152
+ ) => this.sdk.query(ListPairsWithMetadataForTokenDocument, vars);
153
+ getDetailedNftStats = async (vars: GetDetailedNftStatsQueryVariables) =>
154
+ this.sdk.query(GetDetailedNftStatsDocument, vars);
155
+ top10HoldersPercent = async (vars: Top10HoldersPercentQueryVariables) =>
156
+ this.sdk.query(Top10HoldersPercentDocument, vars);
152
157
  filterTokenWallets = async (vars: FilterTokenWalletsQueryVariables) =>
153
158
  this.sdk.query(FilterTokenWalletsDocument, vars);
154
- holders = async (vars: HoldersQueryVariables) =>
155
- this.sdk.query(HoldersDocument, vars);
156
- getNftContracts = async (vars: GetNftContractsQueryVariables) =>
157
- this.sdk.query(GetNftContractsDocument, vars);
158
- filterNftPools = async (vars: FilterNftPoolsQueryVariables) =>
159
- this.sdk.query(FilterNftPoolsDocument, vars);
160
- filterTokens = async (vars: FilterTokensQueryVariables) =>
161
- this.sdk.query(FilterTokensDocument, vars);
162
- chartUrls = async (vars: ChartUrlsQueryVariables) =>
163
- this.sdk.query(ChartUrlsDocument, vars);
159
+ searchNfts = async (vars: SearchNftsQueryVariables) =>
160
+ this.sdk.query(SearchNftsDocument, vars);
161
+ filterPairs = async (vars: FilterPairsQueryVariables) =>
162
+ this.sdk.query(FilterPairsDocument, vars);
163
+ tokenLifecycleEvents = async (vars: TokenLifecycleEventsQueryVariables) =>
164
+ this.sdk.query(TokenLifecycleEventsDocument, vars);
165
+ getNftPoolEvents = async (vars: GetNftPoolEventsQueryVariables) =>
166
+ this.sdk.query(GetNftPoolEventsDocument, vars);
167
+ getNetworks = async (vars: GetNetworksQueryVariables) =>
168
+ this.sdk.query(GetNetworksDocument, vars);
164
169
  getNftEvents = async (vars: GetNftEventsQueryVariables) =>
165
170
  this.sdk.query(GetNftEventsDocument, vars);
171
+ getNftPool = async (vars: GetNftPoolQueryVariables) =>
172
+ this.sdk.query(GetNftPoolDocument, vars);
166
173
  filterExchanges = async (vars: FilterExchangesQueryVariables) =>
167
174
  this.sdk.query(FilterExchangesDocument, vars);
168
- getNftPoolsByOwner = async (vars: GetNftPoolsByOwnerQueryVariables) =>
169
- this.sdk.query(GetNftPoolsByOwnerDocument, vars);
170
- getExchanges = async (vars: GetExchangesQueryVariables) =>
171
- this.sdk.query(GetExchangesDocument, vars);
172
- tokens = async (vars: TokensQueryVariables) =>
173
- this.sdk.query(TokensDocument, vars);
175
+ walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
176
+ this.sdk.query(WalletNftCollectionsDocument, vars);
177
+ getLatestTokens = async (vars: GetLatestTokensQueryVariables) =>
178
+ this.sdk.query(GetLatestTokensDocument, vars);
179
+ getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
180
+ this.sdk.query(GetNftPoolStatsDocument, vars);
181
+ filterTokens = async (vars: FilterTokensQueryVariables) =>
182
+ this.sdk.query(FilterTokensDocument, vars);
183
+ filterWallets = async (vars: FilterWalletsQueryVariables) =>
184
+ this.sdk.query(FilterWalletsDocument, vars);
185
+ getSymbol = async (vars: GetSymbolQueryVariables) =>
186
+ this.sdk.query(GetSymbolDocument, vars);
187
+ token = async (vars: TokenQueryVariables) =>
188
+ this.sdk.query(TokenDocument, vars);
174
189
  getLatestPairs = async (vars: GetLatestPairsQueryVariables) =>
175
190
  this.sdk.query(GetLatestPairsDocument, vars);
191
+ walletChart = async (vars: WalletChartQueryVariables) =>
192
+ this.sdk.query(WalletChartDocument, vars);
193
+ liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
194
+ this.sdk.query(LiquidityMetadataDocument, vars);
195
+ getNetworkStatus = async (vars: GetNetworkStatusQueryVariables) =>
196
+ this.sdk.query(GetNetworkStatusDocument, vars);
197
+ getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
198
+ this.sdk.query(GetDetailedPairStatsDocument, vars);
176
199
  getNftPoolCollectionsByExchange = async (
177
200
  vars: GetNftPoolCollectionsByExchangeQueryVariables,
178
201
  ) => this.sdk.query(GetNftPoolCollectionsByExchangeDocument, vars);
179
- filterPairs = async (vars: FilterPairsQueryVariables) =>
180
- this.sdk.query(FilterPairsDocument, vars);
181
- getNftPoolsByCollectionAndExchange = async (
182
- vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
183
- ) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
184
- listPairsWithMetadataForToken = async (
185
- vars: ListPairsWithMetadataForTokenQueryVariables,
186
- ) => this.sdk.query(ListPairsWithMetadataForTokenDocument, vars);
187
- getBars = async (vars: GetBarsQueryVariables) =>
188
- this.sdk.query(GetBarsDocument, vars);
189
202
  primeHolders = async (vars: PrimeHoldersQueryVariables) =>
190
203
  this.sdk.query(PrimeHoldersDocument, vars);
191
- getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
192
- this.sdk.query(GetNftPoolStatsDocument, vars);
193
- getWebhooks = async (vars: GetWebhooksQueryVariables) =>
194
- this.sdk.query(GetWebhooksDocument, vars);
195
- getPrimePoolEvents = async (vars: GetPrimePoolEventsQueryVariables) =>
196
- this.sdk.query(GetPrimePoolEventsDocument, vars);
197
- getTokenPrices = async (vars: GetTokenPricesQueryVariables) =>
198
- this.sdk.query(GetTokenPricesDocument, vars);
199
204
  walletNftCollectionAssets = async (
200
205
  vars: WalletNftCollectionAssetsQueryVariables,
201
206
  ) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
202
- detailedWalletStats = async (vars: DetailedWalletStatsQueryVariables) =>
203
- this.sdk.query(DetailedWalletStatsDocument, vars);
204
- tokenTopTraders = async (vars: TokenTopTradersQueryVariables) =>
205
- this.sdk.query(TokenTopTradersDocument, vars);
206
- liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
207
- this.sdk.query(LiquidityMetadataDocument, vars);
207
+ getNftPoolsByCollectionAndExchange = async (
208
+ vars: GetNftPoolsByCollectionAndExchangeQueryVariables,
209
+ ) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
210
+ getTokenEventsForMaker = async (vars: GetTokenEventsForMakerQueryVariables) =>
211
+ this.sdk.query(GetTokenEventsForMakerDocument, vars);
212
+ apiToken = async (vars: ApiTokenQueryVariables) =>
213
+ this.sdk.query(ApiTokenDocument, vars);
214
+ getTokenPrices = async (vars: GetTokenPricesQueryVariables) =>
215
+ this.sdk.query(GetTokenPricesDocument, vars);
216
+ getNftCollectionMetadata = async (
217
+ vars: GetNftCollectionMetadataQueryVariables,
218
+ ) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
219
+ getTokenEvents = async (vars: GetTokenEventsQueryVariables) =>
220
+ this.sdk.query(GetTokenEventsDocument, vars);
221
+ getBars = async (vars: GetBarsQueryVariables) =>
222
+ this.sdk.query(GetBarsDocument, vars);
208
223
  getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
209
224
  this.sdk.query(GetDetailedPairsStatsDocument, vars);
225
+ listTopTokens = async (vars: ListTopTokensQueryVariables) =>
226
+ this.sdk.query(ListTopTokensDocument, vars);
210
227
  apiTokens = async (vars: ApiTokensQueryVariables) =>
211
228
  this.sdk.query(ApiTokensDocument, vars);
212
- nftHolders = async (vars: NftHoldersQueryVariables) =>
213
- this.sdk.query(NftHoldersDocument, vars);
214
- getTokenEventsForMaker = async (vars: GetTokenEventsForMakerQueryVariables) =>
215
- this.sdk.query(GetTokenEventsForMakerDocument, vars);
229
+ getWebhooks = async (vars: GetWebhooksQueryVariables) =>
230
+ this.sdk.query(GetWebhooksDocument, vars);
231
+ tokenTopTraders = async (vars: TokenTopTradersQueryVariables) =>
232
+ this.sdk.query(TokenTopTradersDocument, vars);
216
233
  getPrimePools = async (vars: GetPrimePoolsQueryVariables) =>
217
234
  this.sdk.query(GetPrimePoolsDocument, vars);
218
- getTokenEvents = async (vars: GetTokenEventsQueryVariables) =>
219
- this.sdk.query(GetTokenEventsDocument, vars);
235
+ filterNftPoolCollections = async (
236
+ vars: FilterNftPoolCollectionsQueryVariables,
237
+ ) => this.sdk.query(FilterNftPoolCollectionsDocument, vars);
238
+ getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
239
+ this.sdk.query(GetEventLabelsDocument, vars);
220
240
  filterNftParallelAssets = async (
221
241
  vars: FilterNftParallelAssetsQueryVariables,
222
242
  ) => this.sdk.query(FilterNftParallelAssetsDocument, vars);
223
- getNetworks = async (vars: GetNetworksQueryVariables) =>
224
- this.sdk.query(GetNetworksDocument, vars);
225
- top10HoldersPercent = async (vars: Top10HoldersPercentQueryVariables) =>
226
- this.sdk.query(Top10HoldersPercentDocument, vars);
227
- getNftPool = async (vars: GetNftPoolQueryVariables) =>
228
- this.sdk.query(GetNftPoolDocument, vars);
243
+ getNetworkStats = async (vars: GetNetworkStatsQueryVariables) =>
244
+ this.sdk.query(GetNetworkStatsDocument, vars);
245
+ getParallelCardChanges = async (vars: GetParallelCardChangesQueryVariables) =>
246
+ this.sdk.query(GetParallelCardChangesDocument, vars);
247
+ balances = async (vars: BalancesQueryVariables) =>
248
+ this.sdk.query(BalancesDocument, vars);
249
+ filterNftPools = async (vars: FilterNftPoolsQueryVariables) =>
250
+ this.sdk.query(FilterNftPoolsDocument, vars);
251
+ chartUrls = async (vars: ChartUrlsQueryVariables) =>
252
+ this.sdk.query(ChartUrlsDocument, vars);
229
253
  liquidityMetadataByToken = async (
230
254
  vars: LiquidityMetadataByTokenQueryVariables,
231
255
  ) => this.sdk.query(LiquidityMetadataByTokenDocument, vars);
232
- getNftAssets = async (vars: GetNftAssetsQueryVariables) =>
233
- this.sdk.query(GetNftAssetsDocument, vars);
234
- token = async (vars: TokenQueryVariables) =>
235
- this.sdk.query(TokenDocument, vars);
236
256
  getNftPoolCollection = async (vars: GetNftPoolCollectionQueryVariables) =>
237
257
  this.sdk.query(GetNftPoolCollectionDocument, vars);
238
- getCommunityNotes = async (vars: GetCommunityNotesQueryVariables) =>
239
- this.sdk.query(GetCommunityNotesDocument, vars);
240
- getSymbol = async (vars: GetSymbolQueryVariables) =>
241
- this.sdk.query(GetSymbolDocument, vars);
242
- walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
243
- this.sdk.query(WalletNftCollectionsDocument, vars);
244
- getDetailedStats = async (vars: GetDetailedStatsQueryVariables) =>
245
- this.sdk.query(GetDetailedStatsDocument, vars);
246
- listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
247
- this.sdk.query(ListPairsForTokenDocument, vars);
248
- tokenLifecycleEvents = async (vars: TokenLifecycleEventsQueryVariables) =>
249
- this.sdk.query(TokenLifecycleEventsDocument, vars);
250
- searchTokens = async (vars: SearchTokensQueryVariables) =>
251
- this.sdk.query(SearchTokensDocument, vars);
252
- apiToken = async (vars: ApiTokenQueryVariables) =>
253
- this.sdk.query(ApiTokenDocument, vars);
254
- getParallelCardChanges = async (vars: GetParallelCardChangesQueryVariables) =>
255
- this.sdk.query(GetParallelCardChangesDocument, vars);
258
+ getPrimePoolAssets = async (vars: GetPrimePoolAssetsQueryVariables) =>
259
+ this.sdk.query(GetPrimePoolAssetsDocument, vars);
260
+ tokens = async (vars: TokensQueryVariables) =>
261
+ this.sdk.query(TokensDocument, vars);
262
+ filterNetworkWallets = async (vars: FilterNetworkWalletsQueryVariables) =>
263
+ this.sdk.query(FilterNetworkWalletsDocument, vars);
264
+ tokenSparklines = async (vars: TokenSparklinesQueryVariables) =>
265
+ this.sdk.query(TokenSparklinesDocument, vars);
266
+ getExchanges = async (vars: GetExchangesQueryVariables) =>
267
+ this.sdk.query(GetExchangesDocument, vars);
256
268
  filterNftCollections = async (vars: FilterNftCollectionsQueryVariables) =>
257
269
  this.sdk.query(FilterNftCollectionsDocument, vars);
258
- getNftPoolEvents = async (vars: GetNftPoolEventsQueryVariables) =>
259
- this.sdk.query(GetNftPoolEventsDocument, vars);
260
- getDetailedNftStats = async (vars: GetDetailedNftStatsQueryVariables) =>
261
- this.sdk.query(GetDetailedNftStatsDocument, vars);
262
- getNftCollectionMetadata = async (
263
- vars: GetNftCollectionMetadataQueryVariables,
264
- ) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
265
- filterNftPoolCollections = async (
266
- vars: FilterNftPoolCollectionsQueryVariables,
267
- ) => this.sdk.query(FilterNftPoolCollectionsDocument, vars);
268
- filterWallets = async (vars: FilterWalletsQueryVariables) =>
269
- this.sdk.query(FilterWalletsDocument, vars);
270
- getEventLabels = async (vars: GetEventLabelsQueryVariables) =>
271
- this.sdk.query(GetEventLabelsDocument, vars);
272
- pairMetadata = async (vars: PairMetadataQueryVariables) =>
273
- this.sdk.query(PairMetadataDocument, vars);
274
- searchNfts = async (vars: SearchNftsQueryVariables) =>
275
- this.sdk.query(SearchNftsDocument, vars);
276
- balances = async (vars: BalancesQueryVariables) =>
277
- this.sdk.query(BalancesDocument, vars);
278
- getNetworkStatus = async (vars: GetNetworkStatusQueryVariables) =>
279
- this.sdk.query(GetNetworkStatusDocument, vars);
270
+ getDetailedStats = async (vars: GetDetailedStatsQueryVariables) =>
271
+ this.sdk.query(GetDetailedStatsDocument, vars);
272
+ holders = async (vars: HoldersQueryVariables) =>
273
+ this.sdk.query(HoldersDocument, vars);
274
+ nftHolders = async (vars: NftHoldersQueryVariables) =>
275
+ this.sdk.query(NftHoldersDocument, vars);
276
+ getNftPoolsByOwner = async (vars: GetNftPoolsByOwnerQueryVariables) =>
277
+ this.sdk.query(GetNftPoolsByOwnerDocument, vars);
278
+ getPrimePoolEvents = async (vars: GetPrimePoolEventsQueryVariables) =>
279
+ this.sdk.query(GetPrimePoolEventsDocument, vars);
280
+ getCommunityNotes = async (vars: GetCommunityNotesQueryVariables) =>
281
+ this.sdk.query(GetCommunityNotesDocument, vars);
280
282
  liquidityLocks = async (vars: LiquidityLocksQueryVariables) =>
281
283
  this.sdk.query(LiquidityLocksDocument, vars);
282
- listTopTokens = async (vars: ListTopTokensQueryVariables) =>
283
- this.sdk.query(ListTopTokensDocument, vars);
284
- filterNetworkWallets = async (vars: FilterNetworkWalletsQueryVariables) =>
285
- this.sdk.query(FilterNetworkWalletsDocument, vars);
286
- getNetworkStats = async (vars: GetNetworkStatsQueryVariables) =>
287
- this.sdk.query(GetNetworkStatsDocument, vars);
288
- getLatestTokens = async (vars: GetLatestTokensQueryVariables) =>
289
- this.sdk.query(GetLatestTokensDocument, vars);
290
- getDetailedPairStats = async (vars: GetDetailedPairStatsQueryVariables) =>
291
- this.sdk.query(GetDetailedPairStatsDocument, vars);
284
+ listPairsForToken = async (vars: ListPairsForTokenQueryVariables) =>
285
+ this.sdk.query(ListPairsForTokenDocument, vars);
286
+ detailedWalletStats = async (vars: DetailedWalletStatsQueryVariables) =>
287
+ this.sdk.query(DetailedWalletStatsDocument, vars);
288
+ getNftAssets = async (vars: GetNftAssetsQueryVariables) =>
289
+ this.sdk.query(GetNftAssetsDocument, vars);
290
+ getNftContracts = async (vars: GetNftContractsQueryVariables) =>
291
+ this.sdk.query(GetNftContractsDocument, vars);
292
292
  }