@codex-data/sdk 1.0.0-rc1 → 1.0.0-rc3

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 (113) hide show
  1. package/dist/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  2. package/dist/resources/generated_queries/FilterPairs.graphql +8 -0
  3. package/dist/resources/generated_queries/FilterTokens.graphql +7 -0
  4. package/dist/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  5. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +2 -0
  6. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +2 -0
  7. package/dist/resources/generated_queries/GetEventLabels.graphql +11 -0
  8. package/dist/resources/generated_queries/GetNftEvents.graphql +46 -0
  9. package/dist/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  10. package/dist/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  11. package/dist/resources/generated_queries/GetTokenEvents.graphql +49 -0
  12. package/dist/resources/generated_queries/GetTokenEventsForMaker.graphql +98 -0
  13. package/dist/resources/generated_queries/GetTokenInfo.graphql +1 -0
  14. package/dist/resources/generated_queries/GetTokensInfo.graphql +1 -0
  15. package/dist/resources/generated_queries/GetWebhooks.graphql +98 -0
  16. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +1 -0
  17. package/dist/resources/generated_queries/ListPairsForToken.graphql +2 -0
  18. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -0
  19. package/dist/resources/generated_queries/ListTopTokens.graphql +1 -0
  20. package/dist/resources/generated_queries/Token.graphql +1 -0
  21. package/dist/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  22. package/dist/resources/generated_queries/Tokens.graphql +1 -0
  23. package/dist/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  24. package/dist/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  25. package/dist/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  26. package/dist/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  27. package/dist/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  28. package/dist/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  29. package/dist/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  30. package/dist/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  31. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  32. package/dist/resources/graphql.d.ts +138 -13
  33. package/dist/resources/graphql.d.ts.map +1 -1
  34. package/dist/resources/graphql.js +8 -0
  35. package/dist/resources/graphql.js.map +1 -1
  36. package/dist/resources/graphql.schema.json +940 -122
  37. package/dist/resources/graphql.ts +148 -14
  38. package/dist/resources/mutations_override/CreateWebhooks.graphql +472 -0
  39. package/dist/resources/queries_override/GetEventLabels.graphql +35 -0
  40. package/dist/resources/queries_override/GetWebhooks.graphql +134 -0
  41. package/dist/resources/schema.graphql +185 -16
  42. package/dist/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  43. package/dist/scripts/generateGraphql.d.ts +1 -0
  44. package/dist/scripts/generateGraphql.d.ts.map +1 -1
  45. package/dist/scripts/generateGraphql.js +48 -12
  46. package/dist/scripts/generateGraphql.js.map +1 -1
  47. package/dist/sdk/Mutation.d.ts +1 -1
  48. package/dist/sdk/Mutation.js +1 -1
  49. package/dist/sdk/Query.d.ts +55 -54
  50. package/dist/sdk/Query.d.ts.map +1 -1
  51. package/dist/sdk/Query.js +54 -53
  52. package/dist/sdk/Query.js.map +1 -1
  53. package/dist/sdk/Subscribe.d.ts +12 -11
  54. package/dist/sdk/Subscribe.d.ts.map +1 -1
  55. package/dist/sdk/Subscribe.js +80 -55
  56. package/dist/sdk/Subscribe.js.map +1 -1
  57. package/dist/sdk/generated/gql.d.ts +76 -58
  58. package/dist/sdk/generated/gql.d.ts.map +1 -1
  59. package/dist/sdk/generated/gql.js +31 -29
  60. package/dist/sdk/generated/gql.js.map +1 -1
  61. package/dist/sdk/generated/graphql.d.ts +2908 -90
  62. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  63. package/dist/sdk/generated/graphql.js +41 -31
  64. package/dist/sdk/generated/graphql.js.map +1 -1
  65. package/dist/sdk/index.d.ts.map +1 -1
  66. package/dist/sdk/index.js +1 -0
  67. package/dist/sdk/index.js.map +1 -1
  68. package/package.json +1 -1
  69. package/src/resources/generated_mutations/CreateWebhooks.graphql +392 -0
  70. package/src/resources/generated_queries/FilterPairs.graphql +8 -0
  71. package/src/resources/generated_queries/FilterTokens.graphql +7 -0
  72. package/src/resources/generated_queries/GetCommunityNotes.graphql +100 -0
  73. package/src/resources/generated_queries/GetDetailedPairStats.graphql +2 -0
  74. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +2 -0
  75. package/src/resources/generated_queries/GetEventLabels.graphql +11 -0
  76. package/src/resources/generated_queries/GetNftEvents.graphql +46 -0
  77. package/src/resources/generated_queries/GetNftPoolEvents.graphql +375 -0
  78. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +118 -0
  79. package/src/resources/generated_queries/GetTokenEvents.graphql +49 -0
  80. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +98 -0
  81. package/src/resources/generated_queries/GetTokenInfo.graphql +1 -0
  82. package/src/resources/generated_queries/GetTokensInfo.graphql +1 -0
  83. package/src/resources/generated_queries/GetWebhooks.graphql +98 -0
  84. package/src/resources/generated_queries/ListFavoriteTokens.graphql +1 -0
  85. package/src/resources/generated_queries/ListPairsForToken.graphql +2 -0
  86. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +4 -0
  87. package/src/resources/generated_queries/ListTopTokens.graphql +1 -0
  88. package/src/resources/generated_queries/Token.graphql +1 -0
  89. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +12 -0
  90. package/src/resources/generated_queries/Tokens.graphql +1 -0
  91. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +42 -0
  92. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +11 -0
  93. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +49 -0
  94. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +46 -0
  95. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +375 -0
  96. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +551 -0
  97. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +49 -0
  98. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +12 -0
  99. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +17 -0
  100. package/src/resources/graphql.schema.json +940 -122
  101. package/src/resources/graphql.ts +148 -14
  102. package/src/resources/mutations_override/CreateWebhooks.graphql +472 -0
  103. package/src/resources/queries_override/GetEventLabels.graphql +35 -0
  104. package/src/resources/queries_override/GetWebhooks.graphql +134 -0
  105. package/src/resources/schema.graphql +185 -16
  106. package/src/resources/subscriptions_override/OnEventLabelCreated.graphql +22 -0
  107. package/src/scripts/generateGraphql.ts +87 -17
  108. package/src/sdk/Mutation.ts +2 -2
  109. package/src/sdk/Query.ts +117 -113
  110. package/src/sdk/Subscribe.ts +118 -85
  111. package/src/sdk/generated/gql.ts +68 -58
  112. package/src/sdk/generated/graphql.ts +226 -72
  113. package/src/sdk/index.ts +1 -0
@@ -47,6 +47,52 @@ query GetNftEvents(
47
47
  totalPriceNetworkBaseToken
48
48
  totalPriceUsd
49
49
  totalTradePrice
50
+ tradeOffer {
51
+ ... on NftEventNftTradeItem {
52
+ address
53
+ amount
54
+ recipient
55
+ tokenId
56
+ type
57
+ }
58
+ ... on NftEventTokenTradeItem {
59
+ address
60
+ amount
61
+ individualPriceNetworkBaseToken
62
+ individualPriceUsd
63
+ individualTradePrice
64
+ isPrice
65
+ priceError
66
+ recipient
67
+ totalPriceNetworkBaseToken
68
+ totalPriceUsd
69
+ totalTradePrice
70
+ type
71
+ }
72
+ }
73
+ tradeReceived {
74
+ ... on NftEventNftTradeItem {
75
+ address
76
+ amount
77
+ recipient
78
+ tokenId
79
+ type
80
+ }
81
+ ... on NftEventTokenTradeItem {
82
+ address
83
+ amount
84
+ individualPriceNetworkBaseToken
85
+ individualPriceUsd
86
+ individualTradePrice
87
+ isPrice
88
+ priceError
89
+ recipient
90
+ totalPriceNetworkBaseToken
91
+ totalPriceUsd
92
+ totalTradePrice
93
+ type
94
+ }
95
+ }
50
96
  transactionHash
51
97
  transactionIndex
52
98
  }
@@ -24,6 +24,381 @@ query GetNftPoolEvents(
24
24
  blockNumber
25
25
  collectionAddress
26
26
  collectionId
27
+ data {
28
+ ... on NewPoolEventData {
29
+ assetRecipientAddress
30
+ bondingCurveAddress
31
+ bondingCurveType
32
+ buyPriceT
33
+ collectionAddress
34
+ createdAt
35
+ delta
36
+ feeAmountT
37
+ nbtRatio
38
+ networkId
39
+ nftTokenBalance
40
+ ownerAddress
41
+ poolAddress
42
+ sellPriceT
43
+ startPriceT
44
+ tokenAddress
45
+ tokenBalanceT
46
+ type
47
+ usdRatio
48
+ }
49
+ ... on NewPoolEventDataV2 {
50
+ assetRecipientAddress
51
+ bondingCurveAddress
52
+ bondingCurveType
53
+ buyPriceT
54
+ collectionAddress
55
+ createdAt
56
+ delta
57
+ feeAmountT
58
+ nbtRatio
59
+ networkId
60
+ nftAssets {
61
+ address
62
+ attributes {
63
+ class
64
+ css
65
+ displayType
66
+ maxValue
67
+ name
68
+ value
69
+ valueType
70
+ }
71
+ description
72
+ id
73
+ media {
74
+ image
75
+ processed
76
+ thumbLg
77
+ thumbSm
78
+ }
79
+ name
80
+ networkId
81
+ originalImage
82
+ quantity
83
+ rawAssetData {
84
+ animationUrl
85
+ externalUrl
86
+ imageData
87
+ imageUrl
88
+ }
89
+ tokenId
90
+ uri
91
+ }
92
+ nftTokenIds
93
+ nftTokenQuantities
94
+ ownerAddress
95
+ poolAddress
96
+ poolNftType
97
+ propertyChecker
98
+ royalties {
99
+ percent
100
+ recipient
101
+ }
102
+ sellPriceT
103
+ startPriceT
104
+ tokenAddress
105
+ tokenBalanceT
106
+ type
107
+ usdRatio
108
+ }
109
+ ... on NftPoolAssetRecipientUpdateEventData {
110
+ newAssetRecipient
111
+ type
112
+ }
113
+ ... on NftPoolDeltaUpdateEventData {
114
+ newDelta
115
+ type
116
+ }
117
+ ... on NftPoolFeeUpdateEventData {
118
+ nbtRatio
119
+ newFeeT
120
+ type
121
+ usdRatio
122
+ }
123
+ ... on NftPoolNftDepositEventData {
124
+ nftTokenBalance
125
+ nftTokenIds
126
+ tokenBalanceT
127
+ type
128
+ }
129
+ ... on NftPoolNftDepositEventDataV2 {
130
+ nftAssets {
131
+ address
132
+ attributes {
133
+ class
134
+ css
135
+ displayType
136
+ maxValue
137
+ name
138
+ value
139
+ valueType
140
+ }
141
+ description
142
+ id
143
+ media {
144
+ image
145
+ processed
146
+ thumbLg
147
+ thumbSm
148
+ }
149
+ name
150
+ networkId
151
+ originalImage
152
+ quantity
153
+ rawAssetData {
154
+ animationUrl
155
+ externalUrl
156
+ imageData
157
+ imageUrl
158
+ }
159
+ tokenId
160
+ uri
161
+ }
162
+ nftTokenAmounts
163
+ nftTokenIds
164
+ tokenBalanceT
165
+ type
166
+ }
167
+ ... on NftPoolNftWithdrawalEventData {
168
+ nftTokenBalance
169
+ nftTokenIds
170
+ tokenBalanceT
171
+ type
172
+ }
173
+ ... on NftPoolNftWithdrawalEventDataV2 {
174
+ nftAssets {
175
+ address
176
+ attributes {
177
+ class
178
+ css
179
+ displayType
180
+ maxValue
181
+ name
182
+ value
183
+ valueType
184
+ }
185
+ description
186
+ id
187
+ media {
188
+ image
189
+ processed
190
+ thumbLg
191
+ thumbSm
192
+ }
193
+ name
194
+ networkId
195
+ originalImage
196
+ quantity
197
+ rawAssetData {
198
+ animationUrl
199
+ externalUrl
200
+ imageData
201
+ imageUrl
202
+ }
203
+ tokenId
204
+ uri
205
+ }
206
+ nftTokenAmounts
207
+ nftTokenIds
208
+ tokenBalanceT
209
+ type
210
+ }
211
+ ... on NftPoolOwnershipTransferredEventDataV2 {
212
+ newOwner
213
+ type
214
+ }
215
+ ... on NftPoolSpotPriceUpdateEventData {
216
+ nbtRatio
217
+ newBuyPriceT
218
+ newSellPriceT
219
+ newSpotPriceT
220
+ type
221
+ usdRatio
222
+ }
223
+ ... on NftPoolSpotPriceUpdateEventDataV2 {
224
+ nbtRatio
225
+ newBuyPriceT
226
+ newSellPriceT
227
+ newSpotPriceT
228
+ type
229
+ usdRatio
230
+ }
231
+ ... on NftPoolTokenDepositEventData {
232
+ amountT
233
+ nbtRatio
234
+ nftTokenBalance
235
+ tokenBalanceT
236
+ type
237
+ usdRatio
238
+ }
239
+ ... on NftPoolTokenDepositEventDataV2 {
240
+ amountT
241
+ nbtRatio
242
+ tokenBalanceT
243
+ type
244
+ usdRatio
245
+ }
246
+ ... on NftPoolTokenWithdrawalEventData {
247
+ amountT
248
+ nbtRatio
249
+ nftTokenBalance
250
+ tokenBalanceT
251
+ type
252
+ usdRatio
253
+ }
254
+ ... on NftPoolTokenWithdrawalEventDataV2 {
255
+ amountT
256
+ nbtRatio
257
+ tokenBalanceT
258
+ type
259
+ usdRatio
260
+ }
261
+ ... on SwapNftInPoolEventData {
262
+ amountT
263
+ nbtRatio
264
+ newBuyPriceT
265
+ newDelta
266
+ newSellPriceT
267
+ newSpotPriceT
268
+ nftTokenBalance
269
+ nftsTransfered {
270
+ amountT
271
+ nftTokenId
272
+ }
273
+ poolFeeT
274
+ protocolFeeT
275
+ tokenBalanceT
276
+ tokenId
277
+ type
278
+ usdRatio
279
+ }
280
+ ... on SwapNftInPoolEventDataV2 {
281
+ amountT
282
+ nbtRatio
283
+ newBuyPriceT
284
+ newDelta
285
+ newSellPriceT
286
+ newSpotPriceT
287
+ nftAssets {
288
+ address
289
+ attributes {
290
+ class
291
+ css
292
+ displayType
293
+ maxValue
294
+ name
295
+ value
296
+ valueType
297
+ }
298
+ description
299
+ id
300
+ media {
301
+ image
302
+ processed
303
+ thumbLg
304
+ thumbSm
305
+ }
306
+ name
307
+ networkId
308
+ originalImage
309
+ quantity
310
+ rawAssetData {
311
+ animationUrl
312
+ externalUrl
313
+ imageData
314
+ imageUrl
315
+ }
316
+ tokenId
317
+ uri
318
+ }
319
+ nftsTransfered {
320
+ amountT
321
+ nftQuantity
322
+ nftTokenId
323
+ }
324
+ poolFeeT
325
+ protocolFeeT
326
+ tokenBalanceT
327
+ tokenId
328
+ type
329
+ usdRatio
330
+ }
331
+ ... on SwapNftOutPoolEventData {
332
+ amountT
333
+ nbtRatio
334
+ newBuyPriceT
335
+ newDelta
336
+ newSellPriceT
337
+ newSpotPriceT
338
+ nftTokenBalance
339
+ nftsTransfered {
340
+ amountT
341
+ nftTokenId
342
+ }
343
+ poolFeeT
344
+ protocolFeeT
345
+ tokenBalanceT
346
+ tokenId
347
+ type
348
+ usdRatio
349
+ }
350
+ ... on SwapNftOutPoolEventDataV2 {
351
+ amountT
352
+ nbtRatio
353
+ newBuyPriceT
354
+ newDelta
355
+ newSellPriceT
356
+ newSpotPriceT
357
+ nftAssets {
358
+ address
359
+ attributes {
360
+ class
361
+ css
362
+ displayType
363
+ maxValue
364
+ name
365
+ value
366
+ valueType
367
+ }
368
+ description
369
+ id
370
+ media {
371
+ image
372
+ processed
373
+ thumbLg
374
+ thumbSm
375
+ }
376
+ name
377
+ networkId
378
+ originalImage
379
+ quantity
380
+ rawAssetData {
381
+ animationUrl
382
+ externalUrl
383
+ imageData
384
+ imageUrl
385
+ }
386
+ tokenId
387
+ uri
388
+ }
389
+ nftsTransfered {
390
+ amountT
391
+ nftQuantity
392
+ nftTokenId
393
+ }
394
+ poolFeeT
395
+ protocolFeeT
396
+ tokenBalanceT
397
+ tokenId
398
+ type
399
+ usdRatio
400
+ }
401
+ }
27
402
  eventType
28
403
  exchangeAddress
29
404
  id
@@ -20,6 +20,124 @@ query GetPrimePoolEvents(
20
20
  items {
21
21
  blockHash
22
22
  blockNumber
23
+ data {
24
+ ... on PrimePoolCacheData {
25
+ eventAmount
26
+ totalSupply
27
+ type
28
+ user
29
+ userCachedAmount
30
+ userEthRewardDebt
31
+ userPrimeRewardDebt
32
+ }
33
+ ... on PrimePoolCachingPausedData {
34
+ cachingPaused
35
+ type
36
+ }
37
+ ... on PrimePoolClaimEthData {
38
+ currency
39
+ ethClaimed
40
+ eventAmount
41
+ type
42
+ user
43
+ userEthRewardDebt
44
+ }
45
+ ... on PrimePoolClaimPrimeData {
46
+ currency
47
+ eventAmount
48
+ type
49
+ user
50
+ userPrimeRewardDebt
51
+ }
52
+ ... on PrimePoolEmergencyWithdrawData {
53
+ eventAmount
54
+ totalSupply
55
+ type
56
+ user
57
+ userCachedAmount
58
+ userEthRewardDebt
59
+ userPrimeRewardDebt
60
+ }
61
+ ... on PrimePoolEndTimestampUpdatedEthData {
62
+ currency
63
+ ethEndTimestamp
64
+ ethPerSecond
65
+ ethStartTimestamp
66
+ type
67
+ }
68
+ ... on PrimePoolEndTimestampUpdatedPrimeData {
69
+ currency
70
+ primeEndTimestamp
71
+ primePerSecond
72
+ primeStartTimestamp
73
+ type
74
+ }
75
+ ... on PrimePoolEthRewardsAddedData {
76
+ amount
77
+ totalRewards
78
+ type
79
+ }
80
+ ... on PrimePoolEthRewardsSetData {
81
+ amount
82
+ totalRewards
83
+ type
84
+ }
85
+ ... on PrimePoolLogPoolAdditionData {
86
+ tokenIds
87
+ type
88
+ }
89
+ ... on PrimePoolLogPoolSetAllocPointData {
90
+ allocPoint
91
+ currency
92
+ totalAllocPoint
93
+ type
94
+ }
95
+ ... on PrimePoolLogSetPerSecondData {
96
+ amount
97
+ currency
98
+ endTimestamp
99
+ ethAmountPerSecond
100
+ primeAmountPerSecond
101
+ startTimestamp
102
+ type
103
+ }
104
+ ... on PrimePoolLogUpdatePoolData {
105
+ accPerShare
106
+ currency
107
+ ethAmount
108
+ lastRewardTimestamp
109
+ primeAmount
110
+ supply
111
+ totalSupply
112
+ type
113
+ }
114
+ ... on PrimePoolRewardDecreaseData {
115
+ currency
116
+ eventAmount
117
+ type
118
+ updatedAmount
119
+ }
120
+ ... on PrimePoolRewardIncreaseData {
121
+ currency
122
+ eventAmount
123
+ type
124
+ updatedAmount
125
+ }
126
+ ... on PrimePoolTimeCachePeriodUpdateData {
127
+ currency
128
+ timedCachePeriod
129
+ type
130
+ }
131
+ ... on PrimePoolWithdrawData {
132
+ eventAmount
133
+ totalSupply
134
+ type
135
+ user
136
+ userCachedAmount
137
+ userEthRewardDebt
138
+ userPrimeRewardDebt
139
+ }
140
+ }
23
141
  eventType
24
142
  from
25
143
  fromHashKey
@@ -16,6 +16,55 @@ query GetTokenEvents(
16
16
  baseTokenPrice
17
17
  blockHash
18
18
  blockNumber
19
+ data {
20
+ ... on BurnEventData {
21
+ amount0
22
+ amount0Shifted
23
+ amount1
24
+ amount1Shifted
25
+ tickLower
26
+ tickUpper
27
+ type
28
+ }
29
+ ... on MintEventData {
30
+ amount0
31
+ amount0Shifted
32
+ amount1
33
+ amount1Shifted
34
+ tickLower
35
+ tickUpper
36
+ type
37
+ }
38
+ ... on PoolBalanceChangedEventData {
39
+ amount0
40
+ amount0Shifted
41
+ amount1
42
+ amount1Shifted
43
+ liquidity0
44
+ liquidity1
45
+ protocolFeeAmount0
46
+ protocolFeeAmount1
47
+ sender
48
+ token0
49
+ token1
50
+ type
51
+ }
52
+ ... on SwapEventData {
53
+ amount0
54
+ amount0In
55
+ amount0Out
56
+ amount1
57
+ amount1In
58
+ amount1Out
59
+ amountNonLiquidityToken
60
+ priceBaseToken
61
+ priceBaseTokenTotal
62
+ priceUsd
63
+ priceUsdTotal
64
+ tick
65
+ type
66
+ }
67
+ }
19
68
  eventDisplayType
20
69
  eventType
21
70
  id
@@ -0,0 +1,98 @@
1
+ query GetTokenEventsForMaker(
2
+ $cursor: String
3
+ $direction: RankingDirection
4
+ $limit: Int
5
+ $query: MakerEventsQueryInput!
6
+ ) {
7
+ getTokenEventsForMaker(
8
+ cursor: $cursor
9
+ direction: $direction
10
+ limit: $limit
11
+ query: $query
12
+ ) {
13
+ cursor
14
+ items {
15
+ address
16
+ baseTokenPrice
17
+ blockHash
18
+ blockNumber
19
+ data {
20
+ ... on BurnEventData {
21
+ amount0
22
+ amount0Shifted
23
+ amount1
24
+ amount1Shifted
25
+ tickLower
26
+ tickUpper
27
+ type
28
+ }
29
+ ... on MintEventData {
30
+ amount0
31
+ amount0Shifted
32
+ amount1
33
+ amount1Shifted
34
+ tickLower
35
+ tickUpper
36
+ type
37
+ }
38
+ ... on PoolBalanceChangedEventData {
39
+ amount0
40
+ amount0Shifted
41
+ amount1
42
+ amount1Shifted
43
+ liquidity0
44
+ liquidity1
45
+ protocolFeeAmount0
46
+ protocolFeeAmount1
47
+ sender
48
+ token0
49
+ token1
50
+ type
51
+ }
52
+ ... on SwapEventData {
53
+ amount0
54
+ amount0In
55
+ amount0Out
56
+ amount1
57
+ amount1In
58
+ amount1Out
59
+ amountNonLiquidityToken
60
+ priceBaseToken
61
+ priceBaseTokenTotal
62
+ priceUsd
63
+ priceUsdTotal
64
+ tick
65
+ type
66
+ }
67
+ }
68
+ eventDisplayType
69
+ eventType
70
+ id
71
+ labels {
72
+ sandwich {
73
+ label
74
+ sandwichType
75
+ token0DrainedAmount
76
+ token1DrainedAmount
77
+ }
78
+ washtrade {
79
+ label
80
+ }
81
+ }
82
+ liquidityToken
83
+ logIndex
84
+ maker
85
+ networkId
86
+ quoteToken
87
+ timestamp
88
+ token0PoolValueUsd
89
+ token0SwapValueUsd
90
+ token0ValueBase
91
+ token1PoolValueUsd
92
+ token1SwapValueUsd
93
+ token1ValueBase
94
+ transactionHash
95
+ transactionIndex
96
+ }
97
+ }
98
+ }
@@ -5,6 +5,7 @@ query GetTokenInfo($address: String!, $networkId: Int!) {
5
5
  cmcId
6
6
  description
7
7
  id
8
+ imageBannerUrl
8
9
  imageLargeUrl
9
10
  imageSmallUrl
10
11
  imageThumbUrl
@@ -5,6 +5,7 @@ query GetTokensInfo($input: [GetTokensInfoInput!]!) {
5
5
  cmcId
6
6
  description
7
7
  id
8
+ imageBannerUrl
8
9
  imageLargeUrl
9
10
  imageSmallUrl
10
11
  imageThumbUrl