@codex-data/sdk 2.3.2 → 2.3.3
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/sdk/Query.d.ts +4 -1
- package/dist/sdk/Query.js +3 -0
- package/dist/sdk/Query.mjs +4 -1
- package/dist/sdk/Subscribe.d.ts +1 -2
- package/dist/sdk/Subscribe.js +24 -29
- package/dist/sdk/Subscribe.mjs +24 -29
- package/dist/sdk/generated/gql.d.ts +109 -99
- package/dist/sdk/generated/gql.js +50 -48
- package/dist/sdk/generated/gql.mjs +50 -48
- package/dist/sdk/generated/graphql.d.ts +18161 -730
- package/dist/sdk/generated/graphql.js +270 -83
- package/dist/sdk/generated/graphql.mjs +265 -79
- package/package.json +1 -1
package/dist/sdk/Subscribe.mjs
CHANGED
|
@@ -3,12 +3,12 @@ export class Subscribe {
|
|
|
3
3
|
this.sdk = sdk;
|
|
4
4
|
this.onBalanceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBalanceUpdated($walletAddress: String!) {
|
|
5
5
|
onBalanceUpdated (walletAddress: $walletAddress) {
|
|
6
|
-
address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, tokenAddress, tokenId, tokenPriceUsd, walletId
|
|
6
|
+
address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, tokenAddress, tokenId, tokenPriceUsd, walletId
|
|
7
7
|
}
|
|
8
8
|
}`, vars, sink);
|
|
9
|
-
this.onBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBarsUpdated($pairId: String, $quoteToken: QuoteToken) {
|
|
10
|
-
onBarsUpdated (pairId: $pairId, quoteToken: $quoteToken) {
|
|
11
|
-
aggregates { r1 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, eventSortKey, networkId, pairAddress, pairId, quoteToken, quoteTokenAddress, statsType, timestamp
|
|
9
|
+
this.onBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnBarsUpdated($commitmentLevel: [BarCommitmentLevel!], $pairId: String, $quoteToken: QuoteToken) {
|
|
10
|
+
onBarsUpdated (commitmentLevel: $commitmentLevel, pairId: $pairId, quoteToken: $quoteToken) {
|
|
11
|
+
aggregates { r1 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, commitmentLevel, eventSortKey, networkId, pairAddress, pairId, quoteToken, quoteTokenAddress, statsType, timestamp
|
|
12
12
|
}
|
|
13
13
|
}`, vars, sink);
|
|
14
14
|
this.onDetailedPredictionEventStatsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnDetailedPredictionEventStatsUpdated($eventId: String!) {
|
|
@@ -54,29 +54,24 @@ export class Subscribe {
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
`, vars, sink);
|
|
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, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, 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
|
|
57
|
+
this.onEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreated($address: String, $commitmentLevel: [EventCommitmentLevel!], $id: String, $networkId: Int, $quoteToken: QuoteToken) {
|
|
58
|
+
onEventsCreated (address: $address, commitmentLevel: $commitmentLevel, id: $id, networkId: $networkId, quoteToken: $quoteToken) {
|
|
59
|
+
address, events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, 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, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id, networkId, quoteToken
|
|
60
60
|
}
|
|
61
61
|
}`, vars, sink);
|
|
62
|
-
this.onEventsCreatedByMaker = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreatedByMaker($input: OnEventsCreatedByMakerInput!) {
|
|
63
|
-
onEventsCreatedByMaker (input: $input) {
|
|
64
|
-
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, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, 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
|
|
62
|
+
this.onEventsCreatedByMaker = (vars, sink) => this.sdk.subscribe(`subscription OnEventsCreatedByMaker($commitmentLevel: [EventCommitmentLevel!], $input: OnEventsCreatedByMakerInput!) {
|
|
63
|
+
onEventsCreatedByMaker (commitmentLevel: $commitmentLevel, input: $input) {
|
|
64
|
+
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, 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, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, makerAddress
|
|
65
65
|
}
|
|
66
66
|
}`, vars, sink);
|
|
67
67
|
this.onFilterTokensUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnFilterTokensUpdated($excludeTokens: [String], $filters: TokenFilters, $limit: Int, $offset: Int, $phrase: String, $rankings: [TokenRanking], $statsType: TokenPairStatisticsType, $tokens: [String], $updatePeriod: Int, $useAggregatedStats: Boolean) {
|
|
68
68
|
onFilterTokensUpdated (excludeTokens: $excludeTokens, filters: $filters, limit: $limit, offset: $offset, phrase: $phrase, rankings: $rankings, statsType: $statsType, tokens: $tokens, updatePeriod: $updatePeriod, useAggregatedStats: $useAggregatedStats) {
|
|
69
|
-
updates { baseFees1, baseFees4, baseFees5m, baseFees12, baseFees24, builderTips1, builderTips4, builderTips5m, builderTips12, builderTips24, bundlerCount, bundlerHeldPercentage, buyCount1, buyCount4, buyCount5m, buyCount12, buyCount24, buyVolume1, buyVolume4, buyVolume5m, buyVolume12, buyVolume24, change1, change4, change5m, change12, change24, circulatingMarketCap, createdAt, devHeldPercentage, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, feeToVolumeRatio1, feeToVolumeRatio4, feeToVolumeRatio5m, feeToVolumeRatio12, feeToVolumeRatio24, high1, high4, high5m, high12, high24, holders, insiderCount, insiderHeldPercentage, isScam, l1DataFees1, l1DataFees4, l1DataFees5m, l1DataFees12, l1DataFees24, lastTransaction, liquidPair { address, createdAt, exchangeHash, fee, id, networkId, pooled { token0, token1 }, protocol, protocolData { ... on ArenaTradeData { tokenId, type }, ... on PumpData { creator, type }, ... on UniswapV4Data { isDynamicFee, isToken0NetworkToken, type, uniswapV4HookAddress } }, tickSpacing, token0, token0Data { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, token1, token1Data { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, virtualPooled { token0, token1 } }, liquidPairLiquidity, liquidPairPriceUSD, liquidity, low1, low4, low5m, low12, low24, marketCap, pair { address, createdAt, exchangeHash, fee, id, networkId, pooled { token0, token1 }, protocol, protocolData { ... on ArenaTradeData { tokenId, type }, ... on PumpData { creator, type }, ... on UniswapV4Data { isDynamicFee, isToken0NetworkToken, type, uniswapV4HookAddress } }, tickSpacing, token0, token0Data { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, token1, token1Data { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, virtualPooled { token0, token1 } }, poolFees1, poolFees4, poolFees5m, poolFees12, poolFees24, potentialScamReasons, priceUSD, priorityFees1, priorityFees4, priorityFees5m, priorityFees12, priorityFees24, quoteToken, sellCount1, sellCount4, sellCount5m, sellCount12, sellCount24, sellVolume1, sellVolume4, sellVolume5m, sellVolume12, sellVolume24, sniperCount, sniperHeldPercentage, swapPct1dOldWallet, swapPct7dOldWallet, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, top10HoldersPercent, totalFees1, totalFees4, totalFees5m, totalFees12, totalFees24, trendingScore, txnCount1, txnCount4, txnCount5m, txnCount12, txnCount24, uniqueBuys1, uniqueBuys4, uniqueBuys5m, uniqueBuys12, uniqueBuys24, uniqueSells1, uniqueSells4, uniqueSells5m, uniqueSells12, uniqueSells24, uniqueTransactions1, uniqueTransactions4, uniqueTransactions5m, uniqueTransactions12, uniqueTransactions24, volume1, volume4, volume5m, volume12, volume24, volumeChange1, volumeChange4, volumeChange5m, volumeChange12, volumeChange24, walletAgeAvg, walletAgeStd }
|
|
69
|
+
updates { athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, baseFees1, baseFees4, baseFees5m, baseFees12, baseFees24, builderTips1, builderTips4, builderTips5m, builderTips12, builderTips24, bundlerCount, bundlerHeldPercentage, buyCount1, buyCount4, buyCount5m, buyCount12, buyCount24, buyVolume1, buyVolume4, buyVolume5m, buyVolume12, buyVolume24, change1, change4, change5m, change12, change24, circulatingMarketCap, createdAt, devHeldPercentage, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, feeToVolumeRatio1, feeToVolumeRatio4, feeToVolumeRatio5m, feeToVolumeRatio12, feeToVolumeRatio24, high1, high4, high5m, high12, high24, holders, insiderCount, insiderHeldPercentage, isScam, l1DataFees1, l1DataFees4, l1DataFees5m, l1DataFees12, l1DataFees24, lastTransaction, liquidPair { address, createdAt, exchangeHash, fee, id, networkId, pooled { token0, token1 }, protocol, protocolData { ... on ArenaTradeData { tokenId, type }, ... on PumpData { creator, type }, ... on UniswapV4Data { isDynamicFee, isToken0NetworkToken, type, uniswapV4HookAddress } }, tickSpacing, token0, token0Data { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, tagLine, type }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, token1, token1Data { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, tagLine, type }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, virtualPooled { token0, token1 } }, liquidPairLiquidity, liquidPairPriceUSD, liquidity, low1, low4, low5m, low12, low24, marketCap, pair { address, createdAt, exchangeHash, fee, id, networkId, pooled { token0, token1 }, protocol, protocolData { ... on ArenaTradeData { tokenId, type }, ... on PumpData { creator, type }, ... on UniswapV4Data { isDynamicFee, isToken0NetworkToken, type, uniswapV4HookAddress } }, tickSpacing, token0, token0Data { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, tagLine, type }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, token1, token1Data { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, tagLine, type }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, virtualPooled { token0, token1 } }, poolFees1, poolFees4, poolFees5m, poolFees12, poolFees24, potentialScamReasons, priceUSD, priorityFees1, priorityFees4, priorityFees5m, priorityFees12, priorityFees24, quoteToken, sellCount1, sellCount4, sellCount5m, sellCount12, sellCount24, sellVolume1, sellVolume4, sellVolume5m, sellVolume12, sellVolume24, sniperCount, sniperHeldPercentage, swapPct1dOldWallet, swapPct7dOldWallet, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, tagLine, type }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, top10HoldersPercent, totalFees1, totalFees4, totalFees5m, totalFees12, totalFees24, trendingScore, txnCount1, txnCount4, txnCount5m, txnCount12, txnCount24, uniqueBuys1, uniqueBuys4, uniqueBuys5m, uniqueBuys12, uniqueBuys24, uniqueSells1, uniqueSells4, uniqueSells5m, uniqueSells12, uniqueSells24, uniqueTransactions1, uniqueTransactions4, uniqueTransactions5m, uniqueTransactions12, uniqueTransactions24, volume1, volume4, volume5m, volume12, volume24, volumeChange1, volumeChange4, volumeChange5m, volumeChange12, volumeChange24, walletAgeAvg, walletAgeStd }
|
|
70
70
|
}
|
|
71
71
|
}`, vars, sink);
|
|
72
72
|
this.onHoldersUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnHoldersUpdated($tokenId: String!) {
|
|
73
73
|
onHoldersUpdated (tokenId: $tokenId) {
|
|
74
|
-
balances { address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
|
|
75
|
-
}
|
|
76
|
-
}`, vars, sink);
|
|
77
|
-
this.onLatestPairUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnLatestPairUpdated($id: String, $networkId: Int) {
|
|
78
|
-
onLatestPairUpdated (id: $id, networkId: $networkId) {
|
|
79
|
-
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
|
|
74
|
+
balances { address, balance, balanceUsd, firstHeldTimestamp, liquidityUsd, networkId, shiftedBalance, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, tagLine, type }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, tokenAddress, tokenId, tokenPriceUsd, walletId }, holders, networkId, tokenAddress, tokenId
|
|
80
75
|
}
|
|
81
76
|
}`, vars, sink);
|
|
82
77
|
this.onLatestTokens = (vars, sink) => this.sdk.subscribe(`subscription OnLatestTokens($id: String, $networkId: Int, $tokenAddress: String) {
|
|
@@ -86,12 +81,12 @@ export class Subscribe {
|
|
|
86
81
|
}`, vars, sink);
|
|
87
82
|
this.onLaunchpadTokenEvent = (vars, sink) => this.sdk.subscribe(`subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
|
|
88
83
|
onLaunchpadTokenEvent (input: $input) {
|
|
89
|
-
address, bundlerCount, bundlerHeldPercentage, buyCount1, devHeldPercentage, eventType, holders, insiderCount, insiderHeldPercentage, launchpadName, liquidity, marketCap, networkId, price, protocol, sellCount1, sniperCount, sniperHeldPercentage, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, top10HoldersPercent, transactions1, volume1
|
|
84
|
+
address, baseFees1, builderTips1, bundlerCount, bundlerHeldPercentage, buyCount1, devHeldPercentage, eventType, feeToVolumeRatio1, holders, insiderCount, insiderHeldPercentage, l1DataFees1, launchpadName, liquidity, marketCap, networkId, poolFees1, price, priorityFees1, protocol, sellCount1, sniperCount, sniperHeldPercentage, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, top10HoldersPercent, totalFees1, transactions1, volume1
|
|
90
85
|
}
|
|
91
86
|
}`, vars, sink);
|
|
92
87
|
this.onLaunchpadTokenEventBatch = (vars, sink) => this.sdk.subscribe(`subscription OnLaunchpadTokenEventBatch($input: OnLaunchpadTokenEventBatchInput) {
|
|
93
88
|
onLaunchpadTokenEventBatch (input: $input) {
|
|
94
|
-
address, bundlerCount, bundlerHeldPercentage, buyCount1, devHeldPercentage, eventType, holders, insiderCount, insiderHeldPercentage, launchpadName, liquidity, marketCap, networkId, price, protocol, sellCount1, sniperCount, sniperHeldPercentage, token { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, top10HoldersPercent, transactions1, volume1
|
|
89
|
+
address, baseFees1, builderTips1, bundlerCount, bundlerHeldPercentage, buyCount1, devHeldPercentage, eventType, feeToVolumeRatio1, holders, insiderCount, insiderHeldPercentage, l1DataFees1, launchpadName, liquidity, marketCap, networkId, poolFees1, price, priorityFees1, protocol, sellCount1, sniperCount, sniperHeldPercentage, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, top10HoldersPercent, totalFees1, transactions1, volume1
|
|
95
90
|
}
|
|
96
91
|
}`, vars, sink);
|
|
97
92
|
this.onNftAssetsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {
|
|
@@ -111,7 +106,7 @@ export class Subscribe {
|
|
|
111
106
|
}`, vars, sink);
|
|
112
107
|
this.onPairMetadataUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken, $useNonLiquidityTokenAsQuoteToken: Boolean) {
|
|
113
108
|
onPairMetadataUpdated (id: $id, quoteToken: $quoteToken, useNonLiquidityTokenAsQuoteToken: $useNonLiquidityTokenAsQuoteToken) {
|
|
114
|
-
createdAt, enhancedToken0 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, enhancedToken1 { address, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, freezable, id, info { address, circulatingSupply, cmcId, description, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, exchangeId, fee, highPrice1, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange4, priceChange5m, priceChange12, priceChange24, priceNonQuoteToken, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, top10HoldersPercent, volume1, volume4, volume5m, volume12, volume24, walletActivity { bundlerCount, bundlerHeldPercentage, devHeldPercentage, insiderCount, insiderHeldPercentage, sniperCount, sniperHeldPercentage }
|
|
109
|
+
createdAt, enhancedToken0 { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, enhancedToken1 { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, bluechipRating, cmcId, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, freezable, gridAssetId, id, isFreezableValid, isMintableValid, isScam, mintable, name, networkId, profanity, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { assetDeployments { address, assetId, id, networkId, rootId, standard, token { address, asset { assetDeployments { address, assetId, id, networkId, rootId, standard }, description, icon, id, name, rootId, status, ticker, type }, bluechipRating, cmcId, coinCommunity { createdAt, id }, createBlockNumber, createTransactionHash, createdAt, creatorAddress, decimals, exchanges { address, color, exchangeVersion, iconUrl, id, name, networkId, tradeUrl }, extrema { address, athCircMc, athCircMcTimestamp, athFdv, athFdvTimestamp, athPrice, athPriceTimestamp, atlCircMc, atlCircMcTimestamp, atlFdv, atlFdvTimestamp, atlPrice, atlPriceTimestamp, id, networkId }, freezable, gridAssetId, id, info { address, bluechipRating, circulatingSupply, cmcId, description, gridAssetId, id, imageBannerUrl, imageLargeUrl, imageSmallUrl, imageThumbHash, imageThumbUrl, isScam, name, networkId, symbol, totalSupply, videoExternalUrl }, isFreezableValid, isMintableValid, isScam, launchpad { category, completed, completedAt, completedSlot, graduationPercent, isCashbackEnabled, launchpadIconUrl, launchpadName, launchpadProtocol, migrated, migratedAt, migratedPoolAddress, migratedSlot, poolAddress }, mintable, name, networkId, organization { assets { description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent } }, description, icon, id, name, rootId, status, ticker, type }, descriptionLong, descriptionShort, foundingDate, header, icon, logo, name, rootId, sector, socials { type, url }, tagLine, type, urls { type, url } }, profanity, socialLinks { bitcointalk, blog, coingecko, coinmarketcap, discord, email, facebook, github, instagram, linkedin, reddit, slack, telegram, twitch, twitter, website, wechat, whitepaper, youtube }, symbol, top10HoldersPercent }, exchangeId, fee, highPrice1, highPrice4, highPrice5m, highPrice12, highPrice24, id, liquidity, liquidityToken, lowPrice1, lowPrice4, lowPrice5m, lowPrice12, lowPrice24, networkId, nonLiquidityToken, pairAddress, price, priceChange1, priceChange4, priceChange5m, priceChange12, priceChange24, priceNonQuoteToken, quoteToken, statsType, tickSpacing, token0 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, token1 { address, decimals, labels { createdAt, subType, type }, name, networkId, pooled, price, symbol }, top10HoldersPercent, volume1, volume4, volume5m, volume12, volume24, walletActivity { bundlerCount, bundlerHeldPercentage, devHeldPercentage, insiderCount, insiderHeldPercentage, sniperCount, sniperHeldPercentage }
|
|
115
110
|
}
|
|
116
111
|
}`, vars, sink);
|
|
117
112
|
this.onPredictionEventBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPredictionEventBarsUpdated($eventId: String!) {
|
|
@@ -121,12 +116,12 @@ export class Subscribe {
|
|
|
121
116
|
}`, vars, sink);
|
|
122
117
|
this.onPredictionMarketBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPredictionMarketBarsUpdated($marketId: String!) {
|
|
123
118
|
onPredictionMarketBarsUpdated (marketId: $marketId) {
|
|
124
|
-
bars { day1 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, hour1 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, hour4 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, hour12 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min1 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min5 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min15 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min30 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, week1 { allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd } }, marketId
|
|
119
|
+
bars { day1 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, hour1 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, hour4 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, hour12 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min1 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min5 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min15 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, min30 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd }, week1 { allTimeVenueVolumeCollateralToken, allTimeVenueVolumeUsd, allTimeVolumeCollateralToken, allTimeVolumeUsd, lastEventTimestamp, openInterestUsd { c, h, l, o }, outcome0 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, outcome1 { askCollateralToken { c, h, l, o }, askUsd { c, h, l, o }, bidCollateralToken { c, h, l, o }, bidUsd { c, h, l, o }, buyVolumeCollateralToken, buyVolumeShares, buyVolumeUsd, buys, liquidityCollateralToken { c, h, l, o }, liquidityUsd { c, h, l, o }, priceCollateralToken { c, h, l, o }, priceUsd { c, h, l, o }, sellVolumeCollateralToken, sellVolumeShares, sellVolumeUsd, sells, trades, twoPercentAskDepthCollateralToken { c, h, l, o }, twoPercentAskDepthUsd { c, h, l, o }, twoPercentBidDepthCollateralToken { c, h, l, o }, twoPercentBidDepthUsd { c, h, l, o }, venueOutcomeId, volumeCollateralToken, volumeShares, volumeUsd }, t, trades, uniqueTraders, volumeCollateralToken, volumeShares, volumeUsd } }, marketId
|
|
125
120
|
}
|
|
126
121
|
}`, vars, sink);
|
|
127
|
-
this.onPredictionTradesCreated = (vars, sink) => this.sdk.subscribe(`subscription OnPredictionTradesCreated($input: OnPredictionTradesCreatedInput
|
|
122
|
+
this.onPredictionTradesCreated = (vars, sink) => this.sdk.subscribe(`subscription OnPredictionTradesCreated($input: OnPredictionTradesCreatedInput) {
|
|
128
123
|
onPredictionTradesCreated (input: $input) {
|
|
129
|
-
eventId, marketId, trades { amount, amountCollateral, amountUsd, blockNumber, exchangeAddress, maker, marketId, networkId, outcomeId, outcomeIndex, outcomeLabel, predictionMarket { categories { name, slug, subcategories { name, slug, subcategories { name, slug } } }, closesAt, createdAt, eventId, eventLabel, exchangeAddress, id, imageLargeUrl, imageSmallUrl, imageThumbUrl, label, networkId, observedAt, opensAt, outcomeIds, outcomeLabels, protocol, question, resolution { result, source }, resolvedAt, resolvesAt, rules, rules2, updatedAt, venueEventId, venueMarketId, venueMarketSlug, venueOutcomeIds, winningOutcomeId }, priceCollateral, priceUsd, protocol, sortKey, timestamp, tradeType, traderId, transactionHash, transactionId }
|
|
124
|
+
eventId, marketId, trades { amount, amountCollateral, amountUsd, blockNumber, exchangeAddress, maker, marketId, networkId, outcomeId, outcomeIndex, outcomeLabel, predictionMarket { categories { name, slug, subcategories { name, slug, subcategories { name, slug } } }, closesAt, createdAt, enrichedMetadata { metadataType, sports { gameStartDate, gameStartTime, gameStartTimeSeconds, gameStartTimezone, league, sportsMarketType, teams { abbreviation, alias, altAbbreviations, color, isHome, league, logo, name, providerId } } }, eventId, eventLabel, exchangeAddress, id, imageLargeUrl, imageSmallUrl, imageThumbUrl, label, networkId, observedAt, opensAt, outcomeIds, outcomeLabels, protocol, question, resolution { result, source }, resolvedAt, resolvesAt, rules, rules2, suggestedLabel, updatedAt, venueEventId, venueMarketId, venueMarketSlug, venueOutcomeIds, winningOutcomeId }, priceCollateral, priceUsd, protocol, sortKey, timestamp, tradeType, traderId, transactionHash, transactionId }
|
|
130
125
|
}
|
|
131
126
|
}`, vars, sink);
|
|
132
127
|
this.onPriceUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnPriceUpdated($address: String, $networkId: Int, $sourcePairAddress: String, $useWeightedPrices: Boolean) {
|
|
@@ -139,14 +134,14 @@ export class Subscribe {
|
|
|
139
134
|
address, blockNumber, networkId, priceUsd, timestamp
|
|
140
135
|
}
|
|
141
136
|
}`, vars, sink);
|
|
142
|
-
this.onTokenBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
|
|
143
|
-
onTokenBarsUpdated (networkId: $networkId, tokenId: $tokenId) {
|
|
144
|
-
aggregates { r1 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, eventSortKey, networkId, statsType, timestamp, tokenAddress, tokenId
|
|
137
|
+
this.onTokenBarsUpdated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenBarsUpdated($commitmentLevel: [BarCommitmentLevel!], $networkId: Int, $tokenId: String) {
|
|
138
|
+
onTokenBarsUpdated (commitmentLevel: $commitmentLevel, networkId: $networkId, tokenId: $tokenId) {
|
|
139
|
+
aggregates { r1 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r1S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r5S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r7D { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r15S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r30S { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r60 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r240 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } }, r720 { t, token { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken }, usd { baseFees, builderTips, buyVolume, buyers, buys, c, h, l, l1DataFees, liquidity, o, poolFees, priorityFees, sellVolume, sellers, sells, t, traders, transactions, v, volume, volumeNativeToken } } }, commitmentLevel, eventSortKey, networkId, statsType, timestamp, tokenAddress, tokenId
|
|
145
140
|
}
|
|
146
141
|
}`, vars, sink);
|
|
147
|
-
this.onTokenEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
|
|
148
|
-
onTokenEventsCreated (input: $input) {
|
|
149
|
-
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, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, 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
|
|
142
|
+
this.onTokenEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenEventsCreated($commitmentLevel: [EventCommitmentLevel!], $input: OnTokenEventsCreatedInput!) {
|
|
143
|
+
onTokenEventsCreated (commitmentLevel: $commitmentLevel, input: $input) {
|
|
144
|
+
events { address, baseTokenPrice, blockHash, blockNumber, commitmentLevel, 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, feeData { baseFeeNativeUnit, builderTipNativeUnit, dynamicFee, estimatedPoolFee, gasUsed, l1DataFeeNativeUnit, poolFeeAmountRaw, poolFeeBps, poolFeeRateRaw, priorityFeeNativeUnit, supplementalFeeData { ... on PumpAmmCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type }, ... on PumpCashbackFeeData { cashbackAmountLamports, cashbackFeeBps, type } }, txEventCount }, id, labels { sandwich { label, sandwichType, token0DrainedAmount, token1DrainedAmount }, washtrade { label } }, liquidityToken, logIndex, maker, networkId, quoteToken, supplementalIndex, timestamp, token0Address, token0PoolValueUsd, token0SwapValueUsd, token0ValueBase, token1Address, token1PoolValueUsd, token1SwapValueUsd, token1ValueBase, transactionHash, transactionIndex, walletAge, walletLabels }, id
|
|
150
145
|
}
|
|
151
146
|
}`, vars, sink);
|
|
152
147
|
this.onTokenLifecycleEventsCreated = (vars, sink) => this.sdk.subscribe(`subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
|