@codex-data/sdk 1.0.12 → 1.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/resources/graphql.d.ts +274 -52
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +7 -0
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Query.d.ts +1 -7
  6. package/dist/sdk/Query.d.ts.map +1 -1
  7. package/dist/sdk/Query.js +0 -6
  8. package/dist/sdk/Query.js.map +1 -1
  9. package/dist/sdk/Subscribe.js +6 -6
  10. package/dist/sdk/generated/gql.d.ts +64 -123
  11. package/dist/sdk/generated/gql.d.ts.map +1 -1
  12. package/dist/sdk/generated/gql.js +32 -38
  13. package/dist/sdk/generated/gql.js.map +1 -1
  14. package/dist/sdk/generated/graphql.d.ts +279 -1368
  15. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  16. package/dist/sdk/generated/graphql.js +42 -41
  17. package/dist/sdk/generated/graphql.js.map +1 -1
  18. package/package.json +1 -1
  19. package/src/resources/generated_queries/Balances.graphql +0 -15
  20. package/src/resources/generated_queries/DetailedWalletStats.graphql +0 -4
  21. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +0 -8
  22. package/src/resources/generated_queries/FilterNftPools.graphql +0 -7
  23. package/src/resources/generated_queries/FilterPairs.graphql +0 -60
  24. package/src/resources/generated_queries/FilterTokenWallets.graphql +0 -15
  25. package/src/resources/generated_queries/FilterTokens.graphql +0 -47
  26. package/src/resources/generated_queries/GetBars.graphql +0 -31
  27. package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -15
  28. package/src/resources/generated_queries/GetDetailedPairStats.graphql +0 -30
  29. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +0 -30
  30. package/src/resources/generated_queries/GetNftEvents.graphql +0 -9
  31. package/src/resources/generated_queries/GetNftPool.graphql +0 -2
  32. package/src/resources/generated_queries/GetNftPoolCollection.graphql +0 -8
  33. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -8
  34. package/src/resources/generated_queries/GetNftPoolEvents.graphql +0 -2
  35. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -2
  36. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -2
  37. package/src/resources/generated_queries/Holders.graphql +0 -15
  38. package/src/resources/generated_queries/LiquidityLocks.graphql +0 -1
  39. package/src/resources/generated_queries/ListPairsForToken.graphql +0 -30
  40. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -60
  41. package/src/resources/generated_queries/PairMetadata.graphql +0 -30
  42. package/src/resources/generated_queries/PrimeHolders.graphql +0 -15
  43. package/src/resources/generated_queries/Token.graphql +0 -15
  44. package/src/resources/generated_queries/Tokens.graphql +0 -15
  45. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -15
  46. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -15
  47. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -15
  48. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -9
  49. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -2
  50. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -30
  51. package/src/resources/graphql.schema.json +574 -136
  52. package/src/resources/graphql.ts +285 -52
  53. package/src/resources/schema.graphql +147 -76
  54. package/src/sdk/Query.ts +0 -24
  55. package/src/sdk/Subscribe.ts +6 -6
  56. package/src/sdk/generated/gql.ts +64 -94
  57. package/src/sdk/generated/graphql.ts +349 -181
  58. package/src/resources/generated_queries/FilterNetworkWallets.graphql +0 -57
  59. package/src/resources/generated_queries/GetDetailedStats.graphql +0 -338
  60. package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
  61. package/src/resources/generated_queries/GetLatestTokens.graphql +0 -39
  62. package/src/resources/generated_queries/ListTopTokens.graphql +0 -55
  63. package/src/resources/generated_queries/SearchTokens.graphql +0 -67
package/src/sdk/Query.ts CHANGED
@@ -12,8 +12,6 @@ import {
12
12
  DetailedWalletStatsQueryVariables,
13
13
  FilterExchangesDocument,
14
14
  FilterExchangesQueryVariables,
15
- FilterNetworkWalletsDocument,
16
- FilterNetworkWalletsQueryVariables,
17
15
  FilterNftCollectionsDocument,
18
16
  FilterNftCollectionsQueryVariables,
19
17
  FilterNftParallelAssetsDocument,
@@ -40,16 +38,10 @@ import {
40
38
  GetDetailedPairsStatsQueryVariables,
41
39
  GetDetailedPairStatsDocument,
42
40
  GetDetailedPairStatsQueryVariables,
43
- GetDetailedStatsDocument,
44
- GetDetailedStatsQueryVariables,
45
41
  GetEventLabelsDocument,
46
42
  GetEventLabelsQueryVariables,
47
43
  GetExchangesDocument,
48
44
  GetExchangesQueryVariables,
49
- GetLatestPairsDocument,
50
- GetLatestPairsQueryVariables,
51
- GetLatestTokensDocument,
52
- GetLatestTokensQueryVariables,
53
45
  GetNetworksDocument,
54
46
  GetNetworksQueryVariables,
55
47
  GetNetworkStatsDocument,
@@ -108,8 +100,6 @@ import {
108
100
  ListPairsForTokenQueryVariables,
109
101
  ListPairsWithMetadataForTokenDocument,
110
102
  ListPairsWithMetadataForTokenQueryVariables,
111
- ListTopTokensDocument,
112
- ListTopTokensQueryVariables,
113
103
  NftHoldersDocument,
114
104
  NftHoldersQueryVariables,
115
105
  PairMetadataDocument,
@@ -118,8 +108,6 @@ import {
118
108
  PrimeHoldersQueryVariables,
119
109
  SearchNftsDocument,
120
110
  SearchNftsQueryVariables,
121
- SearchTokensDocument,
122
- SearchTokensQueryVariables,
123
111
  TokenDocument,
124
112
  TokenLifecycleEventsDocument,
125
113
  TokenLifecycleEventsQueryVariables,
@@ -143,8 +131,6 @@ import { Codex } from "./index";
143
131
 
144
132
  export class Query {
145
133
  constructor(private sdk: Codex) {}
146
- searchTokens = async (vars: SearchTokensQueryVariables) =>
147
- this.sdk.query(SearchTokensDocument, vars);
148
134
  pairMetadata = async (vars: PairMetadataQueryVariables) =>
149
135
  this.sdk.query(PairMetadataDocument, vars);
150
136
  listPairsWithMetadataForToken = async (
@@ -174,8 +160,6 @@ export class Query {
174
160
  this.sdk.query(FilterExchangesDocument, vars);
175
161
  walletNftCollections = async (vars: WalletNftCollectionsQueryVariables) =>
176
162
  this.sdk.query(WalletNftCollectionsDocument, vars);
177
- getLatestTokens = async (vars: GetLatestTokensQueryVariables) =>
178
- this.sdk.query(GetLatestTokensDocument, vars);
179
163
  getNftPoolStats = async (vars: GetNftPoolStatsQueryVariables) =>
180
164
  this.sdk.query(GetNftPoolStatsDocument, vars);
181
165
  filterTokens = async (vars: FilterTokensQueryVariables) =>
@@ -186,8 +170,6 @@ export class Query {
186
170
  this.sdk.query(GetSymbolDocument, vars);
187
171
  token = async (vars: TokenQueryVariables) =>
188
172
  this.sdk.query(TokenDocument, vars);
189
- getLatestPairs = async (vars: GetLatestPairsQueryVariables) =>
190
- this.sdk.query(GetLatestPairsDocument, vars);
191
173
  walletChart = async (vars: WalletChartQueryVariables) =>
192
174
  this.sdk.query(WalletChartDocument, vars);
193
175
  liquidityMetadata = async (vars: LiquidityMetadataQueryVariables) =>
@@ -222,8 +204,6 @@ export class Query {
222
204
  this.sdk.query(GetBarsDocument, vars);
223
205
  getDetailedPairsStats = async (vars: GetDetailedPairsStatsQueryVariables) =>
224
206
  this.sdk.query(GetDetailedPairsStatsDocument, vars);
225
- listTopTokens = async (vars: ListTopTokensQueryVariables) =>
226
- this.sdk.query(ListTopTokensDocument, vars);
227
207
  apiTokens = async (vars: ApiTokensQueryVariables) =>
228
208
  this.sdk.query(ApiTokensDocument, vars);
229
209
  getWebhooks = async (vars: GetWebhooksQueryVariables) =>
@@ -259,16 +239,12 @@ export class Query {
259
239
  this.sdk.query(GetPrimePoolAssetsDocument, vars);
260
240
  tokens = async (vars: TokensQueryVariables) =>
261
241
  this.sdk.query(TokensDocument, vars);
262
- filterNetworkWallets = async (vars: FilterNetworkWalletsQueryVariables) =>
263
- this.sdk.query(FilterNetworkWalletsDocument, vars);
264
242
  tokenSparklines = async (vars: TokenSparklinesQueryVariables) =>
265
243
  this.sdk.query(TokenSparklinesDocument, vars);
266
244
  getExchanges = async (vars: GetExchangesQueryVariables) =>
267
245
  this.sdk.query(GetExchangesDocument, vars);
268
246
  filterNftCollections = async (vars: FilterNftCollectionsQueryVariables) =>
269
247
  this.sdk.query(FilterNftCollectionsDocument, vars);
270
- getDetailedStats = async (vars: GetDetailedStatsQueryVariables) =>
271
- this.sdk.query(GetDetailedStatsDocument, vars);
272
248
  holders = async (vars: HoldersQueryVariables) =>
273
249
  this.sdk.query(HoldersDocument, vars);
274
250
  nftHolders = async (vars: NftHoldersQueryVariables) =>
@@ -73,7 +73,7 @@ export class Subscribe {
73
73
  this.sdk.subscribe(
74
74
  `subscription OnNftEventsCreated($address: String, $networkId: Int) {
75
75
  onNftEventsCreated (address: $address, networkId: $networkId) {
76
- address, events { aggregatorAddress, baseTokenAddress, baseTokenPrice, blockNumber, contractAddress, eventType, exchangeAddress, fillSource, id, individualBaseTokenPrice, individualNetworkBaseTokenPrice, individualPrice, individualPriceNetworkBaseToken, individualPriceUsd, individualTokenPrice, individualTradePrice, logIndex, maker, networkBaseTokenPrice, networkId, numberOfTokens, orderDirection, paymentTokenAddress, poolAddress, priceError, sortKey, taker, timestamp, tokenId, tokenPrice, totalPrice, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, tradeOffer { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, tradeReceived { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, transactionHash, transactionIndex }, id, networkId
76
+ address, events { aggregatorAddress, blockNumber, contractAddress, eventType, exchangeAddress, fillSource, id, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, logIndex, maker, networkId, numberOfTokens, orderDirection, paymentTokenAddress, poolAddress, priceError, sortKey, taker, timestamp, tokenId, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, tradeOffer { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, tradeReceived { ... on NftEventNftTradeItem { address, amount, recipient, tokenId, type }, ... on NftEventTokenTradeItem { address, amount, individualPriceNetworkBaseToken, individualPriceUsd, individualTradePrice, isPrice, priceError, recipient, totalPriceNetworkBaseToken, totalPriceUsd, totalTradePrice, type } }, transactionHash, transactionIndex }, id, networkId
77
77
  }
78
78
  }`,
79
79
  vars,
@@ -86,7 +86,7 @@ export class Subscribe {
86
86
  this.sdk.subscribe(
87
87
  `subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
88
88
  onLaunchpadTokenEvent (input: $input) {
89
- address, buyCount1, eventType, holders, marketCap, networkId, price, protocol, sellCount1, token { address, circulatingSupply, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, explorerData { blueCheckmark, description, divisor, id, tokenPriceUSD, tokenType }, freezable, id, imageLargeUrl, imageSmallUrl, imageThumbUrl, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, name, poolAddress }, mintable, name, networkId, pooled, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, totalSupply }, transactions1, volume1
89
+ address, buyCount1, eventType, holders, marketCap, networkId, price, protocol, sellCount1, 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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 }, transactions1, volume1
90
90
  }
91
91
  }`,
92
92
  vars,
@@ -399,7 +399,7 @@ export class Subscribe {
399
399
  this.sdk.subscribe(
400
400
  `subscription OnBalanceUpdated($walletAddress: String!) {
401
401
  onBalanceUpdated (walletAddress: $walletAddress) {
402
- address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, circulatingSupply, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, explorerData { blueCheckmark, description, divisor, id, tokenPriceUSD, tokenType }, freezable, id, imageLargeUrl, imageSmallUrl, imageThumbUrl, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, name, poolAddress }, mintable, name, networkId, pooled, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, totalSupply }, tokenAddress, tokenId, tokenPriceUsd, walletId
402
+ 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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
403
403
  }
404
404
  }`,
405
405
  vars,
@@ -425,7 +425,7 @@ export class Subscribe {
425
425
  this.sdk.subscribe(
426
426
  `subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
427
427
  onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
428
- collectionAddress, events { blockHash, blockNumber, collectionAddress, collectionId, data { ... on NewPoolEventData { assetRecipientAddress, bondingCurveAddress, bondingCurveType, buyPriceT, collectionAddress, createdAt, delta, feeAmountT, nbtRatio, networkId, nftTokenBalance, ownerAddress, poolAddress, sellPriceT, startPriceT, tokenAddress, tokenBalanceT, type, usdRatio }, ... on NewPoolEventDataV2 { assetRecipientAddress, bondingCurveAddress, bondingCurveType, buyPriceT, collectionAddress, createdAt, delta, feeAmountT, nbtRatio, networkId, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenIds, nftTokenQuantities, ownerAddress, poolAddress, poolNftType, propertyChecker, royalties { percent, recipient }, sellPriceT, startPriceT, tokenAddress, tokenBalanceT, type, usdRatio }, ... on NftPoolAssetRecipientUpdateEventData { newAssetRecipient, type }, ... on NftPoolDeltaUpdateEventData { newDelta, type }, ... on NftPoolFeeUpdateEventData { nbtRatio, newFeeT, type, usdRatio }, ... on NftPoolNftDepositEventData { nftTokenBalance, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftDepositEventDataV2 { nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenAmounts, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftWithdrawalEventData { nftTokenBalance, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftWithdrawalEventDataV2 { nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenAmounts, nftTokenIds, tokenBalanceT, type }, ... on NftPoolOwnershipTransferredEventDataV2 { newOwner, type }, ... on NftPoolSpotPriceUpdateEventData { nbtRatio, newBuyPriceT, newSellPriceT, newSpotPriceT, type, usdRatio }, ... on NftPoolSpotPriceUpdateEventDataV2 { nbtRatio, newBuyPriceT, newSellPriceT, newSpotPriceT, type, usdRatio }, ... on NftPoolTokenDepositEventData { amountT, nbtRatio, nftTokenBalance, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenDepositEventDataV2 { amountT, nbtRatio, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenWithdrawalEventData { amountT, nbtRatio, nftTokenBalance, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenWithdrawalEventDataV2 { amountT, nbtRatio, tokenBalanceT, type, usdRatio }, ... on SwapNftInPoolEventData { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftTokenBalance, nftsTransfered { amountT, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftInPoolEventDataV2 { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftsTransfered { amountT, nftQuantity, nftTokenId, nftTokenQuantity }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftOutPoolEventData { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftTokenBalance, nftsTransfered { amountT, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftOutPoolEventDataV2 { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftsTransfered { amountT, nftQuantity, nftTokenId, nftTokenQuantity }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio } }, eventType, exchangeAddress, id, logIndex, maker, networkId, poolAddress, poolType, timestamp, tokenAddress, transactionHash, transactionIndex }, exchangeAddress, id, networkId, poolAddress
428
+ collectionAddress, events { blockHash, blockNumber, collectionAddress, collectionId, data { ... on NewPoolEventData { assetRecipientAddress, bondingCurveAddress, bondingCurveType, buyPriceT, collectionAddress, createdAt, delta, feeAmountT, nbtRatio, networkId, nftTokenBalance, ownerAddress, poolAddress, sellPriceT, startPriceT, tokenAddress, tokenBalanceT, type, usdRatio }, ... on NewPoolEventDataV2 { assetRecipientAddress, bondingCurveAddress, bondingCurveType, buyPriceT, collectionAddress, createdAt, delta, feeAmountT, nbtRatio, networkId, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenIds, nftTokenQuantities, ownerAddress, poolAddress, poolNftType, propertyChecker, royalties { percent, recipient }, sellPriceT, startPriceT, tokenAddress, tokenBalanceT, type, usdRatio }, ... on NftPoolAssetRecipientUpdateEventData { newAssetRecipient, type }, ... on NftPoolDeltaUpdateEventData { newDelta, type }, ... on NftPoolFeeUpdateEventData { nbtRatio, newFeeT, type, usdRatio }, ... on NftPoolNftDepositEventData { nftTokenBalance, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftDepositEventDataV2 { nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenAmounts, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftWithdrawalEventData { nftTokenBalance, nftTokenIds, tokenBalanceT, type }, ... on NftPoolNftWithdrawalEventDataV2 { nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftTokenAmounts, nftTokenIds, tokenBalanceT, type }, ... on NftPoolOwnershipTransferredEventDataV2 { newOwner, type }, ... on NftPoolSpotPriceUpdateEventData { nbtRatio, newBuyPriceT, newSellPriceT, newSpotPriceT, type, usdRatio }, ... on NftPoolSpotPriceUpdateEventDataV2 { nbtRatio, newBuyPriceT, newSellPriceT, newSpotPriceT, type, usdRatio }, ... on NftPoolTokenDepositEventData { amountT, nbtRatio, nftTokenBalance, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenDepositEventDataV2 { amountT, nbtRatio, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenWithdrawalEventData { amountT, nbtRatio, nftTokenBalance, tokenBalanceT, type, usdRatio }, ... on NftPoolTokenWithdrawalEventDataV2 { amountT, nbtRatio, tokenBalanceT, type, usdRatio }, ... on SwapNftInPoolEventData { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftTokenBalance, nftsTransfered { amountT, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftInPoolEventDataV2 { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftsTransfered { amountT, nftQuantity, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftOutPoolEventData { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftTokenBalance, nftsTransfered { amountT, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio }, ... on SwapNftOutPoolEventDataV2 { amountT, nbtRatio, newBuyPriceT, newDelta, newSellPriceT, newSpotPriceT, nftAssets { address, attributes { class, css, displayType, maxValue, name, value, valueType }, description, id, media { image, processed, thumbLg, thumbSm }, name, networkId, originalImage, quantity, rawAssetData { animationUrl, externalUrl, imageData, imageUrl }, tokenId, uri }, nftsTransfered { amountT, nftQuantity, nftTokenId }, poolFeeT, protocolFeeT, tokenBalanceT, tokenId, type, usdRatio } }, eventType, exchangeAddress, id, logIndex, maker, networkId, poolAddress, poolType, timestamp, tokenAddress, transactionHash, transactionIndex }, exchangeAddress, id, networkId, poolAddress
429
429
  }
430
430
  }`,
431
431
  vars,
@@ -438,7 +438,7 @@ export class Subscribe {
438
438
  this.sdk.subscribe(
439
439
  `subscription OnHoldersUpdated($tokenId: String!) {
440
440
  onHoldersUpdated (tokenId: $tokenId) {
441
- balances { address, balance, balanceUsd, firstHeldTimestamp, networkId, shiftedBalance, token { address, circulatingSupply, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, explorerData { blueCheckmark, description, divisor, id, tokenPriceUSD, tokenType }, freezable, id, imageLargeUrl, imageSmallUrl, imageThumbUrl, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, name, poolAddress }, mintable, name, networkId, pooled, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, totalSupply }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
441
+ 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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
442
442
  }
443
443
  }`,
444
444
  vars,
@@ -451,7 +451,7 @@ export class Subscribe {
451
451
  this.sdk.subscribe(
452
452
  `subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
453
453
  onPairMetadataUpdated (id: $id, quoteToken: $quoteToken) {
454
- createdAt, enhancedToken0 { address, circulatingSupply, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, explorerData { blueCheckmark, description, divisor, id, tokenPriceUSD, tokenType }, freezable, id, imageLargeUrl, imageSmallUrl, imageThumbUrl, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, name, poolAddress }, mintable, name, networkId, pooled, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, totalSupply }, enhancedToken1 { address, circulatingSupply, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, explorerData { blueCheckmark, description, divisor, id, tokenPriceUSD, tokenType }, freezable, id, imageLargeUrl, imageSmallUrl, imageThumbUrl, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, name, poolAddress }, mintable, name, networkId, pooled, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, totalSupply }, exchangeId, fee, highPrice1, highPrice1w, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice1w, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange1w, priceChange4, priceChange5m, priceChange12, priceChange24, 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, volume1w, volume4, volume5m, volume12, volume24
454
+ 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, 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, highPrice1w, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice1w, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange1w, priceChange4, priceChange5m, priceChange12, priceChange24, 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, volume1w, volume4, volume5m, volume12, volume24
455
455
  }
456
456
  }`,
457
457
  vars,