@codex-data/sdk 1.0.37 → 1.0.38

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 (135) hide show
  1. package/package.json +2 -3
  2. package/dist/scripts/buildSdk.d.ts +0 -2
  3. package/dist/scripts/buildSdk.d.ts.map +0 -1
  4. package/dist/scripts/buildSdk.js +0 -135
  5. package/dist/scripts/buildSdk.js.map +0 -1
  6. package/dist/scripts/generateGraphql.d.ts +0 -31
  7. package/dist/scripts/generateGraphql.d.ts.map +0 -1
  8. package/dist/scripts/generateGraphql.js +0 -224
  9. package/dist/scripts/generateGraphql.js.map +0 -1
  10. package/dist/scripts/generateNetworkConfigs.d.ts +0 -2
  11. package/dist/scripts/generateNetworkConfigs.d.ts.map +0 -1
  12. package/dist/scripts/generateNetworkConfigs.js +0 -248
  13. package/dist/scripts/generateNetworkConfigs.js.map +0 -1
  14. package/src/index.ts +0 -2
  15. package/src/resources/.keep +0 -0
  16. package/src/resources/generated_mutations/BackfillWalletAggregates.graphql +0 -6
  17. package/src/resources/generated_mutations/CreateApiTokens.graphql +0 -9
  18. package/src/resources/generated_mutations/CreateWebhooks.graphql +0 -472
  19. package/src/resources/generated_mutations/DeleteApiToken.graphql +0 -3
  20. package/src/resources/generated_mutations/DeleteWebhooks.graphql +0 -5
  21. package/src/resources/generated_queries/ApiToken.graphql +0 -9
  22. package/src/resources/generated_queries/ApiTokens.graphql +0 -9
  23. package/src/resources/generated_queries/Balances.graphql +0 -97
  24. package/src/resources/generated_queries/Blocks.graphql +0 -7
  25. package/src/resources/generated_queries/ChartUrls.graphql +0 -7
  26. package/src/resources/generated_queries/DetailedWalletStats.graphql +0 -197
  27. package/src/resources/generated_queries/FilterExchanges.graphql +0 -43
  28. package/src/resources/generated_queries/FilterNftCollections.graphql +0 -569
  29. package/src/resources/generated_queries/FilterNftParallelAssets.graphql +0 -60
  30. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +0 -71
  31. package/src/resources/generated_queries/FilterNftPools.graphql +0 -124
  32. package/src/resources/generated_queries/FilterPairs.graphql +0 -448
  33. package/src/resources/generated_queries/FilterTokenWallets.graphql +0 -144
  34. package/src/resources/generated_queries/FilterTokens.graphql +0 -579
  35. package/src/resources/generated_queries/FilterWallets.graphql +0 -57
  36. package/src/resources/generated_queries/GetBars.graphql +0 -233
  37. package/src/resources/generated_queries/GetCommunityNotes.graphql +0 -140
  38. package/src/resources/generated_queries/GetDetailedNftStats.graphql +0 -831
  39. package/src/resources/generated_queries/GetDetailedPairStats.graphql +0 -991
  40. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +0 -975
  41. package/src/resources/generated_queries/GetEventLabels.graphql +0 -35
  42. package/src/resources/generated_queries/GetExchanges.graphql +0 -12
  43. package/src/resources/generated_queries/GetNetworkConfigs.graphql +0 -129
  44. package/src/resources/generated_queries/GetNetworkStats.graphql +0 -20
  45. package/src/resources/generated_queries/GetNetworkStatus.graphql +0 -8
  46. package/src/resources/generated_queries/GetNetworks.graphql +0 -7
  47. package/src/resources/generated_queries/GetNftAssets.graphql +0 -59
  48. package/src/resources/generated_queries/GetNftCollectionMetadata.graphql +0 -75
  49. package/src/resources/generated_queries/GetNftContracts.graphql +0 -39
  50. package/src/resources/generated_queries/GetNftEvents.graphql +0 -100
  51. package/src/resources/generated_queries/GetNftPool.graphql +0 -74
  52. package/src/resources/generated_queries/GetNftPoolCollection.graphql +0 -33
  53. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +0 -38
  54. package/src/resources/generated_queries/GetNftPoolEvents.graphql +0 -416
  55. package/src/resources/generated_queries/GetNftPoolStats.graphql +0 -40
  56. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +0 -89
  57. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +0 -89
  58. package/src/resources/generated_queries/GetParallelCardChanges.graphql +0 -57
  59. package/src/resources/generated_queries/GetPrimePoolAssets.graphql +0 -32
  60. package/src/resources/generated_queries/GetPrimePoolEvents.graphql +0 -156
  61. package/src/resources/generated_queries/GetPrimePools.graphql +0 -62
  62. package/src/resources/generated_queries/GetSymbol.graphql +0 -11
  63. package/src/resources/generated_queries/GetTokenBars.graphql +0 -121
  64. package/src/resources/generated_queries/GetTokenEvents.graphql +0 -102
  65. package/src/resources/generated_queries/GetTokenEventsForMaker.graphql +0 -102
  66. package/src/resources/generated_queries/GetTokenPrices.graphql +0 -9
  67. package/src/resources/generated_queries/GetWebhooks.graphql +0 -134
  68. package/src/resources/generated_queries/Holders.graphql +0 -100
  69. package/src/resources/generated_queries/LiquidityLocks.graphql +0 -32
  70. package/src/resources/generated_queries/LiquidityMetadata.graphql +0 -17
  71. package/src/resources/generated_queries/LiquidityMetadataByToken.graphql +0 -19
  72. package/src/resources/generated_queries/ListPairsForToken.graphql +0 -194
  73. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +0 -375
  74. package/src/resources/generated_queries/NftHolders.graphql +0 -12
  75. package/src/resources/generated_queries/PairMetadata.graphql +0 -234
  76. package/src/resources/generated_queries/PrimeHolders.graphql +0 -98
  77. package/src/resources/generated_queries/SearchNfts.graphql +0 -35
  78. package/src/resources/generated_queries/Token.graphql +0 -82
  79. package/src/resources/generated_queries/TokenLifecycleEvents.graphql +0 -34
  80. package/src/resources/generated_queries/TokenSparklines.graphql +0 -11
  81. package/src/resources/generated_queries/TokenTopTraders.graphql +0 -26
  82. package/src/resources/generated_queries/Tokens.graphql +0 -82
  83. package/src/resources/generated_queries/Top10HoldersPercent.graphql +0 -3
  84. package/src/resources/generated_queries/WalletAggregateBackfillState.graphql +0 -6
  85. package/src/resources/generated_queries/WalletChart.graphql +0 -20
  86. package/src/resources/generated_queries/WalletNftCollectionAssets.graphql +0 -11
  87. package/src/resources/generated_queries/WalletNftCollections.graphql +0 -10
  88. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +0 -94
  89. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +0 -547
  90. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +0 -325
  91. package/src/resources/generated_subscriptions/OnEventLabelCreated.graphql +0 -22
  92. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -105
  93. package/src/resources/generated_subscriptions/OnEventsCreatedByMaker.graphql +0 -92
  94. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +0 -100
  95. package/src/resources/generated_subscriptions/OnLatestPairUpdated.graphql +0 -42
  96. package/src/resources/generated_subscriptions/OnLatestTokens.graphql +0 -37
  97. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +0 -104
  98. package/src/resources/generated_subscriptions/OnLaunchpadTokenEventBatch.graphql +0 -96
  99. package/src/resources/generated_subscriptions/OnNftAssetsCreated.graphql +0 -42
  100. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +0 -82
  101. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +0 -412
  102. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +0 -234
  103. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +0 -17
  104. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +0 -9
  105. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -545
  106. package/src/resources/generated_subscriptions/OnTokenEventsCreated.graphql +0 -92
  107. package/src/resources/generated_subscriptions/OnTokenLifecycleEventsCreated.graphql +0 -30
  108. package/src/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +0 -115
  109. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +0 -50
  110. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreatedByMaker.graphql +0 -41
  111. package/src/resources/graphql.schema.json +0 -63699
  112. package/src/resources/graphql.ts +0 -10477
  113. package/src/resources/mutations_override/CreateWebhooks.graphql +0 -472
  114. package/src/resources/networkConfigs.json +0 -3757
  115. package/src/resources/queries_override/FilterTokenWallets.graphql +0 -144
  116. package/src/resources/queries_override/GetEventLabels.graphql +0 -35
  117. package/src/resources/queries_override/GetNetworkConfigs.graphql +0 -129
  118. package/src/resources/queries_override/GetWebhooks.graphql +0 -134
  119. package/src/resources/schema.graphql +0 -9972
  120. package/src/resources/subscriptions_override/OnEventLabelCreated.graphql +0 -22
  121. package/src/resources/subscriptions_override/OnLaunchpadTokenEventBatch.graphql +0 -96
  122. package/src/scripts/buildSdk.ts +0 -173
  123. package/src/scripts/generateGraphql.ts +0 -305
  124. package/src/scripts/generateNetworkConfigs.ts +0 -250
  125. package/src/sdk/Mutation.ts +0 -29
  126. package/src/sdk/Query.ts +0 -285
  127. package/src/sdk/Subscribe.ts +0 -465
  128. package/src/sdk/generated/fragment-masking.ts +0 -87
  129. package/src/sdk/generated/gql.ts +0 -610
  130. package/src/sdk/generated/graphql.ts +0 -11417
  131. package/src/sdk/generated/index.ts +0 -2
  132. package/src/sdk/graphql/GetPairEvents.graphql +0 -71
  133. package/src/sdk/index.test.ts +0 -454
  134. package/src/sdk/index.ts +0 -239
  135. package/src/sdk/invariant.ts +0 -34
@@ -1,545 +0,0 @@
1
- subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
2
- onTokenBarsUpdated(networkId: $networkId, tokenId: $tokenId) {
3
- aggregates {
4
- r1 {
5
- t
6
- token {
7
- buyVolume
8
- buyers
9
- buys
10
- c
11
- h
12
- l
13
- liquidity
14
- o
15
- sellVolume
16
- sellers
17
- sells
18
- t
19
- traders
20
- transactions
21
- v
22
- volume
23
- volumeNativeToken
24
- }
25
- usd {
26
- buyVolume
27
- buyers
28
- buys
29
- c
30
- h
31
- l
32
- liquidity
33
- o
34
- sellVolume
35
- sellers
36
- sells
37
- t
38
- traders
39
- transactions
40
- v
41
- volume
42
- volumeNativeToken
43
- }
44
- }
45
- r1D {
46
- t
47
- token {
48
- buyVolume
49
- buyers
50
- buys
51
- c
52
- h
53
- l
54
- liquidity
55
- o
56
- sellVolume
57
- sellers
58
- sells
59
- t
60
- traders
61
- transactions
62
- v
63
- volume
64
- volumeNativeToken
65
- }
66
- usd {
67
- buyVolume
68
- buyers
69
- buys
70
- c
71
- h
72
- l
73
- liquidity
74
- o
75
- sellVolume
76
- sellers
77
- sells
78
- t
79
- traders
80
- transactions
81
- v
82
- volume
83
- volumeNativeToken
84
- }
85
- }
86
- r1S {
87
- t
88
- token {
89
- buyVolume
90
- buyers
91
- buys
92
- c
93
- h
94
- l
95
- liquidity
96
- o
97
- sellVolume
98
- sellers
99
- sells
100
- t
101
- traders
102
- transactions
103
- v
104
- volume
105
- volumeNativeToken
106
- }
107
- usd {
108
- buyVolume
109
- buyers
110
- buys
111
- c
112
- h
113
- l
114
- liquidity
115
- o
116
- sellVolume
117
- sellers
118
- sells
119
- t
120
- traders
121
- transactions
122
- v
123
- volume
124
- volumeNativeToken
125
- }
126
- }
127
- r5 {
128
- t
129
- token {
130
- buyVolume
131
- buyers
132
- buys
133
- c
134
- h
135
- l
136
- liquidity
137
- o
138
- sellVolume
139
- sellers
140
- sells
141
- t
142
- traders
143
- transactions
144
- v
145
- volume
146
- volumeNativeToken
147
- }
148
- usd {
149
- buyVolume
150
- buyers
151
- buys
152
- c
153
- h
154
- l
155
- liquidity
156
- o
157
- sellVolume
158
- sellers
159
- sells
160
- t
161
- traders
162
- transactions
163
- v
164
- volume
165
- volumeNativeToken
166
- }
167
- }
168
- r5S {
169
- t
170
- token {
171
- buyVolume
172
- buyers
173
- buys
174
- c
175
- h
176
- l
177
- liquidity
178
- o
179
- sellVolume
180
- sellers
181
- sells
182
- t
183
- traders
184
- transactions
185
- v
186
- volume
187
- volumeNativeToken
188
- }
189
- usd {
190
- buyVolume
191
- buyers
192
- buys
193
- c
194
- h
195
- l
196
- liquidity
197
- o
198
- sellVolume
199
- sellers
200
- sells
201
- t
202
- traders
203
- transactions
204
- v
205
- volume
206
- volumeNativeToken
207
- }
208
- }
209
- r7D {
210
- t
211
- token {
212
- buyVolume
213
- buyers
214
- buys
215
- c
216
- h
217
- l
218
- liquidity
219
- o
220
- sellVolume
221
- sellers
222
- sells
223
- t
224
- traders
225
- transactions
226
- v
227
- volume
228
- volumeNativeToken
229
- }
230
- usd {
231
- buyVolume
232
- buyers
233
- buys
234
- c
235
- h
236
- l
237
- liquidity
238
- o
239
- sellVolume
240
- sellers
241
- sells
242
- t
243
- traders
244
- transactions
245
- v
246
- volume
247
- volumeNativeToken
248
- }
249
- }
250
- r15 {
251
- t
252
- token {
253
- buyVolume
254
- buyers
255
- buys
256
- c
257
- h
258
- l
259
- liquidity
260
- o
261
- sellVolume
262
- sellers
263
- sells
264
- t
265
- traders
266
- transactions
267
- v
268
- volume
269
- volumeNativeToken
270
- }
271
- usd {
272
- buyVolume
273
- buyers
274
- buys
275
- c
276
- h
277
- l
278
- liquidity
279
- o
280
- sellVolume
281
- sellers
282
- sells
283
- t
284
- traders
285
- transactions
286
- v
287
- volume
288
- volumeNativeToken
289
- }
290
- }
291
- r15S {
292
- t
293
- token {
294
- buyVolume
295
- buyers
296
- buys
297
- c
298
- h
299
- l
300
- liquidity
301
- o
302
- sellVolume
303
- sellers
304
- sells
305
- t
306
- traders
307
- transactions
308
- v
309
- volume
310
- volumeNativeToken
311
- }
312
- usd {
313
- buyVolume
314
- buyers
315
- buys
316
- c
317
- h
318
- l
319
- liquidity
320
- o
321
- sellVolume
322
- sellers
323
- sells
324
- t
325
- traders
326
- transactions
327
- v
328
- volume
329
- volumeNativeToken
330
- }
331
- }
332
- r30 {
333
- t
334
- token {
335
- buyVolume
336
- buyers
337
- buys
338
- c
339
- h
340
- l
341
- liquidity
342
- o
343
- sellVolume
344
- sellers
345
- sells
346
- t
347
- traders
348
- transactions
349
- v
350
- volume
351
- volumeNativeToken
352
- }
353
- usd {
354
- buyVolume
355
- buyers
356
- buys
357
- c
358
- h
359
- l
360
- liquidity
361
- o
362
- sellVolume
363
- sellers
364
- sells
365
- t
366
- traders
367
- transactions
368
- v
369
- volume
370
- volumeNativeToken
371
- }
372
- }
373
- r30S {
374
- t
375
- token {
376
- buyVolume
377
- buyers
378
- buys
379
- c
380
- h
381
- l
382
- liquidity
383
- o
384
- sellVolume
385
- sellers
386
- sells
387
- t
388
- traders
389
- transactions
390
- v
391
- volume
392
- volumeNativeToken
393
- }
394
- usd {
395
- buyVolume
396
- buyers
397
- buys
398
- c
399
- h
400
- l
401
- liquidity
402
- o
403
- sellVolume
404
- sellers
405
- sells
406
- t
407
- traders
408
- transactions
409
- v
410
- volume
411
- volumeNativeToken
412
- }
413
- }
414
- r60 {
415
- t
416
- token {
417
- buyVolume
418
- buyers
419
- buys
420
- c
421
- h
422
- l
423
- liquidity
424
- o
425
- sellVolume
426
- sellers
427
- sells
428
- t
429
- traders
430
- transactions
431
- v
432
- volume
433
- volumeNativeToken
434
- }
435
- usd {
436
- buyVolume
437
- buyers
438
- buys
439
- c
440
- h
441
- l
442
- liquidity
443
- o
444
- sellVolume
445
- sellers
446
- sells
447
- t
448
- traders
449
- transactions
450
- v
451
- volume
452
- volumeNativeToken
453
- }
454
- }
455
- r240 {
456
- t
457
- token {
458
- buyVolume
459
- buyers
460
- buys
461
- c
462
- h
463
- l
464
- liquidity
465
- o
466
- sellVolume
467
- sellers
468
- sells
469
- t
470
- traders
471
- transactions
472
- v
473
- volume
474
- volumeNativeToken
475
- }
476
- usd {
477
- buyVolume
478
- buyers
479
- buys
480
- c
481
- h
482
- l
483
- liquidity
484
- o
485
- sellVolume
486
- sellers
487
- sells
488
- t
489
- traders
490
- transactions
491
- v
492
- volume
493
- volumeNativeToken
494
- }
495
- }
496
- r720 {
497
- t
498
- token {
499
- buyVolume
500
- buyers
501
- buys
502
- c
503
- h
504
- l
505
- liquidity
506
- o
507
- sellVolume
508
- sellers
509
- sells
510
- t
511
- traders
512
- transactions
513
- v
514
- volume
515
- volumeNativeToken
516
- }
517
- usd {
518
- buyVolume
519
- buyers
520
- buys
521
- c
522
- h
523
- l
524
- liquidity
525
- o
526
- sellVolume
527
- sellers
528
- sells
529
- t
530
- traders
531
- transactions
532
- v
533
- volume
534
- volumeNativeToken
535
- }
536
- }
537
- }
538
- eventSortKey
539
- networkId
540
- statsType
541
- timestamp
542
- tokenAddress
543
- tokenId
544
- }
545
- }
@@ -1,92 +0,0 @@
1
- subscription OnTokenEventsCreated($input: OnTokenEventsCreatedInput!) {
2
- onTokenEventsCreated(input: $input) {
3
- events {
4
- address
5
- baseTokenPrice
6
- blockHash
7
- blockNumber
8
- data {
9
- ... on BurnEventData {
10
- amount0
11
- amount0Shifted
12
- amount1
13
- amount1Shifted
14
- tickLower
15
- tickUpper
16
- type
17
- }
18
- ... on MintEventData {
19
- amount0
20
- amount0Shifted
21
- amount1
22
- amount1Shifted
23
- tickLower
24
- tickUpper
25
- type
26
- }
27
- ... on PoolBalanceChangedEventData {
28
- amount0
29
- amount0Shifted
30
- amount1
31
- amount1Shifted
32
- liquidity0
33
- liquidity1
34
- protocolFeeAmount0
35
- protocolFeeAmount1
36
- sender
37
- token0
38
- token1
39
- type
40
- }
41
- ... on SwapEventData {
42
- amount0
43
- amount0In
44
- amount0Out
45
- amount1
46
- amount1In
47
- amount1Out
48
- amountNonLiquidityToken
49
- priceBaseToken
50
- priceBaseTokenTotal
51
- priceUsd
52
- priceUsdTotal
53
- tick
54
- type
55
- }
56
- }
57
- eventDisplayType
58
- eventType
59
- id
60
- labels {
61
- sandwich {
62
- label
63
- sandwichType
64
- token0DrainedAmount
65
- token1DrainedAmount
66
- }
67
- washtrade {
68
- label
69
- }
70
- }
71
- liquidityToken
72
- logIndex
73
- maker
74
- networkId
75
- quoteToken
76
- timestamp
77
- token0Address
78
- token0PoolValueUsd
79
- token0SwapValueUsd
80
- token0ValueBase
81
- token1Address
82
- token1PoolValueUsd
83
- token1SwapValueUsd
84
- token1ValueBase
85
- transactionHash
86
- transactionIndex
87
- walletAge
88
- walletLabels
89
- }
90
- id
91
- }
92
- }
@@ -1,30 +0,0 @@
1
- subscription OnTokenLifecycleEventsCreated($address: String, $networkId: Int) {
2
- onTokenLifecycleEventsCreated(address: $address, networkId: $networkId) {
3
- events {
4
- blockHash
5
- blockNumber
6
- data {
7
- ... on TokenBurnEventData {
8
- amount
9
- circulatingSupply
10
- totalSupply
11
- }
12
- ... on TokenMintEventData {
13
- amount
14
- circulatingSupply
15
- totalSupply
16
- }
17
- }
18
- eventType
19
- id
20
- logIndex
21
- maker
22
- networkId
23
- timestamp
24
- tokenAddress
25
- transactionHash
26
- transactionIndex
27
- }
28
- id
29
- }
30
- }