@codex-data/sdk 1.0.31 → 1.0.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/graphql.d.ts +50 -40
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/sdk/Mutation.d.ts +3 -3
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +3 -3
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +50 -50
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +50 -50
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +16 -16
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +83 -83
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +2 -2
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +1 -1
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +55 -43
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +1 -1
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +1 -1
- package/src/resources/generated_queries/FilterTokenWallets.graphql +2 -0
- package/src/resources/graphql.schema.json +94 -187
- package/src/resources/graphql.ts +50 -43
- package/src/resources/networkConfigs.json +34 -3
- package/src/resources/queries_override/FilterTokenWallets.graphql +144 -0
- package/src/resources/schema.graphql +41 -53
- package/src/sdk/Mutation.ts +7 -7
- package/src/sdk/Query.ts +108 -108
- package/src/sdk/Subscribe.ts +153 -153
- package/src/sdk/generated/gql.ts +3 -3
- package/src/sdk/generated/graphql.ts +55 -48
package/dist/sdk/Subscribe.d.ts
CHANGED
|
@@ -4,28 +4,28 @@ import { Codex } from "./index";
|
|
|
4
4
|
export declare class Subscribe {
|
|
5
5
|
private sdk;
|
|
6
6
|
constructor(sdk: Codex);
|
|
7
|
-
onDetailedStatsUpdated: (vars: OnDetailedStatsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnDetailedStatsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
8
|
-
onPriceUpdated: (vars: OnPriceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPriceUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
9
7
|
onUnconfirmedEventsCreatedByMaker: (vars: OnUnconfirmedEventsCreatedByMakerSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedByMakerSubscription>>) => import("./index").CleanupFunction;
|
|
10
|
-
|
|
11
|
-
onEventLabelCreated: (vars: OnEventLabelCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventLabelCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
12
|
-
onLatestTokens: (vars: OnLatestTokensSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestTokensSubscription>>) => import("./index").CleanupFunction;
|
|
8
|
+
onNftPoolEventsCreated: (vars: OnNftPoolEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftPoolEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
13
9
|
onNftAssetsCreated: (vars: OnNftAssetsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftAssetsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
10
|
+
onTokenEventsCreated: (vars: OnTokenEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
11
|
+
onLatestPairUpdated: (vars: OnLatestPairUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
12
|
+
onBarsUpdated: (vars: OnBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
13
|
+
onTokenBarsUpdated: (vars: OnTokenBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenBarsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
14
|
+
onLatestTokens: (vars: OnLatestTokensSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestTokensSubscription>>) => import("./index").CleanupFunction;
|
|
15
|
+
onHoldersUpdated: (vars: OnHoldersUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnHoldersUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
14
16
|
onNftEventsCreated: (vars: OnNftEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
15
|
-
|
|
16
|
-
onNftPoolEventsCreated: (vars: OnNftPoolEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnNftPoolEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
17
|
-
onPricesUpdated: (vars: OnPricesUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
17
|
+
onEventsCreated: (vars: OnEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
18
18
|
onTokenLifecycleEventsCreated: (vars: OnTokenLifecycleEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenLifecycleEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
19
|
+
onUnconfirmedEventsCreated: (vars: OnUnconfirmedEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
19
20
|
onLaunchpadTokenEventBatch: (vars: OnLaunchpadTokenEventBatchSubscriptionVariables, sink: Sink<ExecutionResult<OnLaunchpadTokenEventBatchSubscription>>) => import("./index").CleanupFunction;
|
|
21
|
+
onLaunchpadTokenEvent: (vars: OnLaunchpadTokenEventSubscriptionVariables, sink: Sink<ExecutionResult<OnLaunchpadTokenEventSubscription>>) => import("./index").CleanupFunction;
|
|
22
|
+
onPairMetadataUpdated: (vars: OnPairMetadataUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPairMetadataUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
23
|
+
onPricesUpdated: (vars: OnPricesUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPricesUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
24
|
+
onUnconfirmedBarsUpdated: (vars: OnUnconfirmedBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnUnconfirmedBarsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
25
|
+
onPriceUpdated: (vars: OnPriceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPriceUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
20
26
|
onEventsCreatedByMaker: (vars: OnEventsCreatedByMakerSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedByMakerSubscription>>) => import("./index").CleanupFunction;
|
|
21
|
-
|
|
22
|
-
onLatestPairUpdated: (vars: OnLatestPairUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnLatestPairUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
27
|
+
onDetailedStatsUpdated: (vars: OnDetailedStatsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnDetailedStatsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
23
28
|
onBalanceUpdated: (vars: OnBalanceUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBalanceUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
24
|
-
|
|
25
|
-
onHoldersUpdated: (vars: OnHoldersUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnHoldersUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
26
|
-
onEventsCreated: (vars: OnEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
27
|
-
onTokenEventsCreated: (vars: OnTokenEventsCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnTokenEventsCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
28
|
-
onPairMetadataUpdated: (vars: OnPairMetadataUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnPairMetadataUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
29
|
-
onBarsUpdated: (vars: OnBarsUpdatedSubscriptionVariables, sink: Sink<ExecutionResult<OnBarsUpdatedSubscription>>) => import("./index").CleanupFunction;
|
|
29
|
+
onEventLabelCreated: (vars: OnEventLabelCreatedSubscriptionVariables, sink: Sink<ExecutionResult<OnEventLabelCreatedSubscription>>) => import("./index").CleanupFunction;
|
|
30
30
|
}
|
|
31
31
|
//# sourceMappingURL=Subscribe.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscribe.d.ts","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEnD,OAAO,EACL,4BAA4B,EAC5B,qCAAqC,EACrC,yBAAyB,EACzB,kCAAkC,EAClC,kCAAkC,EAClC,2CAA2C,EAC3C,+BAA+B,EAC/B,wCAAwC,EACxC,kCAAkC,EAClC,2CAA2C,EAC3C,2BAA2B,EAC3B,oCAAoC,EACpC,4BAA4B,EAC5B,qCAAqC,EACrC,+BAA+B,EAC/B,wCAAwC,EACxC,0BAA0B,EAC1B,mCAAmC,EACnC,sCAAsC,EACtC,+CAA+C,EAC/C,iCAAiC,EACjC,0CAA0C,EAC1C,8BAA8B,EAC9B,uCAAuC,EACvC,8BAA8B,EAC9B,uCAAuC,EACvC,kCAAkC,EAClC,2CAA2C,EAC3C,iCAAiC,EACjC,0CAA0C,EAC1C,2BAA2B,EAC3B,oCAAoC,EACpC,0BAA0B,EAC1B,mCAAmC,EACnC,8BAA8B,EAC9B,uC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|
5
5
|
constructor(sdk) {
|
|
6
6
|
this.sdk = sdk;
|
|
7
|
-
this.
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
this.onUnconfirmedEventsCreatedByMaker = (vars, sink) => this.sdk.subscribe(`subscription OnUnconfirmedEventsCreatedByMaker($input: OnUnconfirmedEventsCreatedByMakerInput!) {
|
|
8
|
+
onUnconfirmedEventsCreatedByMaker (input: $input) {
|
|
9
|
+
events { address, blockHash, blockNumber, data { ... on UnconfirmedLiquidityChangeEventData { amount0, amount0Shifted, amount1, amount1Shifted, type }, ... on UnconfirmedSwapEventData { amountBaseToken, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, type } }, eventDisplayType, eventType, id, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, transactionHash, transactionIndex }, makerAddress
|
|
10
10
|
}
|
|
11
11
|
}`, vars, sink);
|
|
12
|
-
this.
|
|
13
|
-
|
|
14
|
-
address,
|
|
12
|
+
this.onNftPoolEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
|
|
13
|
+
onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
|
|
14
|
+
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
|
|
15
15
|
}
|
|
16
16
|
}`, vars, sink);
|
|
17
|
-
this.
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
this.onNftAssetsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {
|
|
18
|
+
onNftAssetsCreated (address: $address, networkId: $networkId, tokenId: $tokenId) {
|
|
19
|
+
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
|
|
20
20
|
}
|
|
21
21
|
}`, vars, sink);
|
|
22
|
-
this.
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
this.onTokenEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
|
|
23
|
+
onTokenEventsCreated (input: $input) {
|
|
24
|
+
events { address, baseTokenPrice, blockHash, blockNumber, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id
|
|
25
25
|
}
|
|
26
26
|
}`, vars, sink);
|
|
27
|
-
this.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
... on FrontRunLabelData {
|
|
31
|
-
index
|
|
32
|
-
token0DrainedAmount
|
|
33
|
-
token1DrainedAmount
|
|
34
|
-
}
|
|
35
|
-
... on SandwichedLabelData {
|
|
36
|
-
token0DrainedAmountSandwich: token0DrainedAmount
|
|
37
|
-
token1DrainedAmountSandwich: token1DrainedAmount
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
id
|
|
41
|
-
label
|
|
42
|
-
logIndex
|
|
43
|
-
networkId
|
|
44
|
-
timestamp
|
|
45
|
-
transactionHash
|
|
46
|
-
transactionIndex
|
|
27
|
+
this.onLatestPairUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
|
|
28
|
+
onLatestPairUpdated (id: $id, networkId: $networkId) {
|
|
29
|
+
address, exchangeHash, id, initialPriceUsd, liquidAt, liquidity, liquidityToken, networkId, newToken, nonLiquidityToken, oldToken, priceChange, priceUsd, token0 { address, currentPoolAmount, decimals, id, initialPoolAmount, name, networkId, pairId, poolVariation, symbol }, token1 { address, currentPoolAmount, decimals, id, initialPoolAmount, name, networkId, pairId, poolVariation, symbol }, transactionHash
|
|
47
30
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
31
|
+
}`, vars, sink);
|
|
32
|
+
this.onBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
|
|
33
|
+
onBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
|
|
34
|
+
aggregates { r1 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, quoteTokenAddress, statsType, timestamp
|
|
35
|
+
}
|
|
36
|
+
}`, vars, sink);
|
|
37
|
+
this.onTokenBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
|
|
38
|
+
onTokenBarsUpdated (networkId: $networkId, tokenId: $tokenId) {
|
|
39
|
+
aggregates { r1 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, statsType, timestamp, tokenAddress, tokenId
|
|
40
|
+
}
|
|
41
|
+
}`, vars, sink);
|
|
50
42
|
this.onLatestTokens = (vars, sink) => this.sdk.subscribe(`subscription OnLatestTokens($id: String, $networkId: Int, $tokenAddress: String) {
|
|
51
43
|
onLatestTokens (id: $id, networkId: $networkId, tokenAddress: $tokenAddress) {
|
|
52
44
|
blockHash, blockNumber, creatorAddress, creatorBalance, decimals, id, networkId, simulationResults { buyGasUsed, buySuccess, buyTax, canRenounceOwnership, canTransferOwnership, isOwnerRenounced, maxBuyAmount, maxSellAmount, openTradingCall, sellGasUsed, sellSuccess, sellTax }, timeCreated, tokenAddress, tokenName, tokenSymbol, totalSupply, traceIndex, transactionHash, transactionIndex
|
|
53
45
|
}
|
|
54
46
|
}`, vars, sink);
|
|
55
|
-
this.
|
|
56
|
-
|
|
57
|
-
address,
|
|
47
|
+
this.onHoldersUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnHoldersUpdated($tokenId: String!) {
|
|
48
|
+
onHoldersUpdated (tokenId: $tokenId) {
|
|
49
|
+
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 }, 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
50
|
}
|
|
59
51
|
}`, vars, sink);
|
|
60
52
|
this.onNftEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
@@ -62,25 +54,20 @@ class Subscribe {
|
|
|
62
54
|
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
|
|
63
55
|
}
|
|
64
56
|
}`, vars, sink);
|
|
65
|
-
this.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
}`, vars, sink);
|
|
70
|
-
this.onNftPoolEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnNftPoolEventsCreated($collectionAddress: String, $exchangeAddress: String, $networkId: Int, $poolAddress: String) {
|
|
71
|
-
onNftPoolEventsCreated (collectionAddress: $collectionAddress, exchangeAddress: $exchangeAddress, networkId: $networkId, poolAddress: $poolAddress) {
|
|
72
|
-
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
|
|
73
|
-
}
|
|
74
|
-
}`, vars, sink);
|
|
75
|
-
this.onPricesUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
|
|
76
|
-
onPricesUpdated (input: $input) {
|
|
77
|
-
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
57
|
+
this.onEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreated($address: String, $id: String, $networkId: Int, $quoteToken: QuoteToken) {
|
|
58
|
+
onEventsCreated (address: $address, id: $id, networkId: $networkId, quoteToken: $quoteToken) {
|
|
59
|
+
address, events { address, baseTokenPrice, blockHash, blockNumber, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id, networkId, quoteToken
|
|
78
60
|
}
|
|
79
61
|
}`, vars, sink);
|
|
80
62
|
this.onTokenLifecycleEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
|
|
81
63
|
onTokenLifecycleEventsCreated (address: $address, networkId: $networkId) {
|
|
82
64
|
events { blockHash, blockNumber, data { ... on TokenBurnEventData { amount, circulatingSupply, totalSupply }, ... on TokenMintEventData { amount, circulatingSupply, totalSupply } }, eventType, id, logIndex, maker, networkId, timestamp, tokenAddress, transactionHash, transactionIndex }, id
|
|
83
65
|
}
|
|
66
|
+
}`, vars, sink);
|
|
67
|
+
this.onUnconfirmedEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnUnconfirmedEventsCreated($address: String, $id: String, $quoteToken: QuoteToken) {
|
|
68
|
+
onUnconfirmedEventsCreated (address: $address, id: $id, quoteToken: $quoteToken) {
|
|
69
|
+
address, events { address, blockHash, blockNumber, data { ... on UnconfirmedLiquidityChangeEventData { amount0, amount0Shifted, amount1, amount1Shifted, type }, ... on UnconfirmedSwapEventData { amountBaseToken, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, type } }, eventDisplayType, eventType, id, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, transactionHash, transactionIndex }, id, networkId, quoteToken
|
|
70
|
+
}
|
|
84
71
|
}`, vars, sink);
|
|
85
72
|
this.onLaunchpadTokenEventBatch = (vars, sink) => this.sdk.subscribe(`subscription OnLaunchpadTokenEventBatch(
|
|
86
73
|
$input: OnLaunchpadTokenEventBatchInput
|
|
@@ -179,56 +166,69 @@ class Subscribe {
|
|
|
179
166
|
}
|
|
180
167
|
}
|
|
181
168
|
`, vars, sink);
|
|
182
|
-
this.
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
}
|
|
186
|
-
}`, vars, sink);
|
|
187
|
-
this.onTokenBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
|
|
188
|
-
onTokenBarsUpdated (networkId: $networkId, tokenId: $tokenId) {
|
|
189
|
-
aggregates { r1 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { buyVolume, buyers, buys, c, h, l, liquidity, o, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, statsType, timestamp, tokenAddress, tokenId
|
|
169
|
+
this.onLaunchpadTokenEvent = (vars, sink) => this.sdk.subscribe(`subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
170
|
+
onLaunchpadTokenEvent (input: $input) {
|
|
171
|
+
address, buyCount1, eventType, holders, launchpadName, liquidity, 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, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply }, 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 }, transactions1, volume1
|
|
190
172
|
}
|
|
191
173
|
}`, vars, sink);
|
|
192
|
-
this.
|
|
193
|
-
|
|
194
|
-
address,
|
|
174
|
+
this.onPairMetadataUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
|
|
175
|
+
onPairMetadataUpdated (id: $id, quoteToken: $quoteToken) {
|
|
176
|
+
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 }, 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 }, 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, 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
|
|
195
177
|
}
|
|
196
178
|
}`, vars, sink);
|
|
197
|
-
this.
|
|
198
|
-
|
|
199
|
-
address,
|
|
179
|
+
this.onPricesUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
|
|
180
|
+
onPricesUpdated (input: $input) {
|
|
181
|
+
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
200
182
|
}
|
|
201
183
|
}`, vars, sink);
|
|
202
|
-
this.
|
|
203
|
-
|
|
204
|
-
|
|
184
|
+
this.onUnconfirmedBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnUnconfirmedBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
|
|
185
|
+
onUnconfirmedBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
|
|
186
|
+
aggregates { r1 { c, h, l, o, t, v, volume }, r1S { c, h, l, o, t, v, volume }, r5 { c, h, l, o, t, v, volume }, r5S { c, h, l, o, t, v, volume }, r15 { c, h, l, o, t, v, volume }, r15S { c, h, l, o, t, v, volume } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, quoteTokenAddress, timestamp
|
|
205
187
|
}
|
|
206
188
|
}`, vars, sink);
|
|
207
|
-
this.
|
|
208
|
-
|
|
209
|
-
|
|
189
|
+
this.onPriceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String) {
|
|
190
|
+
onPriceUpdated (address: $address, networkId: $networkId, sourcePairAddress: $sourcePairAddress) {
|
|
191
|
+
address, confidence, networkId, poolAddress, priceUsd, timestamp
|
|
210
192
|
}
|
|
211
193
|
}`, vars, sink);
|
|
212
|
-
this.
|
|
213
|
-
|
|
214
|
-
|
|
194
|
+
this.onEventsCreatedByMaker = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreatedByMaker($input: OnEventsCreatedByMakerInput!) {
|
|
195
|
+
onEventsCreatedByMaker (input: $input) {
|
|
196
|
+
events { address, baseTokenPrice, blockHash, blockNumber, data { ... on BurnEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on MintEventData { amount0, amount0Shifted, amount1, amount1Shifted, tickLower, tickUpper, type }, ... on PoolBalanceChangedEventData { amount0, amount0Shifted, amount1, amount1Shifted, liquidity0, liquidity1, protocolFeeAmount0, protocolFeeAmount1, sender, token0, token1, type }, ... on SwapEventData { amount0, amount0In, amount0Out, amount1, amount1In, amount1Out, amountNonLiquidityToken, priceBaseToken, priceBaseTokenTotal, priceUsd, priceUsdTotal, tick, type } }, eventDisplayType, eventType, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, makerAddress
|
|
215
197
|
}
|
|
216
198
|
}`, vars, sink);
|
|
217
|
-
this.
|
|
218
|
-
|
|
219
|
-
|
|
199
|
+
this.onDetailedStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest) {
|
|
200
|
+
onDetailedStatsUpdated (pairId: $pairId, tokenOfInterest: $tokenOfInterest) {
|
|
201
|
+
bucketCount, pairId, queryTimestamp, statsType, stats_day1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour1 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour4 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_hour12 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, stats_min5 { buckets { end, start }, buyVolume { buckets, change, currentValue, previousValue }, buyers { buckets, change, currentValue, previousValue }, buys { buckets, change, currentValue, previousValue }, endTimestamp, sellVolume { buckets, change, currentValue, previousValue }, sellers { buckets, change, currentValue, previousValue }, sells { buckets, change, currentValue, previousValue }, timestamp, traders { buckets, change, currentValue, previousValue }, transactions { buckets, change, currentValue, previousValue }, volume { buckets, change, currentValue, previousValue }, windowSize }, tokenOfInterest
|
|
220
202
|
}
|
|
221
203
|
}`, vars, sink);
|
|
222
|
-
this.
|
|
223
|
-
|
|
224
|
-
|
|
204
|
+
this.onBalanceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBalanceUpdated($walletAddress: String!) {
|
|
205
|
+
onBalanceUpdated (walletAddress: $walletAddress) {
|
|
206
|
+
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 }, 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
|
|
225
207
|
}
|
|
226
208
|
}`, vars, sink);
|
|
227
|
-
this.
|
|
228
|
-
|
|
229
|
-
|
|
209
|
+
this.onEventLabelCreated = (vars, sink) => this.sdk.subscribe(`subscription OnEventLabelCreated($id: String) {
|
|
210
|
+
onEventLabelCreated(id: $id) {
|
|
211
|
+
data {
|
|
212
|
+
... on FrontRunLabelData {
|
|
213
|
+
index
|
|
214
|
+
token0DrainedAmount
|
|
215
|
+
token1DrainedAmount
|
|
216
|
+
}
|
|
217
|
+
... on SandwichedLabelData {
|
|
218
|
+
token0DrainedAmountSandwich: token0DrainedAmount
|
|
219
|
+
token1DrainedAmountSandwich: token1DrainedAmount
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
id
|
|
223
|
+
label
|
|
224
|
+
logIndex
|
|
225
|
+
networkId
|
|
226
|
+
timestamp
|
|
227
|
+
transactionHash
|
|
228
|
+
transactionIndex
|
|
230
229
|
}
|
|
231
|
-
}
|
|
230
|
+
}
|
|
231
|
+
`, vars, sink);
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
234
|
exports.Subscribe = Subscribe;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Subscribe.js","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":";;;AAqDA,MAAa,SAAS;IACpB,YAAoB,GAAU;QAAV,QAAG,GAAH,GAAG,CAAO;QAC9B,
|
|
1
|
+
{"version":3,"file":"Subscribe.js","sourceRoot":"","sources":["../../src/sdk/Subscribe.ts"],"names":[],"mappings":";;;AAqDA,MAAa,SAAS;IACpB,YAAoB,GAAU;QAAV,QAAG,GAAH,GAAG,CAAO;QAC9B,sCAAiC,GAAG,CAClC,IAA4D,EAC5D,IAA0E,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C,GAAG,CAAC,SAAS,CAChB;;;;EAIJ,EACI,IAAI,EACJ,IAAI,CACL,CAAC;QACJ,6BAAwB,GAAG,CACzB,IAAmD,EACnD,IAAiE,EACjE,EAAE,CACF,IAAI,CAAC,GAAG,CAAC,SAAS,CAChB;;;;EAIJ,EACI,IAAI,EACJ,IAAI,CACL,CAAC;QACJ,mBAAc,GAAG,CACf,IAAyC,EACzC,IAAuD,EACvD,EAAE,CACF,IAAI,CAAC,GAAG,CAAC,SAAS,CAChB;;;;EAIJ,EACI,IAAI,EACJ,IAAI,CACL,CAAC;QACJ,2BAAsB,GAAG,CACvB,IAAiD,EACjD,IAA+D,EAC/D,EAAE,CACF,IAAI,CAAC,GAAG,CAAC,SAAS,CAChB;;;;EAIJ,EACI,IAAI,EACJ,IAAI,CACL,CAAC;QACJ,2BAAsB,GAAG,CACvB,IAAiD,EACjD,IAA+D,EAC/D,EAAE,CACF,IAAI,CAAC,GAAG,CAAC,SAAS,CAChB;;;;EAIJ,EACI,IAAI,EACJ,IAAI,CACL,CAAC;QACJ,qBAAgB,GAAG,CACjB,IAA2C,EAC3C,IAAyD,EACzD,EAAE,CACF,IAAI,CAAC,GAAG,CAAC,SAAS,CAChB;;;;EAIJ,EACI,IAAI,EACJ,IAAI,CACL,CAAC;QACJ,wBAAmB,GAAG,CACpB,IAA8C,EAC9C,IAA4D,EAC5D,EAAE,CACF,IAAI,CAAC,GAAG,CAAC,SAAS,CAChB;;;;;;;;;;;;;;;;;;;;;;CAsBL,EACK,IAAI,EACJ,IAAI,CACL,CAAC;IAzZ6B,CAAC;CA0ZnC;AA3ZD,8BA2ZC"}
|
|
@@ -28,7 +28,7 @@ type Documents = {
|
|
|
28
28
|
"query FilterNftPoolCollections($filters: NftPoolCollectionFilters, $limit: Int, $offset: Int, $phrase: String, $rankings: [NftPoolCollectionRanking]) {\n filterNftPoolCollections(\n filters: $filters\n limit: $limit\n offset: $offset\n phrase: $phrase\n rankings: $rankings\n ) {\n count\n page\n results {\n balanceNBT\n balanceUSD\n collectionAddress\n ercType\n exchangeAddress\n expenseNBT24\n expenseNBTAll\n expenseUSD24\n expenseUSDAll\n floorNBT\n floorUSD\n highPriceNBT24\n highPriceNBTAll\n highPriceUSD24\n highPriceUSDAll\n id\n imageUrl\n lowPriceNBT24\n lowPriceNBTAll\n lowPriceUSD24\n lowPriceUSDAll\n name\n networkId\n nftBalanceV2\n nftVolume24V2\n nftVolumeAllV2\n nftsBought24V2\n nftsBoughtAllV2\n nftsSold24V2\n nftsSoldAllV2\n offerNBT\n offerUSD\n poolFeesNBT24\n poolFeesNBTAll\n poolFeesUSD24\n poolFeesUSDAll\n protocolFeesNBT24\n protocolFeesNBTAll\n protocolFeesUSD24\n protocolFeesUSDAll\n revenueNBT24\n revenueNBTAll\n revenueUSD24\n revenueUSDAll\n symbol\n timestamp\n totalSupplyV2\n volumeNBT24\n volumeNBTAll\n volumeUSD24\n volumeUSDAll\n }\n }\n}": typeof types.FilterNftPoolCollectionsDocument;
|
|
29
29
|
"query FilterNftPools($filters: NftPoolFilters, $limit: Int, $offset: Int, $phrase: String, $rankings: [NftPoolRanking]) {\n filterNftPools(\n filters: $filters\n limit: $limit\n offset: $offset\n phrase: $phrase\n rankings: $rankings\n ) {\n count\n page\n results {\n acceptedNftTokenIds\n assetRecipientAddress\n balanceNBT\n balanceT\n balanceUSD\n bondingCurveAddress\n collectionAddress\n collectionName\n collectionSymbol\n delta\n exchangeAddress\n expenseNBT24\n expenseNBTAll\n expenseT24\n expenseTAll\n expenseUSD24\n expenseUSDAll\n feeAmount\n id\n networkId\n nftAssets {\n address\n attributes {\n class\n css\n displayType\n maxValue\n name\n value\n valueType\n }\n description\n id\n media {\n image\n processed\n thumbLg\n thumbSm\n }\n name\n networkId\n originalImage\n quantity\n rawAssetData {\n animationUrl\n externalUrl\n imageData\n imageUrl\n }\n tokenId\n uri\n }\n nftBalanceV2\n nftVolume24V2\n nftVolumeAllV2\n nftsBought24V2\n nftsBoughtAllV2\n nftsSold24V2\n nftsSoldAllV2\n offerNBT\n offerT\n offerUSD\n ownerAddress\n poolAddress\n poolFeesNBT24\n poolFeesNBTAll\n poolFeesT24\n poolFeesTAll\n poolFeesUSD24\n poolFeesUSDAll\n poolNftType\n poolType\n poolVariant\n propertyChecker\n protocolFeesNBT24\n protocolFeesNBTAll\n protocolFeesT24\n protocolFeesTAll\n protocolFeesUSD24\n protocolFeesUSDAll\n revenueNBT24\n revenueNBTAll\n revenueT24\n revenueTAll\n revenueUSD24\n revenueUSDAll\n royalties {\n percent\n recipient\n }\n sellNBT\n sellT\n sellUSD\n spotNBT\n spotT\n timestamp\n tokenAddress\n version\n volumeNBT24\n volumeNBTAll\n volumeT24\n volumeTAll\n volumeUSD24\n volumeUSDAll\n }\n }\n}": typeof types.FilterNftPoolsDocument;
|
|
30
30
|
"query FilterPairs($filters: PairFilters, $limit: Int, $matchTokens: PairFilterMatchTokens, $offset: Int, $pairs: [String], $phrase: String, $rankings: [PairRanking], $statsType: TokenPairStatisticsType) {\n filterPairs(\n filters: $filters\n limit: $limit\n matchTokens: $matchTokens\n offset: $offset\n pairs: $pairs\n phrase: $phrase\n rankings: $rankings\n statsType: $statsType\n ) {\n count\n offset\n results {\n buyCount1\n buyCount4\n buyCount12\n buyCount24\n buyVolumeUSD1\n buyVolumeUSD4\n buyVolumeUSD12\n buyVolumeUSD24\n createdAt\n exchange {\n address\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n highPrice1\n highPrice4\n highPrice12\n highPrice24\n lastTransaction\n liquidity\n liquidityToken\n lockedLiquidityPercentage\n lowPrice1\n lowPrice4\n lowPrice12\n lowPrice24\n marketCap\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on UniswapV4Data {\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n }\n price\n priceChange1\n priceChange4\n priceChange12\n priceChange24\n priceScale\n quoteToken\n sellCount1\n sellCount4\n sellCount12\n sellCount24\n sellVolumeUSD1\n sellVolumeUSD4\n sellVolumeUSD12\n sellVolumeUSD24\n swapPct1dOldWallet\n swapPct7dOldWallet\n token0 {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n token1 {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n txnCount1\n txnCount4\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions12\n uniqueTransactions24\n volumeChange1\n volumeChange4\n volumeChange12\n volumeChange24\n volumeUSD1\n volumeUSD4\n volumeUSD12\n volumeUSD24\n walletAgeAvg\n walletAgeStd\n }\n }\n}": typeof types.FilterPairsDocument;
|
|
31
|
-
"query FilterTokenWallets($input: FilterTokenWalletsInput!) {\n filterTokenWallets(input: $input) {\n count\n offset\n results {\n address\n amountBoughtUsd1d\n amountBoughtUsd1w\n amountBoughtUsd1y\n amountBoughtUsd30d\n amountSoldUsd1d\n amountSoldUsd1w\n amountSoldUsd1y\n amountSoldUsd30d\n amountSoldUsdAll1d\n amountSoldUsdAll1w\n amountSoldUsdAll1y\n amountSoldUsdAll30d\n backfillState\n botScore\n buys1d\n buys1w\n buys1y\n buys30d\n firstTransactionAt\n labels\n lastTransactionAt\n networkId\n purchasedTokenBalance\n realizedProfitPercentage1d\n realizedProfitPercentage1w\n realizedProfitPercentage1y\n realizedProfitPercentage30d\n realizedProfitUsd1d\n realizedProfitUsd1w\n realizedProfitUsd1y\n realizedProfitUsd30d\n scammerScore\n sells1d\n sells1w\n sells1y\n sells30d\n sellsAll1d\n sellsAll1w\n sellsAll1y\n sellsAll30d\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n tokenAcquisitionCostUsd\n tokenAddress\n tokenAmountBought1d\n tokenAmountBought1w\n tokenAmountBought1y\n tokenAmountBought30d\n tokenAmountSold1d\n tokenAmountSold1w\n tokenAmountSold1y\n tokenAmountSold30d\n tokenAmountSoldAll1d\n tokenAmountSoldAll1w\n tokenAmountSoldAll1y\n tokenAmountSoldAll30d\n tokenBalance\n }\n }\n}": typeof types.FilterTokenWalletsDocument;
|
|
31
|
+
"query FilterTokenWallets($input: FilterTokenWalletsInput!) {\n filterTokenWallets(input: $input) {\n count\n offset\n results {\n address\n amountBoughtUsd1d\n amountBoughtUsd1w\n amountBoughtUsd1y\n amountBoughtUsd30d\n amountSoldUsd1d\n amountSoldUsd1w\n amountSoldUsd1y\n amountSoldUsd30d\n amountSoldUsdAll1d\n amountSoldUsdAll1w\n amountSoldUsdAll1y\n amountSoldUsdAll30d\n backfillState\n botScore\n buys1d\n buys1w\n buys1y\n buys30d\n firstTransactionAt\n labels\n lastTransactionAt\n networkId\n purchasedTokenBalance\n realizedProfitPercentage1d\n realizedProfitPercentage1w\n realizedProfitPercentage1y\n realizedProfitPercentage30d\n realizedProfitUsd1d\n realizedProfitUsd1w\n realizedProfitUsd1y\n realizedProfitUsd30d\n scammerScore\n sells1d\n sells1w\n sells1y\n sells30d\n sellsAll1d\n sellsAll1w\n sellsAll1y\n sellsAll30d\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n tokenAcquisitionCostUsd\n tokenAddress\n tokenAmountBought1d\n tokenAmountBought1w\n tokenAmountBought1y\n tokenAmountBought30d\n tokenAmountSold1d\n tokenAmountSold1w\n tokenAmountSold1y\n tokenAmountSold30d\n tokenAmountSoldAll1d\n tokenAmountSoldAll1w\n tokenAmountSoldAll1y\n tokenAmountSoldAll30d\n tokenBalance\n tokenBalanceLive\n tokenBalanceLiveUsd\n }\n }\n}": typeof types.FilterTokenWalletsDocument;
|
|
32
32
|
"query FilterTokens($excludeTokens: [String], $filters: TokenFilters, $limit: Int, $offset: Int, $phrase: String, $rankings: [TokenRanking], $statsType: TokenPairStatisticsType, $tokens: [String]) {\n filterTokens(\n excludeTokens: $excludeTokens\n filters: $filters\n limit: $limit\n offset: $offset\n phrase: $phrase\n rankings: $rankings\n statsType: $statsType\n tokens: $tokens\n ) {\n count\n page\n results {\n buyCount1\n buyCount4\n buyCount5m\n buyCount12\n buyCount24\n buyVolume1\n buyVolume4\n buyVolume5m\n buyVolume12\n buyVolume24\n change1\n change4\n change5m\n change12\n change24\n circulatingMarketCap\n createdAt\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n high1\n high4\n high5m\n high12\n high24\n holders\n isScam\n lastTransaction\n liquidPair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on UniswapV4Data {\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n }\n liquidPairLiquidity\n liquidity\n low1\n low4\n low5m\n low12\n low24\n marketCap\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on UniswapV4Data {\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n }\n priceUSD\n quoteToken\n sellCount1\n sellCount4\n sellCount5m\n sellCount12\n sellCount24\n sellVolume1\n sellVolume4\n sellVolume5m\n sellVolume12\n sellVolume24\n swapPct1dOldWallet\n swapPct7dOldWallet\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n txnCount1\n txnCount4\n txnCount5m\n txnCount12\n txnCount24\n uniqueBuys1\n uniqueBuys4\n uniqueBuys5m\n uniqueBuys12\n uniqueBuys24\n uniqueSells1\n uniqueSells4\n uniqueSells5m\n uniqueSells12\n uniqueSells24\n uniqueTransactions1\n uniqueTransactions4\n uniqueTransactions5m\n uniqueTransactions12\n uniqueTransactions24\n volume1\n volume4\n volume5m\n volume12\n volume24\n volumeChange1\n volumeChange4\n volumeChange5m\n volumeChange12\n volumeChange24\n walletAgeAvg\n walletAgeStd\n }\n }\n}": typeof types.FilterTokensDocument;
|
|
33
33
|
"query FilterWallets($input: FilterWalletsInput!) {\n filterWallets(input: $input) {\n count\n offset\n results {\n address\n averageProfitUsdPerTrade1d\n averageProfitUsdPerTrade1w\n averageProfitUsdPerTrade1y\n averageProfitUsdPerTrade30d\n averageSwapAmountUsd1d\n averageSwapAmountUsd1w\n averageSwapAmountUsd1y\n averageSwapAmountUsd30d\n backfillState\n botScore\n firstTransactionAt\n labels\n lastTransactionAt\n nativeTokenBalance\n networkId\n realizedProfitPercentage1d\n realizedProfitPercentage1w\n realizedProfitPercentage1y\n realizedProfitPercentage30d\n realizedProfitUsd1d\n realizedProfitUsd1w\n realizedProfitUsd1y\n realizedProfitUsd30d\n scammerScore\n swaps1d\n swaps1w\n swaps1y\n swaps30d\n swapsAll1d\n swapsAll1w\n swapsAll1y\n swapsAll30d\n uniqueTokens1d\n uniqueTokens1w\n uniqueTokens1y\n uniqueTokens30d\n volumeUsd1d\n volumeUsd1w\n volumeUsd1y\n volumeUsd30d\n volumeUsdAll1d\n volumeUsdAll1w\n volumeUsdAll1y\n volumeUsdAll30d\n winRate1d\n winRate1w\n winRate1y\n winRate30d\n }\n }\n}": typeof types.FilterWalletsDocument;
|
|
34
34
|
"query GetBars($countback: Int, $currencyCode: String, $from: Int!, $quoteToken: QuoteToken, $removeEmptyBars: Boolean, $removeLeadingNullValues: Boolean, $resolution: String!, $statsType: TokenPairStatisticsType, $symbol: String!, $symbolType: SymbolType, $to: Int!) {\n getBars(\n countback: $countback\n currencyCode: $currencyCode\n from: $from\n quoteToken: $quoteToken\n removeEmptyBars: $removeEmptyBars\n removeLeadingNullValues: $removeLeadingNullValues\n resolution: $resolution\n statsType: $statsType\n symbol: $symbol\n symbolType: $symbolType\n to: $to\n ) {\n buyVolume\n buyers\n buys\n c\n h\n l\n liquidity\n o\n pair {\n address\n createdAt\n exchangeHash\n fee\n id\n networkId\n pooled {\n token0\n token1\n }\n protocolData {\n ... on ArenaTradeData {\n tokenId\n type\n }\n ... on UniswapV4Data {\n type\n uniswapV4HookAddress\n }\n }\n tickSpacing\n token0\n token0Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n token1\n token1Data {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n }\n s\n sellVolume\n sellers\n sells\n t\n traders\n transactions\n volume\n volumeNativeToken\n }\n}": typeof types.GetBarsDocument;
|
|
@@ -186,7 +186,7 @@ export declare function graphql(source: "query FilterPairs($filters: PairFilters
|
|
|
186
186
|
/**
|
|
187
187
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
188
188
|
*/
|
|
189
|
-
export declare function graphql(source: "query FilterTokenWallets($input: FilterTokenWalletsInput!) {\n filterTokenWallets(input: $input) {\n count\n offset\n results {\n address\n amountBoughtUsd1d\n amountBoughtUsd1w\n amountBoughtUsd1y\n amountBoughtUsd30d\n amountSoldUsd1d\n amountSoldUsd1w\n amountSoldUsd1y\n amountSoldUsd30d\n amountSoldUsdAll1d\n amountSoldUsdAll1w\n amountSoldUsdAll1y\n amountSoldUsdAll30d\n backfillState\n botScore\n buys1d\n buys1w\n buys1y\n buys30d\n firstTransactionAt\n labels\n lastTransactionAt\n networkId\n purchasedTokenBalance\n realizedProfitPercentage1d\n realizedProfitPercentage1w\n realizedProfitPercentage1y\n realizedProfitPercentage30d\n realizedProfitUsd1d\n realizedProfitUsd1w\n realizedProfitUsd1y\n realizedProfitUsd30d\n scammerScore\n sells1d\n sells1w\n sells1y\n sells30d\n sellsAll1d\n sellsAll1w\n sellsAll1y\n sellsAll30d\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n tokenAcquisitionCostUsd\n tokenAddress\n tokenAmountBought1d\n tokenAmountBought1w\n tokenAmountBought1y\n tokenAmountBought30d\n tokenAmountSold1d\n tokenAmountSold1w\n tokenAmountSold1y\n tokenAmountSold30d\n tokenAmountSoldAll1d\n tokenAmountSoldAll1w\n tokenAmountSoldAll1y\n tokenAmountSoldAll30d\n tokenBalance\n }\n }\n}"): (typeof documents)["query FilterTokenWallets($input: FilterTokenWalletsInput!) {\n filterTokenWallets(input: $input) {\n count\n offset\n results {\n address\n amountBoughtUsd1d\n amountBoughtUsd1w\n amountBoughtUsd1y\n amountBoughtUsd30d\n amountSoldUsd1d\n amountSoldUsd1w\n amountSoldUsd1y\n amountSoldUsd30d\n amountSoldUsdAll1d\n amountSoldUsdAll1w\n amountSoldUsdAll1y\n amountSoldUsdAll30d\n backfillState\n botScore\n buys1d\n buys1w\n buys1y\n buys30d\n firstTransactionAt\n labels\n lastTransactionAt\n networkId\n purchasedTokenBalance\n realizedProfitPercentage1d\n realizedProfitPercentage1w\n realizedProfitPercentage1y\n realizedProfitPercentage30d\n realizedProfitUsd1d\n realizedProfitUsd1w\n realizedProfitUsd1y\n realizedProfitUsd30d\n scammerScore\n sells1d\n sells1w\n sells1y\n sells30d\n sellsAll1d\n sellsAll1w\n sellsAll1y\n sellsAll30d\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n tokenAcquisitionCostUsd\n tokenAddress\n tokenAmountBought1d\n tokenAmountBought1w\n tokenAmountBought1y\n tokenAmountBought30d\n tokenAmountSold1d\n tokenAmountSold1w\n tokenAmountSold1y\n tokenAmountSold30d\n tokenAmountSoldAll1d\n tokenAmountSoldAll1w\n tokenAmountSoldAll1y\n tokenAmountSoldAll30d\n tokenBalance\n }\n }\n}"];
|
|
189
|
+
export declare function graphql(source: "query FilterTokenWallets($input: FilterTokenWalletsInput!) {\n filterTokenWallets(input: $input) {\n count\n offset\n results {\n address\n amountBoughtUsd1d\n amountBoughtUsd1w\n amountBoughtUsd1y\n amountBoughtUsd30d\n amountSoldUsd1d\n amountSoldUsd1w\n amountSoldUsd1y\n amountSoldUsd30d\n amountSoldUsdAll1d\n amountSoldUsdAll1w\n amountSoldUsdAll1y\n amountSoldUsdAll30d\n backfillState\n botScore\n buys1d\n buys1w\n buys1y\n buys30d\n firstTransactionAt\n labels\n lastTransactionAt\n networkId\n purchasedTokenBalance\n realizedProfitPercentage1d\n realizedProfitPercentage1w\n realizedProfitPercentage1y\n realizedProfitPercentage30d\n realizedProfitUsd1d\n realizedProfitUsd1w\n realizedProfitUsd1y\n realizedProfitUsd30d\n scammerScore\n sells1d\n sells1w\n sells1y\n sells30d\n sellsAll1d\n sellsAll1w\n sellsAll1y\n sellsAll30d\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n tokenAcquisitionCostUsd\n tokenAddress\n tokenAmountBought1d\n tokenAmountBought1w\n tokenAmountBought1y\n tokenAmountBought30d\n tokenAmountSold1d\n tokenAmountSold1w\n tokenAmountSold1y\n tokenAmountSold30d\n tokenAmountSoldAll1d\n tokenAmountSoldAll1w\n tokenAmountSoldAll1y\n tokenAmountSoldAll30d\n tokenBalance\n tokenBalanceLive\n tokenBalanceLiveUsd\n }\n }\n}"): (typeof documents)["query FilterTokenWallets($input: FilterTokenWalletsInput!) {\n filterTokenWallets(input: $input) {\n count\n offset\n results {\n address\n amountBoughtUsd1d\n amountBoughtUsd1w\n amountBoughtUsd1y\n amountBoughtUsd30d\n amountSoldUsd1d\n amountSoldUsd1w\n amountSoldUsd1y\n amountSoldUsd30d\n amountSoldUsdAll1d\n amountSoldUsdAll1w\n amountSoldUsdAll1y\n amountSoldUsdAll30d\n backfillState\n botScore\n buys1d\n buys1w\n buys1y\n buys30d\n firstTransactionAt\n labels\n lastTransactionAt\n networkId\n purchasedTokenBalance\n realizedProfitPercentage1d\n realizedProfitPercentage1w\n realizedProfitPercentage1y\n realizedProfitPercentage30d\n realizedProfitUsd1d\n realizedProfitUsd1w\n realizedProfitUsd1y\n realizedProfitUsd30d\n scammerScore\n sells1d\n sells1w\n sells1y\n sells30d\n sellsAll1d\n sellsAll1w\n sellsAll1y\n sellsAll30d\n token {\n address\n cmcId\n createBlockNumber\n createTransactionHash\n createdAt\n creatorAddress\n decimals\n exchanges {\n address\n color\n exchangeVersion\n iconUrl\n id\n name\n networkId\n tradeUrl\n }\n freezable\n id\n info {\n address\n circulatingSupply\n cmcId\n description\n id\n imageBannerUrl\n imageLargeUrl\n imageSmallUrl\n imageThumbHash\n imageThumbUrl\n isScam\n name\n networkId\n symbol\n totalSupply\n }\n isScam\n launchpad {\n completed\n completedAt\n completedSlot\n graduationPercent\n launchpadIconUrl\n launchpadName\n launchpadProtocol\n migrated\n migratedAt\n migratedPoolAddress\n migratedSlot\n poolAddress\n }\n mintable\n name\n networkId\n socialLinks {\n bitcointalk\n blog\n coingecko\n coinmarketcap\n discord\n email\n facebook\n github\n instagram\n linkedin\n reddit\n slack\n telegram\n twitch\n twitter\n website\n wechat\n whitepaper\n youtube\n }\n symbol\n }\n tokenAcquisitionCostUsd\n tokenAddress\n tokenAmountBought1d\n tokenAmountBought1w\n tokenAmountBought1y\n tokenAmountBought30d\n tokenAmountSold1d\n tokenAmountSold1w\n tokenAmountSold1y\n tokenAmountSold30d\n tokenAmountSoldAll1d\n tokenAmountSoldAll1w\n tokenAmountSoldAll1y\n tokenAmountSoldAll30d\n tokenBalance\n tokenBalanceLive\n tokenBalanceLiveUsd\n }\n }\n}"];
|
|
190
190
|
/**
|
|
191
191
|
* The graphql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
192
192
|
*/
|