@codex-data/sdk 0.6.1 → 1.0.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/resources/generated_mutations/CreateApiTokens.graphql +9 -0
- package/dist/resources/generated_mutations/CreateWebhooks.graphql +80 -0
- package/dist/resources/generated_mutations/DeleteApiToken.graphql +3 -0
- package/{src/sdk/graphql → dist/resources/generated_mutations}/DeleteWebhooks.graphql +1 -1
- package/dist/resources/generated_queries/ApiToken.graphql +9 -0
- package/dist/resources/generated_queries/ApiTokens.graphql +9 -0
- package/dist/resources/generated_queries/Balances.graphql +12 -0
- package/dist/resources/generated_queries/ChartUrls.graphql +7 -0
- package/dist/resources/generated_queries/FilterExchanges.graphql +43 -0
- package/dist/resources/generated_queries/FilterNftCollections.graphql +569 -0
- package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
- package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
- package/dist/resources/generated_queries/FilterNftPools.graphql +124 -0
- package/dist/resources/generated_queries/FilterPairs.graphql +339 -0
- package/dist/resources/generated_queries/FilterTokens.graphql +279 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetBars.graphql +21 -9
- package/dist/resources/generated_queries/GetCommunityNotes.graphql +20 -0
- package/dist/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetDetailedPairStats.graphql +370 -373
- package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
- package/dist/resources/generated_queries/GetEventLabels.graphql +24 -0
- package/dist/resources/generated_queries/GetExchanges.graphql +12 -0
- package/dist/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/dist/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/dist/resources/generated_queries/GetNetworkStats.graphql +13 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworkStatus.graphql +2 -1
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworks.graphql +1 -0
- package/dist/resources/generated_queries/GetNftAssets.graphql +59 -0
- package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
- package/dist/resources/generated_queries/GetNftContracts.graphql +39 -0
- package/dist/resources/generated_queries/GetNftEvents.graphql +54 -0
- package/dist/resources/generated_queries/GetNftPool.graphql +74 -0
- package/dist/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
- package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
- package/dist/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
- package/dist/resources/generated_queries/GetNftPoolStats.graphql +40 -0
- package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
- package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
- package/dist/resources/generated_queries/GetParallelAssets.graphql +50 -0
- package/dist/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
- package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
- package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
- package/dist/resources/generated_queries/GetPrimePools.graphql +62 -0
- package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/GetSymbol.graphql +7 -7
- package/dist/resources/generated_queries/GetTokenCount.graphql +3 -0
- package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/dist/resources/generated_queries/GetTokenInfo.graphql +17 -0
- package/dist/resources/generated_queries/GetTokenPrices.graphql +9 -0
- package/dist/resources/generated_queries/GetTokensInfo.graphql +17 -0
- package/dist/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
- package/dist/resources/generated_queries/GetWebhooks.graphql +36 -0
- package/dist/resources/generated_queries/Holders.graphql +14 -0
- package/dist/resources/generated_queries/LiquidityLocks.graphql +26 -0
- package/dist/resources/generated_queries/LiquidityMetadata.graphql +17 -0
- package/dist/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/ListPairsForToken.graphql +77 -41
- package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
- package/{src/sdk/graphql → dist/resources/generated_queries}/ListTopTokens.graphql +22 -16
- package/dist/resources/generated_queries/NftHolders.graphql +12 -0
- package/{src/sdk/graphql/OnPairMetadataUpdated.graphql → dist/resources/generated_queries/PairMetadata.graphql} +21 -3
- package/dist/resources/generated_queries/PrimeBalance.graphql +12 -0
- package/dist/resources/generated_queries/PrimeHolders.graphql +13 -0
- package/dist/resources/generated_queries/SearchNfts.graphql +35 -0
- package/dist/resources/generated_queries/Token.graphql +62 -0
- package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
- package/{src/sdk/graphql/GetSparklines.graphql → dist/resources/generated_queries/TokenSparklines.graphql} +2 -2
- package/dist/resources/generated_queries/Tokens.graphql +62 -0
- package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
- package/dist/resources/generated_queries/WalletNftCollections.graphql +10 -0
- package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnDetailedStatsUpdated.graphql +119 -111
- package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
- package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
- package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnNftAssetsCreated.graphql +30 -17
- package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
- package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
- package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
- package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnPriceUpdated.graphql +1 -1
- package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
- package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
- package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
- package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
- package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
- package/dist/resources/graphql.d.ts +131 -0
- package/dist/resources/graphql.d.ts.map +1 -1
- package/dist/resources/graphql.js.map +1 -1
- package/dist/resources/graphql.schema.json +1570 -0
- package/dist/resources/graphql.ts +148 -0
- package/dist/resources/schema.graphql +184 -0
- package/dist/scripts/buildSdk.d.ts +2 -0
- package/dist/scripts/buildSdk.d.ts.map +1 -0
- package/dist/scripts/buildSdk.js +135 -0
- package/dist/scripts/buildSdk.js.map +1 -0
- package/dist/scripts/generateGraphql.d.ts +30 -0
- package/dist/scripts/generateGraphql.d.ts.map +1 -0
- package/dist/scripts/generateGraphql.js +179 -0
- package/dist/scripts/generateGraphql.js.map +1 -0
- package/dist/sdk/Mutation.d.ts +5 -8
- package/dist/sdk/Mutation.d.ts.map +1 -1
- package/dist/sdk/Mutation.js +3 -0
- package/dist/sdk/Mutation.js.map +1 -1
- package/dist/sdk/Query.d.ts +65 -14
- package/dist/sdk/Query.d.ts.map +1 -1
- package/dist/sdk/Query.js +64 -12
- package/dist/sdk/Query.js.map +1 -1
- package/dist/sdk/Subscribe.d.ts +18 -11
- package/dist/sdk/Subscribe.d.ts.map +1 -1
- package/dist/sdk/Subscribe.js +112 -9
- package/dist/sdk/Subscribe.js.map +1 -1
- package/dist/sdk/generated/gql.d.ts +636 -66
- package/dist/sdk/generated/gql.d.ts.map +1 -1
- package/dist/sdk/generated/gql.js +84 -22
- package/dist/sdk/generated/gql.js.map +1 -1
- package/dist/sdk/generated/graphql.d.ts +8407 -2195
- package/dist/sdk/generated/graphql.d.ts.map +1 -1
- package/dist/sdk/generated/graphql.js +87 -25
- package/dist/sdk/generated/graphql.js.map +1 -1
- package/package.json +12 -4
- package/src/resources/generated_mutations/CreateApiTokens.graphql +9 -0
- package/src/resources/generated_mutations/CreateWebhooks.graphql +80 -0
- package/src/resources/generated_mutations/DeleteApiToken.graphql +3 -0
- package/src/resources/generated_mutations/DeleteWebhooks.graphql +5 -0
- package/src/resources/generated_queries/ApiToken.graphql +9 -0
- package/src/resources/generated_queries/ApiTokens.graphql +9 -0
- package/src/resources/generated_queries/Balances.graphql +12 -0
- package/src/resources/generated_queries/ChartUrls.graphql +7 -0
- package/src/resources/generated_queries/FilterExchanges.graphql +43 -0
- package/src/resources/generated_queries/FilterNftCollections.graphql +569 -0
- package/src/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
- package/src/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
- package/src/resources/generated_queries/FilterNftPools.graphql +124 -0
- package/src/resources/generated_queries/FilterPairs.graphql +339 -0
- package/src/resources/generated_queries/FilterTokens.graphql +279 -0
- package/src/resources/generated_queries/GetBars.graphql +44 -0
- package/src/resources/generated_queries/GetCommunityNotes.graphql +20 -0
- package/src/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
- package/src/resources/generated_queries/GetDetailedPairStats.graphql +938 -0
- package/src/resources/generated_queries/GetDetailedPairsStats.graphql +922 -0
- package/src/resources/generated_queries/GetEventLabels.graphql +24 -0
- package/src/resources/generated_queries/GetExchanges.graphql +12 -0
- package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
- package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
- package/src/resources/generated_queries/GetNetworkStats.graphql +13 -0
- package/src/resources/generated_queries/GetNetworkStatus.graphql +8 -0
- package/src/resources/generated_queries/GetNetworks.graphql +7 -0
- package/src/resources/generated_queries/GetNftAssets.graphql +59 -0
- package/src/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
- package/src/resources/generated_queries/GetNftContracts.graphql +39 -0
- package/src/resources/generated_queries/GetNftEvents.graphql +54 -0
- package/src/resources/generated_queries/GetNftPool.graphql +74 -0
- package/src/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
- package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
- package/src/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
- package/src/resources/generated_queries/GetNftPoolStats.graphql +40 -0
- package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
- package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
- package/src/resources/generated_queries/GetParallelAssets.graphql +50 -0
- package/src/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
- package/src/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
- package/src/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
- package/src/resources/generated_queries/GetPrimePools.graphql +62 -0
- package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
- package/src/resources/generated_queries/GetSymbol.graphql +11 -0
- package/src/resources/generated_queries/GetTokenCount.graphql +3 -0
- package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
- package/src/resources/generated_queries/GetTokenInfo.graphql +17 -0
- package/src/resources/generated_queries/GetTokenPrices.graphql +9 -0
- package/src/resources/generated_queries/GetTokensInfo.graphql +17 -0
- package/src/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
- package/src/resources/generated_queries/GetWebhooks.graphql +36 -0
- package/src/resources/generated_queries/Holders.graphql +14 -0
- package/src/resources/generated_queries/LiquidityLocks.graphql +26 -0
- package/src/resources/generated_queries/LiquidityMetadata.graphql +17 -0
- package/src/resources/generated_queries/ListFavoriteTokens.graphql +58 -0
- package/src/resources/generated_queries/ListPairsForToken.graphql +141 -0
- package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +282 -0
- package/src/resources/generated_queries/ListTopTokens.graphql +54 -0
- package/src/resources/generated_queries/NftHolders.graphql +12 -0
- package/src/resources/generated_queries/PairMetadata.graphql +73 -0
- package/src/resources/generated_queries/PrimeBalance.graphql +12 -0
- package/src/resources/generated_queries/PrimeHolders.graphql +13 -0
- package/src/resources/generated_queries/SearchNfts.graphql +35 -0
- package/src/resources/generated_queries/Token.graphql +62 -0
- package/src/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
- package/src/resources/generated_queries/TokenSparklines.graphql +10 -0
- package/src/resources/generated_queries/Tokens.graphql +62 -0
- package/src/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
- package/src/resources/generated_queries/WalletNftCollections.graphql +10 -0
- package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
- package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +332 -0
- package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
- package/src/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
- package/src/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
- package/src/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
- package/src/resources/generated_subscriptions/OnNftAssetsCreated.graphql +42 -0
- package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
- package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
- package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
- package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
- package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
- package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
- package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
- package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
- package/src/resources/graphql.schema.json +1570 -0
- package/src/resources/graphql.ts +148 -0
- package/src/resources/schema.graphql +184 -0
- package/src/scripts/buildSdk.ts +173 -0
- package/src/scripts/generateGraphql.ts +236 -0
- package/src/sdk/Mutation.ts +13 -4
- package/src/sdk/Query.ts +252 -37
- package/src/sdk/Subscribe.ts +230 -41
- package/src/sdk/generated/gql.ts +354 -44
- package/src/sdk/generated/graphql.ts +889 -151
- package/src/sdk/graphql/GetPairEvents.graphql +6 -1
- package/dist/sdk/Query.test.d.ts +0 -2
- package/dist/sdk/Query.test.d.ts.map +0 -1
- package/dist/sdk/Query.test.js +0 -50
- package/dist/sdk/Query.test.js.map +0 -1
- package/src/sdk/Query.test.ts +0 -40
- package/src/sdk/graphql/CreateWebhooks.graphql +0 -464
- package/src/sdk/graphql/FilterExchanges.graphql +0 -23
- package/src/sdk/graphql/FilterPairs.graphql +0 -126
- package/src/sdk/graphql/FilterTokens.graphql +0 -131
- package/src/sdk/graphql/GetPrice.graphql +0 -9
- package/src/sdk/graphql/GetTokens.graphql +0 -14
- package/src/sdk/graphql/GetWebhooks.graphql +0 -120
- package/src/sdk/graphql/OnBarsUpdated.graphql +0 -68
- package/src/sdk/graphql/OnEventsCreated.graphql +0 -62
- package/src/sdk/graphql/OnNftEventsCreated.graphql +0 -83
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
subscription OnDetailedStatsUpdated(
|
|
2
|
+
$pairId: String
|
|
3
|
+
$statsType: TokenPairStatisticsType
|
|
4
|
+
$tokenOfInterest: TokenOfInterest
|
|
5
|
+
) {
|
|
6
|
+
onDetailedStatsUpdated(
|
|
7
|
+
pairId: $pairId
|
|
8
|
+
statsType: $statsType
|
|
9
|
+
tokenOfInterest: $tokenOfInterest
|
|
10
|
+
) {
|
|
11
|
+
bucketCount
|
|
12
|
+
pairId
|
|
13
|
+
queryTimestamp
|
|
14
|
+
statsType
|
|
15
|
+
stats_day1 {
|
|
16
|
+
buckets {
|
|
17
|
+
end
|
|
18
|
+
start
|
|
19
|
+
}
|
|
20
|
+
buyVolume {
|
|
21
|
+
buckets
|
|
22
|
+
change
|
|
23
|
+
currentValue
|
|
24
|
+
previousValue
|
|
25
|
+
}
|
|
26
|
+
buyers {
|
|
27
|
+
buckets
|
|
28
|
+
change
|
|
29
|
+
currentValue
|
|
30
|
+
previousValue
|
|
31
|
+
}
|
|
32
|
+
buys {
|
|
33
|
+
buckets
|
|
34
|
+
change
|
|
35
|
+
currentValue
|
|
36
|
+
previousValue
|
|
37
|
+
}
|
|
38
|
+
endTimestamp
|
|
39
|
+
sellVolume {
|
|
40
|
+
buckets
|
|
41
|
+
change
|
|
42
|
+
currentValue
|
|
43
|
+
previousValue
|
|
44
|
+
}
|
|
45
|
+
sellers {
|
|
46
|
+
buckets
|
|
47
|
+
change
|
|
48
|
+
currentValue
|
|
49
|
+
previousValue
|
|
50
|
+
}
|
|
51
|
+
sells {
|
|
52
|
+
buckets
|
|
53
|
+
change
|
|
54
|
+
currentValue
|
|
55
|
+
previousValue
|
|
56
|
+
}
|
|
57
|
+
timestamp
|
|
58
|
+
traders {
|
|
59
|
+
buckets
|
|
60
|
+
change
|
|
61
|
+
currentValue
|
|
62
|
+
previousValue
|
|
63
|
+
}
|
|
64
|
+
transactions {
|
|
65
|
+
buckets
|
|
66
|
+
change
|
|
67
|
+
currentValue
|
|
68
|
+
previousValue
|
|
69
|
+
}
|
|
70
|
+
volume {
|
|
71
|
+
buckets
|
|
72
|
+
change
|
|
73
|
+
currentValue
|
|
74
|
+
previousValue
|
|
75
|
+
}
|
|
76
|
+
windowSize
|
|
77
|
+
}
|
|
78
|
+
stats_hour1 {
|
|
79
|
+
buckets {
|
|
80
|
+
end
|
|
81
|
+
start
|
|
82
|
+
}
|
|
83
|
+
buyVolume {
|
|
84
|
+
buckets
|
|
85
|
+
change
|
|
86
|
+
currentValue
|
|
87
|
+
previousValue
|
|
88
|
+
}
|
|
89
|
+
buyers {
|
|
90
|
+
buckets
|
|
91
|
+
change
|
|
92
|
+
currentValue
|
|
93
|
+
previousValue
|
|
94
|
+
}
|
|
95
|
+
buys {
|
|
96
|
+
buckets
|
|
97
|
+
change
|
|
98
|
+
currentValue
|
|
99
|
+
previousValue
|
|
100
|
+
}
|
|
101
|
+
endTimestamp
|
|
102
|
+
sellVolume {
|
|
103
|
+
buckets
|
|
104
|
+
change
|
|
105
|
+
currentValue
|
|
106
|
+
previousValue
|
|
107
|
+
}
|
|
108
|
+
sellers {
|
|
109
|
+
buckets
|
|
110
|
+
change
|
|
111
|
+
currentValue
|
|
112
|
+
previousValue
|
|
113
|
+
}
|
|
114
|
+
sells {
|
|
115
|
+
buckets
|
|
116
|
+
change
|
|
117
|
+
currentValue
|
|
118
|
+
previousValue
|
|
119
|
+
}
|
|
120
|
+
timestamp
|
|
121
|
+
traders {
|
|
122
|
+
buckets
|
|
123
|
+
change
|
|
124
|
+
currentValue
|
|
125
|
+
previousValue
|
|
126
|
+
}
|
|
127
|
+
transactions {
|
|
128
|
+
buckets
|
|
129
|
+
change
|
|
130
|
+
currentValue
|
|
131
|
+
previousValue
|
|
132
|
+
}
|
|
133
|
+
volume {
|
|
134
|
+
buckets
|
|
135
|
+
change
|
|
136
|
+
currentValue
|
|
137
|
+
previousValue
|
|
138
|
+
}
|
|
139
|
+
windowSize
|
|
140
|
+
}
|
|
141
|
+
stats_hour4 {
|
|
142
|
+
buckets {
|
|
143
|
+
end
|
|
144
|
+
start
|
|
145
|
+
}
|
|
146
|
+
buyVolume {
|
|
147
|
+
buckets
|
|
148
|
+
change
|
|
149
|
+
currentValue
|
|
150
|
+
previousValue
|
|
151
|
+
}
|
|
152
|
+
buyers {
|
|
153
|
+
buckets
|
|
154
|
+
change
|
|
155
|
+
currentValue
|
|
156
|
+
previousValue
|
|
157
|
+
}
|
|
158
|
+
buys {
|
|
159
|
+
buckets
|
|
160
|
+
change
|
|
161
|
+
currentValue
|
|
162
|
+
previousValue
|
|
163
|
+
}
|
|
164
|
+
endTimestamp
|
|
165
|
+
sellVolume {
|
|
166
|
+
buckets
|
|
167
|
+
change
|
|
168
|
+
currentValue
|
|
169
|
+
previousValue
|
|
170
|
+
}
|
|
171
|
+
sellers {
|
|
172
|
+
buckets
|
|
173
|
+
change
|
|
174
|
+
currentValue
|
|
175
|
+
previousValue
|
|
176
|
+
}
|
|
177
|
+
sells {
|
|
178
|
+
buckets
|
|
179
|
+
change
|
|
180
|
+
currentValue
|
|
181
|
+
previousValue
|
|
182
|
+
}
|
|
183
|
+
timestamp
|
|
184
|
+
traders {
|
|
185
|
+
buckets
|
|
186
|
+
change
|
|
187
|
+
currentValue
|
|
188
|
+
previousValue
|
|
189
|
+
}
|
|
190
|
+
transactions {
|
|
191
|
+
buckets
|
|
192
|
+
change
|
|
193
|
+
currentValue
|
|
194
|
+
previousValue
|
|
195
|
+
}
|
|
196
|
+
volume {
|
|
197
|
+
buckets
|
|
198
|
+
change
|
|
199
|
+
currentValue
|
|
200
|
+
previousValue
|
|
201
|
+
}
|
|
202
|
+
windowSize
|
|
203
|
+
}
|
|
204
|
+
stats_hour12 {
|
|
205
|
+
buckets {
|
|
206
|
+
end
|
|
207
|
+
start
|
|
208
|
+
}
|
|
209
|
+
buyVolume {
|
|
210
|
+
buckets
|
|
211
|
+
change
|
|
212
|
+
currentValue
|
|
213
|
+
previousValue
|
|
214
|
+
}
|
|
215
|
+
buyers {
|
|
216
|
+
buckets
|
|
217
|
+
change
|
|
218
|
+
currentValue
|
|
219
|
+
previousValue
|
|
220
|
+
}
|
|
221
|
+
buys {
|
|
222
|
+
buckets
|
|
223
|
+
change
|
|
224
|
+
currentValue
|
|
225
|
+
previousValue
|
|
226
|
+
}
|
|
227
|
+
endTimestamp
|
|
228
|
+
sellVolume {
|
|
229
|
+
buckets
|
|
230
|
+
change
|
|
231
|
+
currentValue
|
|
232
|
+
previousValue
|
|
233
|
+
}
|
|
234
|
+
sellers {
|
|
235
|
+
buckets
|
|
236
|
+
change
|
|
237
|
+
currentValue
|
|
238
|
+
previousValue
|
|
239
|
+
}
|
|
240
|
+
sells {
|
|
241
|
+
buckets
|
|
242
|
+
change
|
|
243
|
+
currentValue
|
|
244
|
+
previousValue
|
|
245
|
+
}
|
|
246
|
+
timestamp
|
|
247
|
+
traders {
|
|
248
|
+
buckets
|
|
249
|
+
change
|
|
250
|
+
currentValue
|
|
251
|
+
previousValue
|
|
252
|
+
}
|
|
253
|
+
transactions {
|
|
254
|
+
buckets
|
|
255
|
+
change
|
|
256
|
+
currentValue
|
|
257
|
+
previousValue
|
|
258
|
+
}
|
|
259
|
+
volume {
|
|
260
|
+
buckets
|
|
261
|
+
change
|
|
262
|
+
currentValue
|
|
263
|
+
previousValue
|
|
264
|
+
}
|
|
265
|
+
windowSize
|
|
266
|
+
}
|
|
267
|
+
stats_min5 {
|
|
268
|
+
buckets {
|
|
269
|
+
end
|
|
270
|
+
start
|
|
271
|
+
}
|
|
272
|
+
buyVolume {
|
|
273
|
+
buckets
|
|
274
|
+
change
|
|
275
|
+
currentValue
|
|
276
|
+
previousValue
|
|
277
|
+
}
|
|
278
|
+
buyers {
|
|
279
|
+
buckets
|
|
280
|
+
change
|
|
281
|
+
currentValue
|
|
282
|
+
previousValue
|
|
283
|
+
}
|
|
284
|
+
buys {
|
|
285
|
+
buckets
|
|
286
|
+
change
|
|
287
|
+
currentValue
|
|
288
|
+
previousValue
|
|
289
|
+
}
|
|
290
|
+
endTimestamp
|
|
291
|
+
sellVolume {
|
|
292
|
+
buckets
|
|
293
|
+
change
|
|
294
|
+
currentValue
|
|
295
|
+
previousValue
|
|
296
|
+
}
|
|
297
|
+
sellers {
|
|
298
|
+
buckets
|
|
299
|
+
change
|
|
300
|
+
currentValue
|
|
301
|
+
previousValue
|
|
302
|
+
}
|
|
303
|
+
sells {
|
|
304
|
+
buckets
|
|
305
|
+
change
|
|
306
|
+
currentValue
|
|
307
|
+
previousValue
|
|
308
|
+
}
|
|
309
|
+
timestamp
|
|
310
|
+
traders {
|
|
311
|
+
buckets
|
|
312
|
+
change
|
|
313
|
+
currentValue
|
|
314
|
+
previousValue
|
|
315
|
+
}
|
|
316
|
+
transactions {
|
|
317
|
+
buckets
|
|
318
|
+
change
|
|
319
|
+
currentValue
|
|
320
|
+
previousValue
|
|
321
|
+
}
|
|
322
|
+
volume {
|
|
323
|
+
buckets
|
|
324
|
+
change
|
|
325
|
+
currentValue
|
|
326
|
+
previousValue
|
|
327
|
+
}
|
|
328
|
+
windowSize
|
|
329
|
+
}
|
|
330
|
+
tokenOfInterest
|
|
331
|
+
}
|
|
332
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
subscription OnEventsCreated(
|
|
2
|
+
$address: String
|
|
3
|
+
$id: String
|
|
4
|
+
$quoteToken: QuoteToken
|
|
5
|
+
) {
|
|
6
|
+
onEventsCreated(address: $address, id: $id, quoteToken: $quoteToken) {
|
|
7
|
+
address
|
|
8
|
+
events {
|
|
9
|
+
address
|
|
10
|
+
baseTokenPrice
|
|
11
|
+
blockHash
|
|
12
|
+
blockNumber
|
|
13
|
+
eventDisplayType
|
|
14
|
+
eventType
|
|
15
|
+
id
|
|
16
|
+
labels {
|
|
17
|
+
sandwich {
|
|
18
|
+
label
|
|
19
|
+
sandwichType
|
|
20
|
+
token0DrainedAmount
|
|
21
|
+
token1DrainedAmount
|
|
22
|
+
}
|
|
23
|
+
washtrade {
|
|
24
|
+
label
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
liquidityToken
|
|
28
|
+
logIndex
|
|
29
|
+
maker
|
|
30
|
+
networkId
|
|
31
|
+
quoteToken
|
|
32
|
+
timestamp
|
|
33
|
+
token0PoolValueUsd
|
|
34
|
+
token0SwapValueUsd
|
|
35
|
+
token0ValueBase
|
|
36
|
+
token1PoolValueUsd
|
|
37
|
+
token1SwapValueUsd
|
|
38
|
+
token1ValueBase
|
|
39
|
+
transactionHash
|
|
40
|
+
transactionIndex
|
|
41
|
+
}
|
|
42
|
+
id
|
|
43
|
+
networkId
|
|
44
|
+
quoteToken
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
subscription OnLatestPairUpdated($id: String, $networkId: Int) {
|
|
2
|
+
onLatestPairUpdated(id: $id, networkId: $networkId) {
|
|
3
|
+
address
|
|
4
|
+
exchangeHash
|
|
5
|
+
id
|
|
6
|
+
initialPriceUsd
|
|
7
|
+
liquidAt
|
|
8
|
+
liquidity
|
|
9
|
+
liquidityToken
|
|
10
|
+
networkId
|
|
11
|
+
newToken
|
|
12
|
+
nonLiquidityToken
|
|
13
|
+
oldToken
|
|
14
|
+
priceChange
|
|
15
|
+
priceUsd
|
|
16
|
+
token0 {
|
|
17
|
+
address
|
|
18
|
+
currentPoolAmount
|
|
19
|
+
decimals
|
|
20
|
+
id
|
|
21
|
+
initialPoolAmount
|
|
22
|
+
name
|
|
23
|
+
networkId
|
|
24
|
+
pairId
|
|
25
|
+
poolVariation
|
|
26
|
+
symbol
|
|
27
|
+
}
|
|
28
|
+
token1 {
|
|
29
|
+
address
|
|
30
|
+
currentPoolAmount
|
|
31
|
+
decimals
|
|
32
|
+
id
|
|
33
|
+
initialPoolAmount
|
|
34
|
+
name
|
|
35
|
+
networkId
|
|
36
|
+
pairId
|
|
37
|
+
poolVariation
|
|
38
|
+
symbol
|
|
39
|
+
}
|
|
40
|
+
transactionHash
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
subscription OnLatestTokens(
|
|
2
|
+
$id: String
|
|
3
|
+
$networkId: Int
|
|
4
|
+
$tokenAddress: String
|
|
5
|
+
) {
|
|
6
|
+
onLatestTokens(id: $id, networkId: $networkId, tokenAddress: $tokenAddress) {
|
|
7
|
+
blockHash
|
|
8
|
+
blockNumber
|
|
9
|
+
creatorAddress
|
|
10
|
+
creatorBalance
|
|
11
|
+
decimals
|
|
12
|
+
id
|
|
13
|
+
networkId
|
|
14
|
+
simulationResults {
|
|
15
|
+
buyGasUsed
|
|
16
|
+
buySuccess
|
|
17
|
+
buyTax
|
|
18
|
+
canRenounceOwnership
|
|
19
|
+
canTransferOwnership
|
|
20
|
+
isOwnerRenounced
|
|
21
|
+
maxBuyAmount
|
|
22
|
+
maxSellAmount
|
|
23
|
+
openTradingCall
|
|
24
|
+
sellGasUsed
|
|
25
|
+
sellSuccess
|
|
26
|
+
sellTax
|
|
27
|
+
}
|
|
28
|
+
timeCreated
|
|
29
|
+
tokenAddress
|
|
30
|
+
tokenName
|
|
31
|
+
tokenSymbol
|
|
32
|
+
totalSupply
|
|
33
|
+
traceIndex
|
|
34
|
+
transactionHash
|
|
35
|
+
transactionIndex
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
subscription OnNftAssetsCreated(
|
|
2
|
+
$address: String
|
|
3
|
+
$networkId: Int
|
|
4
|
+
$tokenId: String
|
|
5
|
+
) {
|
|
6
|
+
onNftAssetsCreated(
|
|
7
|
+
address: $address
|
|
8
|
+
networkId: $networkId
|
|
9
|
+
tokenId: $tokenId
|
|
10
|
+
) {
|
|
11
|
+
address
|
|
12
|
+
attributes {
|
|
13
|
+
class
|
|
14
|
+
css
|
|
15
|
+
displayType
|
|
16
|
+
maxValue
|
|
17
|
+
name
|
|
18
|
+
value
|
|
19
|
+
valueType
|
|
20
|
+
}
|
|
21
|
+
description
|
|
22
|
+
id
|
|
23
|
+
media {
|
|
24
|
+
image
|
|
25
|
+
processed
|
|
26
|
+
thumbLg
|
|
27
|
+
thumbSm
|
|
28
|
+
}
|
|
29
|
+
name
|
|
30
|
+
networkId
|
|
31
|
+
originalImage
|
|
32
|
+
quantity
|
|
33
|
+
rawAssetData {
|
|
34
|
+
animationUrl
|
|
35
|
+
externalUrl
|
|
36
|
+
imageData
|
|
37
|
+
imageUrl
|
|
38
|
+
}
|
|
39
|
+
tokenId
|
|
40
|
+
uri
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
subscription OnNftEventsCreated($address: String, $networkId: Int) {
|
|
2
|
+
onNftEventsCreated(address: $address, networkId: $networkId) {
|
|
3
|
+
address
|
|
4
|
+
events {
|
|
5
|
+
aggregatorAddress
|
|
6
|
+
blockNumber
|
|
7
|
+
contractAddress
|
|
8
|
+
eventType
|
|
9
|
+
exchangeAddress
|
|
10
|
+
fillSource
|
|
11
|
+
id
|
|
12
|
+
individualPriceNetworkBaseToken
|
|
13
|
+
individualPriceUsd
|
|
14
|
+
individualTradePrice
|
|
15
|
+
logIndex
|
|
16
|
+
maker
|
|
17
|
+
networkId
|
|
18
|
+
numberOfTokens
|
|
19
|
+
orderDirection
|
|
20
|
+
paymentTokenAddress
|
|
21
|
+
poolAddress
|
|
22
|
+
priceError
|
|
23
|
+
sortKey
|
|
24
|
+
taker
|
|
25
|
+
timestamp
|
|
26
|
+
tokenId
|
|
27
|
+
totalPriceNetworkBaseToken
|
|
28
|
+
totalPriceUsd
|
|
29
|
+
totalTradePrice
|
|
30
|
+
transactionHash
|
|
31
|
+
transactionIndex
|
|
32
|
+
}
|
|
33
|
+
id
|
|
34
|
+
networkId
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
subscription OnNftPoolEventsCreated(
|
|
2
|
+
$collectionAddress: String
|
|
3
|
+
$exchangeAddress: String
|
|
4
|
+
$networkId: Int
|
|
5
|
+
$poolAddress: String
|
|
6
|
+
) {
|
|
7
|
+
onNftPoolEventsCreated(
|
|
8
|
+
collectionAddress: $collectionAddress
|
|
9
|
+
exchangeAddress: $exchangeAddress
|
|
10
|
+
networkId: $networkId
|
|
11
|
+
poolAddress: $poolAddress
|
|
12
|
+
) {
|
|
13
|
+
collectionAddress
|
|
14
|
+
events {
|
|
15
|
+
blockHash
|
|
16
|
+
blockNumber
|
|
17
|
+
collectionAddress
|
|
18
|
+
collectionId
|
|
19
|
+
eventType
|
|
20
|
+
exchangeAddress
|
|
21
|
+
id
|
|
22
|
+
logIndex
|
|
23
|
+
maker
|
|
24
|
+
networkId
|
|
25
|
+
poolAddress
|
|
26
|
+
poolType
|
|
27
|
+
timestamp
|
|
28
|
+
tokenAddress
|
|
29
|
+
transactionHash
|
|
30
|
+
transactionIndex
|
|
31
|
+
}
|
|
32
|
+
exchangeAddress
|
|
33
|
+
id
|
|
34
|
+
networkId
|
|
35
|
+
poolAddress
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
subscription OnPairMetadataUpdated(
|
|
2
|
+
$id: String
|
|
3
|
+
$quoteToken: QuoteToken
|
|
4
|
+
$statsType: TokenPairStatisticsType
|
|
5
|
+
) {
|
|
6
|
+
onPairMetadataUpdated(
|
|
7
|
+
id: $id
|
|
8
|
+
quoteToken: $quoteToken
|
|
9
|
+
statsType: $statsType
|
|
10
|
+
) {
|
|
11
|
+
exchangeId
|
|
12
|
+
fee
|
|
13
|
+
highPrice1
|
|
14
|
+
highPrice1w
|
|
15
|
+
highPrice4
|
|
16
|
+
highPrice12
|
|
17
|
+
highPrice24
|
|
18
|
+
id
|
|
19
|
+
liquidity
|
|
20
|
+
liquidityToken
|
|
21
|
+
lowPrice1
|
|
22
|
+
lowPrice1w
|
|
23
|
+
lowPrice4
|
|
24
|
+
lowPrice12
|
|
25
|
+
lowPrice24
|
|
26
|
+
networkId
|
|
27
|
+
nonLiquidityToken
|
|
28
|
+
pairAddress
|
|
29
|
+
price
|
|
30
|
+
priceChange1
|
|
31
|
+
priceChange1w
|
|
32
|
+
priceChange4
|
|
33
|
+
priceChange5m
|
|
34
|
+
priceChange12
|
|
35
|
+
priceChange24
|
|
36
|
+
quoteToken
|
|
37
|
+
statsType
|
|
38
|
+
tickSpacing
|
|
39
|
+
token0 {
|
|
40
|
+
address
|
|
41
|
+
decimals
|
|
42
|
+
labels {
|
|
43
|
+
createdAt
|
|
44
|
+
subType
|
|
45
|
+
type
|
|
46
|
+
}
|
|
47
|
+
name
|
|
48
|
+
networkId
|
|
49
|
+
pooled
|
|
50
|
+
price
|
|
51
|
+
symbol
|
|
52
|
+
}
|
|
53
|
+
token1 {
|
|
54
|
+
address
|
|
55
|
+
decimals
|
|
56
|
+
labels {
|
|
57
|
+
createdAt
|
|
58
|
+
subType
|
|
59
|
+
type
|
|
60
|
+
}
|
|
61
|
+
name
|
|
62
|
+
networkId
|
|
63
|
+
pooled
|
|
64
|
+
price
|
|
65
|
+
symbol
|
|
66
|
+
}
|
|
67
|
+
volume1
|
|
68
|
+
volume1w
|
|
69
|
+
volume4
|
|
70
|
+
volume12
|
|
71
|
+
volume24
|
|
72
|
+
}
|
|
73
|
+
}
|