@codex-data/sdk 2.0.0 → 2.0.1

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.
@@ -1,4 +1,4 @@
1
- import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, BlocksQueryVariables, ChartUrlsQueryVariables, DetailedWalletStatsQueryVariables, FilterExchangesQueryVariables, FilterNftCollectionsQueryVariables, FilterNftParallelAssetsQueryVariables, FilterNftPoolCollectionsQueryVariables, FilterNftPoolsQueryVariables, FilterPairsQueryVariables, FilterTokensQueryVariables, FilterTokenWalletsQueryVariables, FilterWalletsQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedNftStatsQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables, GetNetworkConfigsQueryVariables, GetNetworksQueryVariables, GetNetworkStatsQueryVariables, GetNetworkStatusQueryVariables, GetNftAssetsQueryVariables, GetNftCollectionMetadataQueryVariables, GetNftContractsQueryVariables, GetNftEventsQueryVariables, GetNftPoolCollectionQueryVariables, GetNftPoolCollectionsByExchangeQueryVariables, GetNftPoolEventsQueryVariables, GetNftPoolQueryVariables, GetNftPoolsByCollectionAndExchangeQueryVariables, GetNftPoolsByOwnerQueryVariables, GetNftPoolStatsQueryVariables, GetParallelCardChangesQueryVariables, GetPrimePoolAssetsQueryVariables, GetPrimePoolEventsQueryVariables, GetPrimePoolsQueryVariables, GetSymbolQueryVariables, GetTokenBarsQueryVariables, GetTokenEventsForMakerQueryVariables, GetTokenEventsQueryVariables, GetTokenPricesQueryVariables, GetWebhooksQueryVariables, HoldersQueryVariables, LiquidityLocksQueryVariables, LiquidityMetadataByTokenQueryVariables, LiquidityMetadataQueryVariables, ListPairsForTokenQueryVariables, ListPairsWithMetadataForTokenQueryVariables, NftHoldersQueryVariables, PairMetadataQueryVariables, PrimeHoldersQueryVariables, SearchNftsQueryVariables, TokenLifecycleEventsQueryVariables, TokenQueryVariables, TokenSparklinesQueryVariables, TokensQueryVariables, TokenTopTradersQueryVariables, Top10HoldersPercentQueryVariables, WalletAggregateBackfillStateQueryVariables, WalletChartQueryVariables, WalletNftCollectionAssetsQueryVariables, WalletNftCollectionsQueryVariables } from "./generated/graphql";
1
+ import { ApiTokenQueryVariables, ApiTokensQueryVariables, BalancesQueryVariables, BlocksQueryVariables, ChartUrlsQueryVariables, DetailedWalletStatsQueryVariables, FilterExchangesQueryVariables, FilterPairsQueryVariables, FilterTokensQueryVariables, FilterTokenWalletsQueryVariables, FilterWalletsQueryVariables, GetBarsQueryVariables, GetCommunityNotesQueryVariables, GetDetailedPairsStatsQueryVariables, GetDetailedPairStatsQueryVariables, GetEventLabelsQueryVariables, GetExchangesQueryVariables, GetNetworkConfigsQueryVariables, GetNetworksQueryVariables, GetNetworkStatsQueryVariables, GetNetworkStatusQueryVariables, GetSymbolQueryVariables, GetTokenBarsQueryVariables, GetTokenEventsForMakerQueryVariables, GetTokenEventsQueryVariables, GetTokenPricesQueryVariables, GetWebhooksQueryVariables, HoldersQueryVariables, LiquidityLocksQueryVariables, LiquidityMetadataByTokenQueryVariables, LiquidityMetadataQueryVariables, ListPairsForTokenQueryVariables, ListPairsWithMetadataForTokenQueryVariables, PairMetadataQueryVariables, TokenLifecycleEventsQueryVariables, TokenQueryVariables, TokenSparklinesQueryVariables, TokensQueryVariables, TokenTopTradersQueryVariables, Top10HoldersPercentQueryVariables, WalletAggregateBackfillStateQueryVariables, WalletChartQueryVariables } from "./generated/graphql";
2
2
  import { Codex } from "./index";
3
3
  export declare class Query {
4
4
  private sdk;
@@ -10,17 +10,12 @@ export declare class Query {
10
10
  chartUrls: (vars: ChartUrlsQueryVariables) => Promise<import("./generated/graphql").ChartUrlsQuery>;
11
11
  detailedWalletStats: (vars: DetailedWalletStatsQueryVariables) => Promise<import("./generated/graphql").DetailedWalletStatsQuery>;
12
12
  filterExchanges: (vars: FilterExchangesQueryVariables) => Promise<import("./generated/graphql").FilterExchangesQuery>;
13
- filterNftCollections: (vars: FilterNftCollectionsQueryVariables) => Promise<import("./generated/graphql").FilterNftCollectionsQuery>;
14
- filterNftParallelAssets: (vars: FilterNftParallelAssetsQueryVariables) => Promise<import("./generated/graphql").FilterNftParallelAssetsQuery>;
15
- filterNftPoolCollections: (vars: FilterNftPoolCollectionsQueryVariables) => Promise<import("./generated/graphql").FilterNftPoolCollectionsQuery>;
16
- filterNftPools: (vars: FilterNftPoolsQueryVariables) => Promise<import("./generated/graphql").FilterNftPoolsQuery>;
17
13
  filterPairs: (vars: FilterPairsQueryVariables) => Promise<import("./generated/graphql").FilterPairsQuery>;
18
14
  filterTokenWallets: (vars: FilterTokenWalletsQueryVariables) => Promise<import("./generated/graphql").FilterTokenWalletsQuery>;
19
15
  filterTokens: (vars: FilterTokensQueryVariables) => Promise<import("./generated/graphql").FilterTokensQuery>;
20
16
  filterWallets: (vars: FilterWalletsQueryVariables) => Promise<import("./generated/graphql").FilterWalletsQuery>;
21
17
  getBars: (vars: GetBarsQueryVariables) => Promise<import("./generated/graphql").GetBarsQuery>;
22
18
  getCommunityNotes: (vars: GetCommunityNotesQueryVariables) => Promise<import("./generated/graphql").GetCommunityNotesQuery>;
23
- getDetailedNftStats: (vars: GetDetailedNftStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedNftStatsQuery>;
24
19
  getDetailedPairStats: (vars: GetDetailedPairStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedPairStatsQuery>;
25
20
  getDetailedPairsStats: (vars: GetDetailedPairsStatsQueryVariables) => Promise<import("./generated/graphql").GetDetailedPairsStatsQuery>;
26
21
  getEventLabels: (vars: GetEventLabelsQueryVariables) => Promise<import("./generated/graphql").GetEventLabelsQuery>;
@@ -29,21 +24,6 @@ export declare class Query {
29
24
  getNetworkStats: (vars: GetNetworkStatsQueryVariables) => Promise<import("./generated/graphql").GetNetworkStatsQuery>;
30
25
  getNetworkStatus: (vars: GetNetworkStatusQueryVariables) => Promise<import("./generated/graphql").GetNetworkStatusQuery>;
31
26
  getNetworks: (vars: GetNetworksQueryVariables) => Promise<import("./generated/graphql").GetNetworksQuery>;
32
- getNftAssets: (vars: GetNftAssetsQueryVariables) => Promise<import("./generated/graphql").GetNftAssetsQuery>;
33
- getNftCollectionMetadata: (vars: GetNftCollectionMetadataQueryVariables) => Promise<import("./generated/graphql").GetNftCollectionMetadataQuery>;
34
- getNftContracts: (vars: GetNftContractsQueryVariables) => Promise<import("./generated/graphql").GetNftContractsQuery>;
35
- getNftEvents: (vars: GetNftEventsQueryVariables) => Promise<import("./generated/graphql").GetNftEventsQuery>;
36
- getNftPool: (vars: GetNftPoolQueryVariables) => Promise<import("./generated/graphql").GetNftPoolQuery>;
37
- getNftPoolCollection: (vars: GetNftPoolCollectionQueryVariables) => Promise<import("./generated/graphql").GetNftPoolCollectionQuery>;
38
- getNftPoolCollectionsByExchange: (vars: GetNftPoolCollectionsByExchangeQueryVariables) => Promise<import("./generated/graphql").GetNftPoolCollectionsByExchangeQuery>;
39
- getNftPoolEvents: (vars: GetNftPoolEventsQueryVariables) => Promise<import("./generated/graphql").GetNftPoolEventsQuery>;
40
- getNftPoolStats: (vars: GetNftPoolStatsQueryVariables) => Promise<import("./generated/graphql").GetNftPoolStatsQuery>;
41
- getNftPoolsByCollectionAndExchange: (vars: GetNftPoolsByCollectionAndExchangeQueryVariables) => Promise<import("./generated/graphql").GetNftPoolsByCollectionAndExchangeQuery>;
42
- getNftPoolsByOwner: (vars: GetNftPoolsByOwnerQueryVariables) => Promise<import("./generated/graphql").GetNftPoolsByOwnerQuery>;
43
- getParallelCardChanges: (vars: GetParallelCardChangesQueryVariables) => Promise<import("./generated/graphql").GetParallelCardChangesQuery>;
44
- getPrimePoolAssets: (vars: GetPrimePoolAssetsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolAssetsQuery>;
45
- getPrimePoolEvents: (vars: GetPrimePoolEventsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolEventsQuery>;
46
- getPrimePools: (vars: GetPrimePoolsQueryVariables) => Promise<import("./generated/graphql").GetPrimePoolsQuery>;
47
27
  getSymbol: (vars: GetSymbolQueryVariables) => Promise<import("./generated/graphql").GetSymbolQuery>;
48
28
  getTokenBars: (vars: GetTokenBarsQueryVariables) => Promise<import("./generated/graphql").GetTokenBarsQuery>;
49
29
  getTokenEvents: (vars: GetTokenEventsQueryVariables) => Promise<import("./generated/graphql").GetTokenEventsQuery>;
@@ -56,10 +36,7 @@ export declare class Query {
56
36
  liquidityMetadataByToken: (vars: LiquidityMetadataByTokenQueryVariables) => Promise<import("./generated/graphql").LiquidityMetadataByTokenQuery>;
57
37
  listPairsForToken: (vars: ListPairsForTokenQueryVariables) => Promise<import("./generated/graphql").ListPairsForTokenQuery>;
58
38
  listPairsWithMetadataForToken: (vars: ListPairsWithMetadataForTokenQueryVariables) => Promise<import("./generated/graphql").ListPairsWithMetadataForTokenQuery>;
59
- nftHolders: (vars: NftHoldersQueryVariables) => Promise<import("./generated/graphql").NftHoldersQuery>;
60
39
  pairMetadata: (vars: PairMetadataQueryVariables) => Promise<import("./generated/graphql").PairMetadataQuery>;
61
- primeHolders: (vars: PrimeHoldersQueryVariables) => Promise<import("./generated/graphql").PrimeHoldersQuery>;
62
- searchNfts: (vars: SearchNftsQueryVariables) => Promise<import("./generated/graphql").SearchNftsQuery>;
63
40
  token: (vars: TokenQueryVariables) => Promise<import("./generated/graphql").TokenQuery>;
64
41
  tokenLifecycleEvents: (vars: TokenLifecycleEventsQueryVariables) => Promise<import("./generated/graphql").TokenLifecycleEventsQuery>;
65
42
  tokenSparklines: (vars: TokenSparklinesQueryVariables) => Promise<import("./generated/graphql").TokenSparklinesQuery>;
@@ -68,6 +45,4 @@ export declare class Query {
68
45
  top10HoldersPercent: (vars: Top10HoldersPercentQueryVariables) => Promise<import("./generated/graphql").Top10HoldersPercentQuery>;
69
46
  walletAggregateBackfillState: (vars: WalletAggregateBackfillStateQueryVariables) => Promise<import("./generated/graphql").WalletAggregateBackfillStateQuery>;
70
47
  walletChart: (vars: WalletChartQueryVariables) => Promise<import("./generated/graphql").WalletChartQuery>;
71
- walletNftCollectionAssets: (vars: WalletNftCollectionAssetsQueryVariables) => Promise<import("./generated/graphql").WalletNftCollectionAssetsQuery>;
72
- walletNftCollections: (vars: WalletNftCollectionsQueryVariables) => Promise<import("./generated/graphql").WalletNftCollectionsQuery>;
73
48
  }
package/dist/sdk/Query.js CHANGED
@@ -22,17 +22,12 @@ class Query {
22
22
  this.chartUrls = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ChartUrlsDocument, vars); });
23
23
  this.detailedWalletStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.DetailedWalletStatsDocument, vars); });
24
24
  this.filterExchanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterExchangesDocument, vars); });
25
- this.filterNftCollections = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftCollectionsDocument, vars); });
26
- this.filterNftParallelAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftParallelAssetsDocument, vars); });
27
- this.filterNftPoolCollections = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftPoolCollectionsDocument, vars); });
28
- this.filterNftPools = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterNftPoolsDocument, vars); });
29
25
  this.filterPairs = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterPairsDocument, vars); });
30
26
  this.filterTokenWallets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterTokenWalletsDocument, vars); });
31
27
  this.filterTokens = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterTokensDocument, vars); });
32
28
  this.filterWallets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.FilterWalletsDocument, vars); });
33
29
  this.getBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetBarsDocument, vars); });
34
30
  this.getCommunityNotes = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetCommunityNotesDocument, vars); });
35
- this.getDetailedNftStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedNftStatsDocument, vars); });
36
31
  this.getDetailedPairStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedPairStatsDocument, vars); });
37
32
  this.getDetailedPairsStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetDetailedPairsStatsDocument, vars); });
38
33
  this.getEventLabels = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetEventLabelsDocument, vars); });
@@ -41,21 +36,6 @@ class Query {
41
36
  this.getNetworkStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkStatsDocument, vars); });
42
37
  this.getNetworkStatus = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworkStatusDocument, vars); });
43
38
  this.getNetworks = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNetworksDocument, vars); });
44
- this.getNftAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftAssetsDocument, vars); });
45
- this.getNftCollectionMetadata = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftCollectionMetadataDocument, vars); });
46
- this.getNftContracts = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftContractsDocument, vars); });
47
- this.getNftEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftEventsDocument, vars); });
48
- this.getNftPool = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolDocument, vars); });
49
- this.getNftPoolCollection = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolCollectionDocument, vars); });
50
- this.getNftPoolCollectionsByExchange = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolCollectionsByExchangeDocument, vars); });
51
- this.getNftPoolEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolEventsDocument, vars); });
52
- this.getNftPoolStats = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolStatsDocument, vars); });
53
- this.getNftPoolsByCollectionAndExchange = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolsByCollectionAndExchangeDocument, vars); });
54
- this.getNftPoolsByOwner = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetNftPoolsByOwnerDocument, vars); });
55
- this.getParallelCardChanges = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetParallelCardChangesDocument, vars); });
56
- this.getPrimePoolAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolAssetsDocument, vars); });
57
- this.getPrimePoolEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolEventsDocument, vars); });
58
- this.getPrimePools = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetPrimePoolsDocument, vars); });
59
39
  this.getSymbol = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetSymbolDocument, vars); });
60
40
  this.getTokenBars = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenBarsDocument, vars); });
61
41
  this.getTokenEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.GetTokenEventsDocument, vars); });
@@ -68,10 +48,7 @@ class Query {
68
48
  this.liquidityMetadataByToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.LiquidityMetadataByTokenDocument, vars); });
69
49
  this.listPairsForToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ListPairsForTokenDocument, vars); });
70
50
  this.listPairsWithMetadataForToken = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.ListPairsWithMetadataForTokenDocument, vars); });
71
- this.nftHolders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.NftHoldersDocument, vars); });
72
51
  this.pairMetadata = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PairMetadataDocument, vars); });
73
- this.primeHolders = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.PrimeHoldersDocument, vars); });
74
- this.searchNfts = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.SearchNftsDocument, vars); });
75
52
  this.token = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenDocument, vars); });
76
53
  this.tokenLifecycleEvents = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenLifecycleEventsDocument, vars); });
77
54
  this.tokenSparklines = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.TokenSparklinesDocument, vars); });
@@ -80,8 +57,6 @@ class Query {
80
57
  this.top10HoldersPercent = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.Top10HoldersPercentDocument, vars); });
81
58
  this.walletAggregateBackfillState = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletAggregateBackfillStateDocument, vars); });
82
59
  this.walletChart = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletChartDocument, vars); });
83
- this.walletNftCollectionAssets = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletNftCollectionAssetsDocument, vars); });
84
- this.walletNftCollections = (vars) => __awaiter(this, void 0, void 0, function* () { return this.sdk.query(graphql_1.WalletNftCollectionsDocument, vars); });
85
60
  }
86
61
  }
87
62
  exports.Query = Query;
@@ -1,5 +1,5 @@
1
1
  // THIS FILE IS AUTOMATICALLY GENERATED, DO NOT EDIT IT DIRECTLY
2
- import { ApiTokenDocument, ApiTokensDocument, BalancesDocument, BlocksDocument, ChartUrlsDocument, DetailedWalletStatsDocument, FilterExchangesDocument, FilterNftCollectionsDocument, FilterNftParallelAssetsDocument, FilterNftPoolCollectionsDocument, FilterNftPoolsDocument, FilterPairsDocument, FilterTokensDocument, FilterTokenWalletsDocument, FilterWalletsDocument, GetBarsDocument, GetCommunityNotesDocument, GetDetailedNftStatsDocument, GetDetailedPairsStatsDocument, GetDetailedPairStatsDocument, GetEventLabelsDocument, GetExchangesDocument, GetNetworkConfigsDocument, GetNetworksDocument, GetNetworkStatsDocument, GetNetworkStatusDocument, GetNftAssetsDocument, GetNftCollectionMetadataDocument, GetNftContractsDocument, GetNftEventsDocument, GetNftPoolCollectionDocument, GetNftPoolCollectionsByExchangeDocument, GetNftPoolDocument, GetNftPoolEventsDocument, GetNftPoolsByCollectionAndExchangeDocument, GetNftPoolsByOwnerDocument, GetNftPoolStatsDocument, GetParallelCardChangesDocument, GetPrimePoolAssetsDocument, GetPrimePoolEventsDocument, GetPrimePoolsDocument, GetSymbolDocument, GetTokenBarsDocument, GetTokenEventsDocument, GetTokenEventsForMakerDocument, GetTokenPricesDocument, GetWebhooksDocument, HoldersDocument, LiquidityLocksDocument, LiquidityMetadataByTokenDocument, LiquidityMetadataDocument, ListPairsForTokenDocument, ListPairsWithMetadataForTokenDocument, NftHoldersDocument, PairMetadataDocument, PrimeHoldersDocument, SearchNftsDocument, TokenDocument, TokenLifecycleEventsDocument, TokensDocument, TokenSparklinesDocument, TokenTopTradersDocument, Top10HoldersPercentDocument, WalletAggregateBackfillStateDocument, WalletChartDocument, WalletNftCollectionAssetsDocument, WalletNftCollectionsDocument, } from "./generated/graphql";
2
+ import { ApiTokenDocument, ApiTokensDocument, BalancesDocument, BlocksDocument, ChartUrlsDocument, DetailedWalletStatsDocument, FilterExchangesDocument, FilterPairsDocument, FilterTokensDocument, FilterTokenWalletsDocument, FilterWalletsDocument, GetBarsDocument, GetCommunityNotesDocument, GetDetailedPairsStatsDocument, GetDetailedPairStatsDocument, GetEventLabelsDocument, GetExchangesDocument, GetNetworkConfigsDocument, GetNetworksDocument, GetNetworkStatsDocument, GetNetworkStatusDocument, GetSymbolDocument, GetTokenBarsDocument, GetTokenEventsDocument, GetTokenEventsForMakerDocument, GetTokenPricesDocument, GetWebhooksDocument, HoldersDocument, LiquidityLocksDocument, LiquidityMetadataByTokenDocument, LiquidityMetadataDocument, ListPairsForTokenDocument, ListPairsWithMetadataForTokenDocument, PairMetadataDocument, TokenDocument, TokenLifecycleEventsDocument, TokensDocument, TokenSparklinesDocument, TokenTopTradersDocument, Top10HoldersPercentDocument, WalletAggregateBackfillStateDocument, WalletChartDocument, } from "./generated/graphql";
3
3
  export class Query {
4
4
  constructor(sdk) {
5
5
  this.sdk = sdk;
@@ -10,17 +10,12 @@ export class Query {
10
10
  this.chartUrls = async (vars) => this.sdk.query(ChartUrlsDocument, vars);
11
11
  this.detailedWalletStats = async (vars) => this.sdk.query(DetailedWalletStatsDocument, vars);
12
12
  this.filterExchanges = async (vars) => this.sdk.query(FilterExchangesDocument, vars);
13
- this.filterNftCollections = async (vars) => this.sdk.query(FilterNftCollectionsDocument, vars);
14
- this.filterNftParallelAssets = async (vars) => this.sdk.query(FilterNftParallelAssetsDocument, vars);
15
- this.filterNftPoolCollections = async (vars) => this.sdk.query(FilterNftPoolCollectionsDocument, vars);
16
- this.filterNftPools = async (vars) => this.sdk.query(FilterNftPoolsDocument, vars);
17
13
  this.filterPairs = async (vars) => this.sdk.query(FilterPairsDocument, vars);
18
14
  this.filterTokenWallets = async (vars) => this.sdk.query(FilterTokenWalletsDocument, vars);
19
15
  this.filterTokens = async (vars) => this.sdk.query(FilterTokensDocument, vars);
20
16
  this.filterWallets = async (vars) => this.sdk.query(FilterWalletsDocument, vars);
21
17
  this.getBars = async (vars) => this.sdk.query(GetBarsDocument, vars);
22
18
  this.getCommunityNotes = async (vars) => this.sdk.query(GetCommunityNotesDocument, vars);
23
- this.getDetailedNftStats = async (vars) => this.sdk.query(GetDetailedNftStatsDocument, vars);
24
19
  this.getDetailedPairStats = async (vars) => this.sdk.query(GetDetailedPairStatsDocument, vars);
25
20
  this.getDetailedPairsStats = async (vars) => this.sdk.query(GetDetailedPairsStatsDocument, vars);
26
21
  this.getEventLabels = async (vars) => this.sdk.query(GetEventLabelsDocument, vars);
@@ -29,21 +24,6 @@ export class Query {
29
24
  this.getNetworkStats = async (vars) => this.sdk.query(GetNetworkStatsDocument, vars);
30
25
  this.getNetworkStatus = async (vars) => this.sdk.query(GetNetworkStatusDocument, vars);
31
26
  this.getNetworks = async (vars) => this.sdk.query(GetNetworksDocument, vars);
32
- this.getNftAssets = async (vars) => this.sdk.query(GetNftAssetsDocument, vars);
33
- this.getNftCollectionMetadata = async (vars) => this.sdk.query(GetNftCollectionMetadataDocument, vars);
34
- this.getNftContracts = async (vars) => this.sdk.query(GetNftContractsDocument, vars);
35
- this.getNftEvents = async (vars) => this.sdk.query(GetNftEventsDocument, vars);
36
- this.getNftPool = async (vars) => this.sdk.query(GetNftPoolDocument, vars);
37
- this.getNftPoolCollection = async (vars) => this.sdk.query(GetNftPoolCollectionDocument, vars);
38
- this.getNftPoolCollectionsByExchange = async (vars) => this.sdk.query(GetNftPoolCollectionsByExchangeDocument, vars);
39
- this.getNftPoolEvents = async (vars) => this.sdk.query(GetNftPoolEventsDocument, vars);
40
- this.getNftPoolStats = async (vars) => this.sdk.query(GetNftPoolStatsDocument, vars);
41
- this.getNftPoolsByCollectionAndExchange = async (vars) => this.sdk.query(GetNftPoolsByCollectionAndExchangeDocument, vars);
42
- this.getNftPoolsByOwner = async (vars) => this.sdk.query(GetNftPoolsByOwnerDocument, vars);
43
- this.getParallelCardChanges = async (vars) => this.sdk.query(GetParallelCardChangesDocument, vars);
44
- this.getPrimePoolAssets = async (vars) => this.sdk.query(GetPrimePoolAssetsDocument, vars);
45
- this.getPrimePoolEvents = async (vars) => this.sdk.query(GetPrimePoolEventsDocument, vars);
46
- this.getPrimePools = async (vars) => this.sdk.query(GetPrimePoolsDocument, vars);
47
27
  this.getSymbol = async (vars) => this.sdk.query(GetSymbolDocument, vars);
48
28
  this.getTokenBars = async (vars) => this.sdk.query(GetTokenBarsDocument, vars);
49
29
  this.getTokenEvents = async (vars) => this.sdk.query(GetTokenEventsDocument, vars);
@@ -56,10 +36,7 @@ export class Query {
56
36
  this.liquidityMetadataByToken = async (vars) => this.sdk.query(LiquidityMetadataByTokenDocument, vars);
57
37
  this.listPairsForToken = async (vars) => this.sdk.query(ListPairsForTokenDocument, vars);
58
38
  this.listPairsWithMetadataForToken = async (vars) => this.sdk.query(ListPairsWithMetadataForTokenDocument, vars);
59
- this.nftHolders = async (vars) => this.sdk.query(NftHoldersDocument, vars);
60
39
  this.pairMetadata = async (vars) => this.sdk.query(PairMetadataDocument, vars);
61
- this.primeHolders = async (vars) => this.sdk.query(PrimeHoldersDocument, vars);
62
- this.searchNfts = async (vars) => this.sdk.query(SearchNftsDocument, vars);
63
40
  this.token = async (vars) => this.sdk.query(TokenDocument, vars);
64
41
  this.tokenLifecycleEvents = async (vars) => this.sdk.query(TokenLifecycleEventsDocument, vars);
65
42
  this.tokenSparklines = async (vars) => this.sdk.query(TokenSparklinesDocument, vars);
@@ -68,7 +45,5 @@ export class Query {
68
45
  this.top10HoldersPercent = async (vars) => this.sdk.query(Top10HoldersPercentDocument, vars);
69
46
  this.walletAggregateBackfillState = async (vars) => this.sdk.query(WalletAggregateBackfillStateDocument, vars);
70
47
  this.walletChart = async (vars) => this.sdk.query(WalletChartDocument, vars);
71
- this.walletNftCollectionAssets = async (vars) => this.sdk.query(WalletNftCollectionAssetsDocument, vars);
72
- this.walletNftCollections = async (vars) => this.sdk.query(WalletNftCollectionsDocument, vars);
73
48
  }
74
49
  }
@@ -6,7 +6,7 @@ class Subscribe {
6
6
  this.sdk = sdk;
7
7
  this.onBalanceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBalanceUpdated($walletAddress: String!) {
8
8
  onBalanceUpdated (walletAddress: $walletAddress) {
9
- address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
9
+ address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
10
10
  }
11
11
  }`, vars, sink);
12
12
  this.onBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
@@ -54,7 +54,7 @@ class Subscribe {
54
54
  }`, vars, sink);
55
55
  this.onHoldersUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnHoldersUpdated($tokenId: String!) {
56
56
  onHoldersUpdated (tokenId: $tokenId) {
57
- balances { address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
57
+ balances { address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
58
58
  }
59
59
  }`, vars, sink);
60
60
  this.onLatestPairUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
@@ -94,7 +94,7 @@ class Subscribe {
94
94
  }`, vars, sink);
95
95
  this.onPairMetadataUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken, $useNonLiquidityTokenAsQuoteToken: Boolean) {
96
96
  onPairMetadataUpdated (id: $id, quoteToken: $quoteToken, useNonLiquidityTokenAsQuoteToken: $useNonLiquidityTokenAsQuoteToken) {
97
- createdAt, enhancedToken0 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, enhancedToken1 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, exchangeId, fee, highPrice1, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange4, priceChange5m, priceChange12, priceChange24, priceNonQuoteToken, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, volume1, volume4, volume5m, volume12, volume24
97
+ createdAt, enhancedToken0 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, enhancedToken1 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, exchangeId, fee, highPrice1, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange4, priceChange5m, priceChange12, priceChange24, priceNonQuoteToken, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, volume1, volume4, volume5m, volume12, volume24, walletActivity { bundlerCount, bundlerHeldPercentage, devHeldPercentage, insiderCount, insiderHeldPercentage, sniperCount, sniperHeldPercentage }
98
98
  }
99
99
  }`, vars, sink);
100
100
  this.onPriceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
@@ -3,7 +3,7 @@ export class Subscribe {
3
3
  this.sdk = sdk;
4
4
  this.onBalanceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBalanceUpdated($walletAddress: String!) {
5
5
  onBalanceUpdated (walletAddress: $walletAddress) {
6
- address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
6
+ address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId
7
7
  }
8
8
  }`, vars, sink);
9
9
  this.onBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
@@ -51,7 +51,7 @@ export class Subscribe {
51
51
  }`, vars, sink);
52
52
  this.onHoldersUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnHoldersUpdated($tokenId: String!) {
53
53
  onHoldersUpdated (tokenId: $tokenId) {
54
- balances { address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
54
+ balances { address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
55
55
  }
56
56
  }`, vars, sink);
57
57
  this.onLatestPairUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
@@ -91,7 +91,7 @@ export class Subscribe {
91
91
  }`, vars, sink);
92
92
  this.onPairMetadataUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken, $useNonLiquidityTokenAsQuoteToken: Boolean) {
93
93
  onPairMetadataUpdated (id: $id, quoteToken: $quoteToken, useNonLiquidityTokenAsQuoteToken: $useNonLiquidityTokenAsQuoteToken) {
94
- createdAt, enhancedToken0 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, enhancedToken1 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, exchangeId, fee, highPrice1, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange4, priceChange5m, priceChange12, priceChange24, priceNonQuoteToken, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, volume1, volume4, volume5m, volume12, volume24
94
+ createdAt, enhancedToken0 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, enhancedToken1 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol }, exchangeId, fee, highPrice1, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange4, priceChange5m, priceChange12, priceChange24, priceNonQuoteToken, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, volume1, volume4, volume5m, volume12, volume24, walletActivity { bundlerCount, bundlerHeldPercentage, devHeldPercentage, insiderCount, insiderHeldPercentage, sniperCount, sniperHeldPercentage }
95
95
  }
96
96
  }`, vars, sink);
97
97
  this.onPriceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {