@codex-data/sdk 0.6.2 → 1.0.0-rc2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/dist/resources/generated_mutations/CreateApiTokens.graphql +9 -0
  2. package/dist/resources/generated_mutations/CreateWebhooks.graphql +80 -0
  3. package/dist/resources/generated_mutations/DeleteApiToken.graphql +3 -0
  4. package/{src/sdk/graphql → dist/resources/generated_mutations}/DeleteWebhooks.graphql +1 -1
  5. package/dist/resources/generated_queries/ApiToken.graphql +9 -0
  6. package/dist/resources/generated_queries/ApiTokens.graphql +9 -0
  7. package/dist/resources/generated_queries/Balances.graphql +12 -0
  8. package/dist/resources/generated_queries/ChartUrls.graphql +7 -0
  9. package/dist/resources/generated_queries/FilterExchanges.graphql +43 -0
  10. package/dist/resources/generated_queries/FilterNftCollections.graphql +569 -0
  11. package/dist/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
  12. package/dist/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
  13. package/dist/resources/generated_queries/FilterNftPools.graphql +124 -0
  14. package/dist/resources/generated_queries/FilterPairs.graphql +343 -0
  15. package/dist/resources/generated_queries/FilterTokens.graphql +282 -0
  16. package/{src/sdk/graphql → dist/resources/generated_queries}/GetBars.graphql +21 -9
  17. package/dist/resources/generated_queries/GetCommunityNotes.graphql +20 -0
  18. package/dist/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
  19. package/{src/sdk/graphql → dist/resources/generated_queries}/GetDetailedPairStats.graphql +372 -373
  20. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +924 -0
  21. package/dist/resources/generated_queries/GetEventLabels.graphql +24 -0
  22. package/dist/resources/generated_queries/GetExchanges.graphql +12 -0
  23. package/dist/resources/generated_queries/GetLatestPairs.graphql +57 -0
  24. package/dist/resources/generated_queries/GetLatestTokens.graphql +39 -0
  25. package/dist/resources/generated_queries/GetNetworkStats.graphql +13 -0
  26. package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworkStatus.graphql +2 -1
  27. package/{src/sdk/graphql → dist/resources/generated_queries}/GetNetworks.graphql +1 -0
  28. package/dist/resources/generated_queries/GetNftAssets.graphql +59 -0
  29. package/dist/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
  30. package/dist/resources/generated_queries/GetNftContracts.graphql +39 -0
  31. package/dist/resources/generated_queries/GetNftEvents.graphql +54 -0
  32. package/dist/resources/generated_queries/GetNftPool.graphql +74 -0
  33. package/dist/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
  34. package/dist/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
  35. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
  36. package/dist/resources/generated_queries/GetNftPoolStats.graphql +40 -0
  37. package/dist/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
  38. package/dist/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
  39. package/dist/resources/generated_queries/GetParallelAssets.graphql +50 -0
  40. package/dist/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
  41. package/dist/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
  42. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
  43. package/dist/resources/generated_queries/GetPrimePools.graphql +62 -0
  44. package/dist/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
  45. package/{src/sdk/graphql → dist/resources/generated_queries}/GetSymbol.graphql +7 -7
  46. package/dist/resources/generated_queries/GetTokenCount.graphql +3 -0
  47. package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
  48. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
  49. package/dist/resources/generated_queries/GetTokenInfo.graphql +18 -0
  50. package/dist/resources/generated_queries/GetTokenPrices.graphql +9 -0
  51. package/dist/resources/generated_queries/GetTokensInfo.graphql +18 -0
  52. package/dist/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
  53. package/dist/resources/generated_queries/GetWebhooks.graphql +36 -0
  54. package/dist/resources/generated_queries/Holders.graphql +14 -0
  55. package/dist/resources/generated_queries/LiquidityLocks.graphql +26 -0
  56. package/dist/resources/generated_queries/LiquidityMetadata.graphql +17 -0
  57. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +59 -0
  58. package/{src/sdk/graphql → dist/resources/generated_queries}/ListPairsForToken.graphql +79 -41
  59. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +286 -0
  60. package/{src/sdk/graphql → dist/resources/generated_queries}/ListTopTokens.graphql +23 -16
  61. package/dist/resources/generated_queries/NftHolders.graphql +12 -0
  62. package/{src/sdk/graphql/OnPairMetadataUpdated.graphql → dist/resources/generated_queries/PairMetadata.graphql} +21 -3
  63. package/dist/resources/generated_queries/PrimeBalance.graphql +12 -0
  64. package/dist/resources/generated_queries/PrimeHolders.graphql +13 -0
  65. package/dist/resources/generated_queries/SearchNfts.graphql +35 -0
  66. package/dist/resources/generated_queries/Token.graphql +63 -0
  67. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
  68. package/{src/sdk/graphql/GetSparklines.graphql → dist/resources/generated_queries/TokenSparklines.graphql} +2 -2
  69. package/dist/resources/generated_queries/Tokens.graphql +63 -0
  70. package/dist/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
  71. package/dist/resources/generated_queries/WalletNftCollections.graphql +10 -0
  72. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
  73. package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnDetailedStatsUpdated.graphql +119 -111
  74. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  75. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
  76. package/dist/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
  77. package/dist/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
  78. package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnNftAssetsCreated.graphql +30 -17
  79. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
  80. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
  81. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
  82. package/{src/sdk/graphql → dist/resources/generated_subscriptions}/OnPriceUpdated.graphql +1 -1
  83. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
  84. package/dist/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
  85. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
  86. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
  87. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
  88. package/dist/resources/graphql.d.ts +175 -1
  89. package/dist/resources/graphql.d.ts.map +1 -1
  90. package/dist/resources/graphql.js.map +1 -1
  91. package/dist/resources/graphql.schema.json +1901 -2
  92. package/dist/resources/graphql.ts +199 -1
  93. package/dist/resources/schema.graphql +230 -1
  94. package/dist/scripts/buildSdk.d.ts +2 -0
  95. package/dist/scripts/buildSdk.d.ts.map +1 -0
  96. package/dist/scripts/buildSdk.js +135 -0
  97. package/dist/scripts/buildSdk.js.map +1 -0
  98. package/dist/scripts/generateGraphql.d.ts +30 -0
  99. package/dist/scripts/generateGraphql.d.ts.map +1 -0
  100. package/dist/scripts/generateGraphql.js +179 -0
  101. package/dist/scripts/generateGraphql.js.map +1 -0
  102. package/dist/sdk/Mutation.d.ts +5 -8
  103. package/dist/sdk/Mutation.d.ts.map +1 -1
  104. package/dist/sdk/Mutation.js +3 -0
  105. package/dist/sdk/Mutation.js.map +1 -1
  106. package/dist/sdk/Query.d.ts +65 -13
  107. package/dist/sdk/Query.d.ts.map +1 -1
  108. package/dist/sdk/Query.js +65 -12
  109. package/dist/sdk/Query.js.map +1 -1
  110. package/dist/sdk/Subscribe.d.ts +18 -11
  111. package/dist/sdk/Subscribe.d.ts.map +1 -1
  112. package/dist/sdk/Subscribe.js +112 -9
  113. package/dist/sdk/Subscribe.js.map +1 -1
  114. package/dist/sdk/generated/gql.d.ts +646 -66
  115. package/dist/sdk/generated/gql.d.ts.map +1 -1
  116. package/dist/sdk/generated/gql.js +85 -22
  117. package/dist/sdk/generated/gql.js.map +1 -1
  118. package/dist/sdk/generated/graphql.d.ts +8422 -2087
  119. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  120. package/dist/sdk/generated/graphql.js +88 -25
  121. package/dist/sdk/generated/graphql.js.map +1 -1
  122. package/package.json +12 -4
  123. package/src/resources/generated_mutations/CreateApiTokens.graphql +9 -0
  124. package/src/resources/generated_mutations/CreateWebhooks.graphql +80 -0
  125. package/src/resources/generated_mutations/DeleteApiToken.graphql +3 -0
  126. package/src/resources/generated_mutations/DeleteWebhooks.graphql +5 -0
  127. package/src/resources/generated_queries/ApiToken.graphql +9 -0
  128. package/src/resources/generated_queries/ApiTokens.graphql +9 -0
  129. package/src/resources/generated_queries/Balances.graphql +12 -0
  130. package/src/resources/generated_queries/ChartUrls.graphql +7 -0
  131. package/src/resources/generated_queries/FilterExchanges.graphql +43 -0
  132. package/src/resources/generated_queries/FilterNftCollections.graphql +569 -0
  133. package/src/resources/generated_queries/FilterNftParallelAssets.graphql +60 -0
  134. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +71 -0
  135. package/src/resources/generated_queries/FilterNftPools.graphql +124 -0
  136. package/src/resources/generated_queries/FilterPairs.graphql +343 -0
  137. package/src/resources/generated_queries/FilterTokens.graphql +282 -0
  138. package/src/resources/generated_queries/GetBars.graphql +44 -0
  139. package/src/resources/generated_queries/GetCommunityNotes.graphql +20 -0
  140. package/src/resources/generated_queries/GetDetailedNftStats.graphql +831 -0
  141. package/src/resources/generated_queries/GetDetailedPairStats.graphql +940 -0
  142. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +924 -0
  143. package/src/resources/generated_queries/GetEventLabels.graphql +24 -0
  144. package/src/resources/generated_queries/GetExchanges.graphql +12 -0
  145. package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
  146. package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
  147. package/src/resources/generated_queries/GetNetworkStats.graphql +13 -0
  148. package/src/resources/generated_queries/GetNetworkStatus.graphql +8 -0
  149. package/src/resources/generated_queries/GetNetworks.graphql +7 -0
  150. package/src/resources/generated_queries/GetNftAssets.graphql +59 -0
  151. package/src/resources/generated_queries/GetNftCollectionMetadata.graphql +75 -0
  152. package/src/resources/generated_queries/GetNftContracts.graphql +39 -0
  153. package/src/resources/generated_queries/GetNftEvents.graphql +54 -0
  154. package/src/resources/generated_queries/GetNftPool.graphql +74 -0
  155. package/src/resources/generated_queries/GetNftPoolCollection.graphql +33 -0
  156. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +38 -0
  157. package/src/resources/generated_queries/GetNftPoolEvents.graphql +41 -0
  158. package/src/resources/generated_queries/GetNftPoolStats.graphql +40 -0
  159. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +89 -0
  160. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +89 -0
  161. package/src/resources/generated_queries/GetParallelAssets.graphql +50 -0
  162. package/src/resources/generated_queries/GetParallelCardChanges.graphql +57 -0
  163. package/src/resources/generated_queries/GetPrimePoolAssets.graphql +32 -0
  164. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +38 -0
  165. package/src/resources/generated_queries/GetPrimePools.graphql +62 -0
  166. package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +128 -0
  167. package/src/resources/generated_queries/GetSymbol.graphql +11 -0
  168. package/src/resources/generated_queries/GetTokenCount.graphql +3 -0
  169. package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
  170. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +49 -0
  171. package/src/resources/generated_queries/GetTokenInfo.graphql +18 -0
  172. package/src/resources/generated_queries/GetTokenPrices.graphql +9 -0
  173. package/src/resources/generated_queries/GetTokensInfo.graphql +18 -0
  174. package/src/resources/generated_queries/GetUniV3Ticks.graphql +22 -0
  175. package/src/resources/generated_queries/GetWebhooks.graphql +36 -0
  176. package/src/resources/generated_queries/Holders.graphql +14 -0
  177. package/src/resources/generated_queries/LiquidityLocks.graphql +26 -0
  178. package/src/resources/generated_queries/LiquidityMetadata.graphql +17 -0
  179. package/src/resources/generated_queries/ListFavoriteTokens.graphql +59 -0
  180. package/src/resources/generated_queries/ListPairsForToken.graphql +143 -0
  181. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +286 -0
  182. package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
  183. package/src/resources/generated_queries/NftHolders.graphql +12 -0
  184. package/src/resources/generated_queries/PairMetadata.graphql +73 -0
  185. package/src/resources/generated_queries/PrimeBalance.graphql +12 -0
  186. package/src/resources/generated_queries/PrimeHolders.graphql +13 -0
  187. package/src/resources/generated_queries/SearchNfts.graphql +35 -0
  188. package/src/resources/generated_queries/Token.graphql +63 -0
  189. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +22 -0
  190. package/src/resources/generated_queries/TokenSparklines.graphql +10 -0
  191. package/src/resources/generated_queries/Tokens.graphql +63 -0
  192. package/src/resources/generated_queries/WalletNftCollectionAssets.graphql +11 -0
  193. package/src/resources/generated_queries/WalletNftCollections.graphql +10 -0
  194. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +513 -0
  195. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +332 -0
  196. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  197. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +46 -0
  198. package/src/resources/generated_subscriptions/OnLatestPairUpdated.graphql +42 -0
  199. package/src/resources/generated_subscriptions/OnLatestTokens.graphql +37 -0
  200. package/src/resources/generated_subscriptions/OnNftAssetsCreated.graphql +42 -0
  201. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +36 -0
  202. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +37 -0
  203. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +73 -0
  204. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +9 -0
  205. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +9 -0
  206. package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +121 -0
  207. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +39 -0
  208. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +18 -0
  209. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +32 -0
  210. package/src/resources/graphql.schema.json +1901 -2
  211. package/src/resources/graphql.ts +199 -1
  212. package/src/resources/schema.graphql +230 -1
  213. package/src/scripts/buildSdk.ts +173 -0
  214. package/src/scripts/generateGraphql.ts +236 -0
  215. package/src/sdk/Mutation.ts +13 -4
  216. package/src/sdk/Query.ts +254 -35
  217. package/src/sdk/Subscribe.ts +231 -42
  218. package/src/sdk/generated/gql.ts +359 -44
  219. package/src/sdk/generated/graphql.ts +928 -129
  220. package/dist/sdk/Query.test.d.ts +0 -2
  221. package/dist/sdk/Query.test.d.ts.map +0 -1
  222. package/dist/sdk/Query.test.js +0 -50
  223. package/dist/sdk/Query.test.js.map +0 -1
  224. package/src/sdk/Query.test.ts +0 -40
  225. package/src/sdk/graphql/CreateWebhooks.graphql +0 -464
  226. package/src/sdk/graphql/FilterExchanges.graphql +0 -23
  227. package/src/sdk/graphql/FilterPairs.graphql +0 -126
  228. package/src/sdk/graphql/FilterTokens.graphql +0 -131
  229. package/src/sdk/graphql/GetPrice.graphql +0 -9
  230. package/src/sdk/graphql/GetTokens.graphql +0 -14
  231. package/src/sdk/graphql/GetWebhooks.graphql +0 -120
  232. package/src/sdk/graphql/OnBarsUpdated.graphql +0 -68
  233. package/src/sdk/graphql/OnEventsCreated.graphql +0 -62
  234. package/src/sdk/graphql/OnNftEventsCreated.graphql +0 -83
@@ -1,324 +1,332 @@
1
- subscription OnDetailedStatsUpdated($pairId: String, $tokenOfInterest: TokenOfInterest, $statsType: TokenPairStatisticsType) {
2
- onDetailedStatsUpdated(pairId: $pairId, tokenOfInterest: $tokenOfInterest, statsType: $statsType) {
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
3
12
  pairId
4
- tokenOfInterest
13
+ queryTimestamp
5
14
  statsType
6
- stats_min5 {
7
- windowSize
8
- timestamp
9
- endTimestamp
10
- transactions {
15
+ stats_day1 {
16
+ buckets {
17
+ end
18
+ start
19
+ }
20
+ buyVolume {
21
+ buckets
11
22
  change
12
23
  currentValue
13
24
  previousValue
14
- buckets
15
25
  }
16
- volume {
26
+ buyers {
27
+ buckets
17
28
  change
18
29
  currentValue
19
30
  previousValue
20
- buckets
21
31
  }
22
32
  buys {
33
+ buckets
23
34
  change
24
35
  currentValue
25
36
  previousValue
26
- buckets
27
37
  }
28
- sells {
38
+ endTimestamp
39
+ sellVolume {
40
+ buckets
29
41
  change
30
42
  currentValue
31
43
  previousValue
32
- buckets
33
44
  }
34
- buyers {
45
+ sellers {
46
+ buckets
35
47
  change
36
48
  currentValue
37
49
  previousValue
38
- buckets
39
50
  }
40
- sellers {
51
+ sells {
52
+ buckets
41
53
  change
42
54
  currentValue
43
55
  previousValue
44
- buckets
45
56
  }
57
+ timestamp
46
58
  traders {
59
+ buckets
47
60
  change
48
61
  currentValue
49
62
  previousValue
50
- buckets
51
63
  }
52
- buyVolume {
64
+ transactions {
65
+ buckets
53
66
  change
54
67
  currentValue
55
68
  previousValue
56
- buckets
57
69
  }
58
- sellVolume {
70
+ volume {
71
+ buckets
59
72
  change
60
73
  currentValue
61
74
  previousValue
62
- buckets
63
75
  }
64
- buckets {
65
- start
66
- end
67
- }
68
-
76
+ windowSize
69
77
  }
70
78
  stats_hour1 {
71
- windowSize
72
- timestamp
73
- endTimestamp
74
79
  buckets {
75
- start
76
80
  end
81
+ start
77
82
  }
78
- transactions {
83
+ buyVolume {
84
+ buckets
79
85
  change
80
86
  currentValue
81
87
  previousValue
82
- buckets
83
88
  }
84
- volume {
89
+ buyers {
90
+ buckets
85
91
  change
86
92
  currentValue
87
93
  previousValue
88
- buckets
89
94
  }
90
95
  buys {
96
+ buckets
91
97
  change
92
98
  currentValue
93
99
  previousValue
94
- buckets
95
100
  }
96
- sells {
101
+ endTimestamp
102
+ sellVolume {
103
+ buckets
97
104
  change
98
105
  currentValue
99
106
  previousValue
100
- buckets
101
107
  }
102
- buyers {
108
+ sellers {
109
+ buckets
103
110
  change
104
111
  currentValue
105
112
  previousValue
106
- buckets
107
113
  }
108
- sellers {
114
+ sells {
115
+ buckets
109
116
  change
110
117
  currentValue
111
118
  previousValue
112
- buckets
113
119
  }
120
+ timestamp
114
121
  traders {
122
+ buckets
115
123
  change
116
124
  currentValue
117
125
  previousValue
118
- buckets
119
126
  }
120
- buyVolume {
127
+ transactions {
128
+ buckets
121
129
  change
122
130
  currentValue
123
131
  previousValue
124
- buckets
125
132
  }
126
- sellVolume {
133
+ volume {
134
+ buckets
127
135
  change
128
136
  currentValue
129
137
  previousValue
130
- buckets
131
138
  }
139
+ windowSize
132
140
  }
133
141
  stats_hour4 {
134
- windowSize
135
- timestamp
136
- endTimestamp
137
142
  buckets {
138
- start
139
143
  end
144
+ start
140
145
  }
141
- transactions {
146
+ buyVolume {
147
+ buckets
142
148
  change
143
149
  currentValue
144
150
  previousValue
145
- buckets
146
151
  }
147
- volume {
152
+ buyers {
153
+ buckets
148
154
  change
149
155
  currentValue
150
156
  previousValue
151
- buckets
152
157
  }
153
158
  buys {
159
+ buckets
154
160
  change
155
161
  currentValue
156
162
  previousValue
157
- buckets
158
163
  }
159
- sells {
164
+ endTimestamp
165
+ sellVolume {
166
+ buckets
160
167
  change
161
168
  currentValue
162
169
  previousValue
163
- buckets
164
170
  }
165
- buyers {
171
+ sellers {
172
+ buckets
166
173
  change
167
174
  currentValue
168
175
  previousValue
169
- buckets
170
176
  }
171
- sellers {
177
+ sells {
178
+ buckets
172
179
  change
173
180
  currentValue
174
181
  previousValue
175
- buckets
176
182
  }
183
+ timestamp
177
184
  traders {
185
+ buckets
178
186
  change
179
187
  currentValue
180
188
  previousValue
181
- buckets
182
189
  }
183
- buyVolume {
190
+ transactions {
191
+ buckets
184
192
  change
185
193
  currentValue
186
194
  previousValue
187
- buckets
188
195
  }
189
- sellVolume {
196
+ volume {
197
+ buckets
190
198
  change
191
199
  currentValue
192
200
  previousValue
193
- buckets
194
201
  }
195
-
202
+ windowSize
196
203
  }
197
204
  stats_hour12 {
198
- windowSize
199
- timestamp
200
- endTimestamp
201
205
  buckets {
202
- start
203
206
  end
207
+ start
204
208
  }
205
- transactions {
209
+ buyVolume {
210
+ buckets
206
211
  change
207
212
  currentValue
208
213
  previousValue
209
- buckets
210
214
  }
211
- volume {
215
+ buyers {
216
+ buckets
212
217
  change
213
218
  currentValue
214
219
  previousValue
215
- buckets
216
220
  }
217
221
  buys {
222
+ buckets
218
223
  change
219
224
  currentValue
220
225
  previousValue
221
- buckets
222
226
  }
223
- sells {
227
+ endTimestamp
228
+ sellVolume {
229
+ buckets
224
230
  change
225
231
  currentValue
226
232
  previousValue
227
- buckets
228
233
  }
229
- buyers {
234
+ sellers {
235
+ buckets
230
236
  change
231
237
  currentValue
232
238
  previousValue
233
- buckets
234
239
  }
235
- sellers {
240
+ sells {
241
+ buckets
236
242
  change
237
243
  currentValue
238
244
  previousValue
239
- buckets
240
245
  }
246
+ timestamp
241
247
  traders {
248
+ buckets
242
249
  change
243
250
  currentValue
244
251
  previousValue
245
- buckets
246
252
  }
247
- buyVolume {
253
+ transactions {
254
+ buckets
248
255
  change
249
256
  currentValue
250
257
  previousValue
251
- buckets
252
258
  }
253
- sellVolume {
259
+ volume {
260
+ buckets
254
261
  change
255
262
  currentValue
256
263
  previousValue
257
- buckets
258
264
  }
259
- }
260
- stats_day1 {
261
265
  windowSize
262
- timestamp
263
- endTimestamp
266
+ }
267
+ stats_min5 {
264
268
  buckets {
265
- start
266
269
  end
270
+ start
267
271
  }
268
- transactions {
272
+ buyVolume {
273
+ buckets
269
274
  change
270
275
  currentValue
271
276
  previousValue
272
- buckets
273
277
  }
274
- volume {
278
+ buyers {
279
+ buckets
275
280
  change
276
281
  currentValue
277
282
  previousValue
278
- buckets
279
283
  }
280
284
  buys {
285
+ buckets
281
286
  change
282
287
  currentValue
283
288
  previousValue
284
- buckets
285
289
  }
286
- sells {
290
+ endTimestamp
291
+ sellVolume {
292
+ buckets
287
293
  change
288
294
  currentValue
289
295
  previousValue
290
- buckets
291
296
  }
292
- buyers {
297
+ sellers {
298
+ buckets
293
299
  change
294
300
  currentValue
295
301
  previousValue
296
- buckets
297
302
  }
298
- sellers {
303
+ sells {
304
+ buckets
299
305
  change
300
306
  currentValue
301
307
  previousValue
302
- buckets
303
308
  }
309
+ timestamp
304
310
  traders {
311
+ buckets
305
312
  change
306
313
  currentValue
307
314
  previousValue
308
- buckets
309
315
  }
310
- buyVolume {
316
+ transactions {
317
+ buckets
311
318
  change
312
319
  currentValue
313
320
  previousValue
314
- buckets
315
321
  }
316
- sellVolume {
322
+ volume {
323
+ buckets
317
324
  change
318
325
  currentValue
319
326
  previousValue
320
- buckets
321
327
  }
328
+ windowSize
322
329
  }
330
+ tokenOfInterest
323
331
  }
324
- }
332
+ }
@@ -0,0 +1,11 @@
1
+ subscription OnEventLabelCreated($id: String) {
2
+ onEventLabelCreated(id: $id) {
3
+ id
4
+ label
5
+ logIndex
6
+ networkId
7
+ timestamp
8
+ transactionHash
9
+ transactionIndex
10
+ }
11
+ }
@@ -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
+ }
@@ -1,20 +1,14 @@
1
-
2
- subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: String) {
3
- onNftAssetsCreated(address: $address, networkId: $networkId, tokenId: $tokenId) {
4
- id
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
+ ) {
5
11
  address
6
- tokenId
7
- networkId
8
- media {
9
- image
10
- thumbSm
11
- thumbLg
12
- processed
13
- }
14
- name
15
- description
16
- originalImage
17
- uri
18
12
  attributes {
19
13
  class
20
14
  css
@@ -24,6 +18,25 @@ subscription OnNftAssetsCreated($address: String, $networkId: Int, $tokenId: Str
24
18
  value
25
19
  valueType
26
20
  }
21
+ description
22
+ id
23
+ media {
24
+ image
25
+ processed
26
+ thumbLg
27
+ thumbSm
28
+ }
29
+ name
30
+ networkId
31
+ originalImage
27
32
  quantity
33
+ rawAssetData {
34
+ animationUrl
35
+ externalUrl
36
+ imageData
37
+ imageUrl
38
+ }
39
+ tokenId
40
+ uri
28
41
  }
29
- }
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
+ }