@codex-data/sdk 1.0.3 → 1.0.4

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 (80) hide show
  1. package/dist/resources/generated_queries/FilterPairs.graphql +44 -0
  2. package/dist/resources/generated_queries/FilterTokens.graphql +44 -0
  3. package/dist/resources/generated_queries/GetBars.graphql +165 -0
  4. package/dist/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  5. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  6. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  7. package/dist/resources/generated_queries/ListPairsForToken.graphql +22 -0
  8. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  9. package/dist/resources/generated_queries/PairMetadata.graphql +26 -0
  10. package/dist/resources/generated_queries/Token.graphql +11 -0
  11. package/dist/resources/generated_queries/Tokens.graphql +11 -0
  12. package/dist/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  13. package/dist/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
  14. package/dist/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  15. package/dist/resources/graphql.d.ts +202 -109
  16. package/dist/resources/graphql.d.ts.map +1 -1
  17. package/dist/resources/graphql.js +18 -1
  18. package/dist/resources/graphql.js.map +1 -1
  19. package/dist/resources/graphql.schema.json +863 -760
  20. package/dist/resources/graphql.ts +208 -124
  21. package/dist/resources/schema.graphql +312 -154
  22. package/dist/sdk/Mutation.d.ts +2 -2
  23. package/dist/sdk/Mutation.js +2 -2
  24. package/dist/sdk/Query.d.ts +48 -57
  25. package/dist/sdk/Query.d.ts.map +1 -1
  26. package/dist/sdk/Query.js +47 -56
  27. package/dist/sdk/Query.js.map +1 -1
  28. package/dist/sdk/Subscribe.d.ts +13 -12
  29. package/dist/sdk/Subscribe.d.ts.map +1 -1
  30. package/dist/sdk/Subscribe.js +68 -61
  31. package/dist/sdk/Subscribe.js.map +1 -1
  32. package/dist/sdk/generated/gql.d.ts +34 -101
  33. package/dist/sdk/generated/gql.d.ts.map +1 -1
  34. package/dist/sdk/generated/gql.js +14 -22
  35. package/dist/sdk/generated/gql.js.map +1 -1
  36. package/dist/sdk/generated/graphql.d.ts +784 -499
  37. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  38. package/dist/sdk/generated/graphql.js +34 -25
  39. package/dist/sdk/generated/graphql.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/resources/generated_queries/FilterPairs.graphql +44 -0
  42. package/src/resources/generated_queries/FilterTokens.graphql +44 -0
  43. package/src/resources/generated_queries/GetBars.graphql +165 -0
  44. package/src/resources/generated_queries/GetCommunityNotes.graphql +11 -0
  45. package/src/resources/generated_queries/GetDetailedPairStats.graphql +22 -0
  46. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +22 -0
  47. package/src/resources/generated_queries/ListPairsForToken.graphql +22 -0
  48. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +44 -0
  49. package/src/resources/generated_queries/PairMetadata.graphql +26 -0
  50. package/src/resources/generated_queries/Token.graphql +11 -0
  51. package/src/resources/generated_queries/Tokens.graphql +11 -0
  52. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  53. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +26 -0
  54. package/src/resources/generated_subscriptions/OnUnconfirmedEventsCreated.graphql +1 -0
  55. package/src/resources/graphql.schema.json +863 -760
  56. package/src/resources/graphql.ts +208 -124
  57. package/src/resources/schema.graphql +312 -154
  58. package/src/sdk/Mutation.ts +4 -4
  59. package/src/sdk/Query.ts +100 -136
  60. package/src/sdk/Subscribe.ts +112 -97
  61. package/src/sdk/generated/gql.ts +31 -71
  62. package/src/sdk/generated/graphql.ts +246 -233
  63. package/dist/resources/generated_queries/BackfillWalletState.graphql +0 -3
  64. package/dist/resources/generated_queries/GetLatestPairs.graphql +0 -57
  65. package/dist/resources/generated_queries/GetParallelAssets.graphql +0 -50
  66. package/dist/resources/generated_queries/GetTokenCount.graphql +0 -3
  67. package/dist/resources/generated_queries/GetTokenInfo.graphql +0 -18
  68. package/dist/resources/generated_queries/GetTokensInfo.graphql +0 -18
  69. package/dist/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  70. package/dist/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  71. package/dist/resources/generated_queries/PrimeBalance.graphql +0 -12
  72. package/src/resources/generated_queries/BackfillWalletState.graphql +0 -3
  73. package/src/resources/generated_queries/GetLatestPairs.graphql +0 -57
  74. package/src/resources/generated_queries/GetParallelAssets.graphql +0 -50
  75. package/src/resources/generated_queries/GetTokenCount.graphql +0 -3
  76. package/src/resources/generated_queries/GetTokenInfo.graphql +0 -18
  77. package/src/resources/generated_queries/GetTokensInfo.graphql +0 -18
  78. package/src/resources/generated_queries/GetUniV3Ticks.graphql +0 -22
  79. package/src/resources/generated_queries/ListFavoriteTokens.graphql +0 -59
  80. package/src/resources/generated_queries/PrimeBalance.graphql +0 -12
@@ -98,6 +98,17 @@ query FilterPairs(
98
98
  totalSupply
99
99
  }
100
100
  isScam
101
+ launchpad {
102
+ completed
103
+ completedAt
104
+ completedSlot
105
+ graduationPercent
106
+ migrated
107
+ migratedAt
108
+ migratedPoolAddress
109
+ migratedSlot
110
+ poolAddress
111
+ }
101
112
  mintable
102
113
  name
103
114
  networkId
@@ -162,6 +173,17 @@ query FilterPairs(
162
173
  totalSupply
163
174
  }
164
175
  isScam
176
+ launchpad {
177
+ completed
178
+ completedAt
179
+ completedSlot
180
+ graduationPercent
181
+ migrated
182
+ migratedAt
183
+ migratedPoolAddress
184
+ migratedSlot
185
+ poolAddress
186
+ }
165
187
  mintable
166
188
  name
167
189
  networkId
@@ -237,6 +259,17 @@ query FilterPairs(
237
259
  totalSupply
238
260
  }
239
261
  isScam
262
+ launchpad {
263
+ completed
264
+ completedAt
265
+ completedSlot
266
+ graduationPercent
267
+ migrated
268
+ migratedAt
269
+ migratedPoolAddress
270
+ migratedSlot
271
+ poolAddress
272
+ }
240
273
  mintable
241
274
  name
242
275
  networkId
@@ -300,6 +333,17 @@ query FilterPairs(
300
333
  totalSupply
301
334
  }
302
335
  isScam
336
+ launchpad {
337
+ completed
338
+ completedAt
339
+ completedSlot
340
+ graduationPercent
341
+ migrated
342
+ migratedAt
343
+ migratedPoolAddress
344
+ migratedSlot
345
+ poolAddress
346
+ }
303
347
  mintable
304
348
  name
305
349
  networkId
@@ -23,10 +23,12 @@ query FilterTokens(
23
23
  results {
24
24
  buyCount1
25
25
  buyCount4
26
+ buyCount5m
26
27
  buyCount12
27
28
  buyCount24
28
29
  change1
29
30
  change4
31
+ change5m
30
32
  change12
31
33
  change24
32
34
  createdAt
@@ -42,6 +44,7 @@ query FilterTokens(
42
44
  }
43
45
  high1
44
46
  high4
47
+ high5m
45
48
  high12
46
49
  high24
47
50
  holders
@@ -50,6 +53,7 @@ query FilterTokens(
50
53
  liquidity
51
54
  low1
52
55
  low4
56
+ low5m
53
57
  low12
54
58
  low24
55
59
  marketCap
@@ -103,6 +107,17 @@ query FilterTokens(
103
107
  totalSupply
104
108
  }
105
109
  isScam
110
+ launchpad {
111
+ completed
112
+ completedAt
113
+ completedSlot
114
+ graduationPercent
115
+ migrated
116
+ migratedAt
117
+ migratedPoolAddress
118
+ migratedSlot
119
+ poolAddress
120
+ }
106
121
  mintable
107
122
  name
108
123
  networkId
@@ -167,6 +182,17 @@ query FilterTokens(
167
182
  totalSupply
168
183
  }
169
184
  isScam
185
+ launchpad {
186
+ completed
187
+ completedAt
188
+ completedSlot
189
+ graduationPercent
190
+ migrated
191
+ migratedAt
192
+ migratedPoolAddress
193
+ migratedSlot
194
+ poolAddress
195
+ }
170
196
  mintable
171
197
  name
172
198
  networkId
@@ -198,6 +224,7 @@ query FilterTokens(
198
224
  quoteToken
199
225
  sellCount1
200
226
  sellCount4
227
+ sellCount5m
201
228
  sellCount12
202
229
  sellCount24
203
230
  token {
@@ -237,6 +264,17 @@ query FilterTokens(
237
264
  totalSupply
238
265
  }
239
266
  isScam
267
+ launchpad {
268
+ completed
269
+ completedAt
270
+ completedSlot
271
+ graduationPercent
272
+ migrated
273
+ migratedAt
274
+ migratedPoolAddress
275
+ migratedSlot
276
+ poolAddress
277
+ }
240
278
  mintable
241
279
  name
242
280
  networkId
@@ -265,26 +303,32 @@ query FilterTokens(
265
303
  }
266
304
  txnCount1
267
305
  txnCount4
306
+ txnCount5m
268
307
  txnCount12
269
308
  txnCount24
270
309
  uniqueBuys1
271
310
  uniqueBuys4
311
+ uniqueBuys5m
272
312
  uniqueBuys12
273
313
  uniqueBuys24
274
314
  uniqueSells1
275
315
  uniqueSells4
316
+ uniqueSells5m
276
317
  uniqueSells12
277
318
  uniqueSells24
278
319
  uniqueTransactions1
279
320
  uniqueTransactions4
321
+ uniqueTransactions5m
280
322
  uniqueTransactions12
281
323
  uniqueTransactions24
282
324
  volume1
283
325
  volume4
326
+ volume5m
284
327
  volume12
285
328
  volume24
286
329
  volumeChange1
287
330
  volumeChange4
331
+ volumeChange5m
288
332
  volumeChange12
289
333
  volumeChange24
290
334
  }
@@ -8,6 +8,7 @@ query GetBars(
8
8
  $resolution: String!
9
9
  $statsType: TokenPairStatisticsType
10
10
  $symbol: String!
11
+ $symbolType: SymbolType
11
12
  $to: Int!
12
13
  ) {
13
14
  getBars(
@@ -20,6 +21,7 @@ query GetBars(
20
21
  resolution: $resolution
21
22
  statsType: $statsType
22
23
  symbol: $symbol
24
+ symbolType: $symbolType
23
25
  to: $to
24
26
  ) {
25
27
  buyVolume
@@ -30,6 +32,169 @@ query GetBars(
30
32
  l
31
33
  liquidity
32
34
  o
35
+ pair {
36
+ address
37
+ createdAt
38
+ exchangeHash
39
+ fee
40
+ id
41
+ networkId
42
+ pooled {
43
+ token0
44
+ token1
45
+ }
46
+ tickSpacing
47
+ token0
48
+ token0Data {
49
+ address
50
+ cmcId
51
+ createBlockNumber
52
+ createTransactionHash
53
+ createdAt
54
+ creatorAddress
55
+ decimals
56
+ exchanges {
57
+ address
58
+ color
59
+ exchangeVersion
60
+ iconUrl
61
+ id
62
+ name
63
+ networkId
64
+ tradeUrl
65
+ }
66
+ freezable
67
+ id
68
+ info {
69
+ address
70
+ circulatingSupply
71
+ cmcId
72
+ description
73
+ id
74
+ imageBannerUrl
75
+ imageLargeUrl
76
+ imageSmallUrl
77
+ imageThumbUrl
78
+ isScam
79
+ name
80
+ networkId
81
+ symbol
82
+ totalSupply
83
+ }
84
+ isScam
85
+ launchpad {
86
+ completed
87
+ completedAt
88
+ completedSlot
89
+ graduationPercent
90
+ migrated
91
+ migratedAt
92
+ migratedPoolAddress
93
+ migratedSlot
94
+ poolAddress
95
+ }
96
+ mintable
97
+ name
98
+ networkId
99
+ socialLinks {
100
+ bitcointalk
101
+ blog
102
+ coingecko
103
+ coinmarketcap
104
+ discord
105
+ email
106
+ facebook
107
+ github
108
+ instagram
109
+ linkedin
110
+ reddit
111
+ slack
112
+ telegram
113
+ twitch
114
+ twitter
115
+ website
116
+ wechat
117
+ whitepaper
118
+ youtube
119
+ }
120
+ symbol
121
+ }
122
+ token1
123
+ token1Data {
124
+ address
125
+ cmcId
126
+ createBlockNumber
127
+ createTransactionHash
128
+ createdAt
129
+ creatorAddress
130
+ decimals
131
+ exchanges {
132
+ address
133
+ color
134
+ exchangeVersion
135
+ iconUrl
136
+ id
137
+ name
138
+ networkId
139
+ tradeUrl
140
+ }
141
+ freezable
142
+ id
143
+ info {
144
+ address
145
+ circulatingSupply
146
+ cmcId
147
+ description
148
+ id
149
+ imageBannerUrl
150
+ imageLargeUrl
151
+ imageSmallUrl
152
+ imageThumbUrl
153
+ isScam
154
+ name
155
+ networkId
156
+ symbol
157
+ totalSupply
158
+ }
159
+ isScam
160
+ launchpad {
161
+ completed
162
+ completedAt
163
+ completedSlot
164
+ graduationPercent
165
+ migrated
166
+ migratedAt
167
+ migratedPoolAddress
168
+ migratedSlot
169
+ poolAddress
170
+ }
171
+ mintable
172
+ name
173
+ networkId
174
+ socialLinks {
175
+ bitcointalk
176
+ blog
177
+ coingecko
178
+ coinmarketcap
179
+ discord
180
+ email
181
+ facebook
182
+ github
183
+ instagram
184
+ linkedin
185
+ reddit
186
+ slack
187
+ telegram
188
+ twitch
189
+ twitter
190
+ website
191
+ wechat
192
+ whitepaper
193
+ youtube
194
+ }
195
+ symbol
196
+ }
197
+ }
33
198
  s
34
199
  sellVolume
35
200
  sellers
@@ -80,6 +80,17 @@ query GetCommunityNotes($input: CommunityNotesInput) {
80
80
  totalSupply
81
81
  }
82
82
  isScam
83
+ launchpad {
84
+ completed
85
+ completedAt
86
+ completedSlot
87
+ graduationPercent
88
+ migrated
89
+ migratedAt
90
+ migratedPoolAddress
91
+ migratedSlot
92
+ poolAddress
93
+ }
83
94
  mintable
84
95
  name
85
96
  networkId
@@ -69,6 +69,17 @@ query GetDetailedPairStats(
69
69
  totalSupply
70
70
  }
71
71
  isScam
72
+ launchpad {
73
+ completed
74
+ completedAt
75
+ completedSlot
76
+ graduationPercent
77
+ migrated
78
+ migratedAt
79
+ migratedPoolAddress
80
+ migratedSlot
81
+ poolAddress
82
+ }
72
83
  mintable
73
84
  name
74
85
  networkId
@@ -133,6 +144,17 @@ query GetDetailedPairStats(
133
144
  totalSupply
134
145
  }
135
146
  isScam
147
+ launchpad {
148
+ completed
149
+ completedAt
150
+ completedSlot
151
+ graduationPercent
152
+ migrated
153
+ migratedAt
154
+ migratedPoolAddress
155
+ migratedSlot
156
+ poolAddress
157
+ }
136
158
  mintable
137
159
  name
138
160
  networkId
@@ -53,6 +53,17 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
53
53
  totalSupply
54
54
  }
55
55
  isScam
56
+ launchpad {
57
+ completed
58
+ completedAt
59
+ completedSlot
60
+ graduationPercent
61
+ migrated
62
+ migratedAt
63
+ migratedPoolAddress
64
+ migratedSlot
65
+ poolAddress
66
+ }
56
67
  mintable
57
68
  name
58
69
  networkId
@@ -117,6 +128,17 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
117
128
  totalSupply
118
129
  }
119
130
  isScam
131
+ launchpad {
132
+ completed
133
+ completedAt
134
+ completedSlot
135
+ graduationPercent
136
+ migrated
137
+ migratedAt
138
+ migratedPoolAddress
139
+ migratedSlot
140
+ poolAddress
141
+ }
120
142
  mintable
121
143
  name
122
144
  networkId
@@ -53,6 +53,17 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
53
53
  totalSupply
54
54
  }
55
55
  isScam
56
+ launchpad {
57
+ completed
58
+ completedAt
59
+ completedSlot
60
+ graduationPercent
61
+ migrated
62
+ migratedAt
63
+ migratedPoolAddress
64
+ migratedSlot
65
+ poolAddress
66
+ }
56
67
  mintable
57
68
  name
58
69
  networkId
@@ -117,6 +128,17 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
117
128
  totalSupply
118
129
  }
119
130
  isScam
131
+ launchpad {
132
+ completed
133
+ completedAt
134
+ completedSlot
135
+ graduationPercent
136
+ migrated
137
+ migratedAt
138
+ migratedPoolAddress
139
+ migratedSlot
140
+ poolAddress
141
+ }
120
142
  mintable
121
143
  name
122
144
  networkId
@@ -46,6 +46,17 @@ query ListPairsWithMetadataForToken(
46
46
  totalSupply
47
47
  }
48
48
  isScam
49
+ launchpad {
50
+ completed
51
+ completedAt
52
+ completedSlot
53
+ graduationPercent
54
+ migrated
55
+ migratedAt
56
+ migratedPoolAddress
57
+ migratedSlot
58
+ poolAddress
59
+ }
49
60
  mintable
50
61
  name
51
62
  networkId
@@ -133,6 +144,17 @@ query ListPairsWithMetadataForToken(
133
144
  totalSupply
134
145
  }
135
146
  isScam
147
+ launchpad {
148
+ completed
149
+ completedAt
150
+ completedSlot
151
+ graduationPercent
152
+ migrated
153
+ migratedAt
154
+ migratedPoolAddress
155
+ migratedSlot
156
+ poolAddress
157
+ }
136
158
  mintable
137
159
  name
138
160
  networkId
@@ -197,6 +219,17 @@ query ListPairsWithMetadataForToken(
197
219
  totalSupply
198
220
  }
199
221
  isScam
222
+ launchpad {
223
+ completed
224
+ completedAt
225
+ completedSlot
226
+ graduationPercent
227
+ migrated
228
+ migratedAt
229
+ migratedPoolAddress
230
+ migratedSlot
231
+ poolAddress
232
+ }
200
233
  mintable
201
234
  name
202
235
  networkId
@@ -262,6 +295,17 @@ query ListPairsWithMetadataForToken(
262
295
  totalSupply
263
296
  }
264
297
  isScam
298
+ launchpad {
299
+ completed
300
+ completedAt
301
+ completedSlot
302
+ graduationPercent
303
+ migrated
304
+ migratedAt
305
+ migratedPoolAddress
306
+ migratedSlot
307
+ poolAddress
308
+ }
265
309
  mintable
266
310
  name
267
311
  networkId
@@ -8,6 +8,7 @@ query PairMetadata(
8
8
  quoteToken: $quoteToken
9
9
  statsType: $statsType
10
10
  ) {
11
+ createdAt
11
12
  enhancedToken0 {
12
13
  address
13
14
  cmcId
@@ -45,6 +46,17 @@ query PairMetadata(
45
46
  totalSupply
46
47
  }
47
48
  isScam
49
+ launchpad {
50
+ completed
51
+ completedAt
52
+ completedSlot
53
+ graduationPercent
54
+ migrated
55
+ migratedAt
56
+ migratedPoolAddress
57
+ migratedSlot
58
+ poolAddress
59
+ }
48
60
  mintable
49
61
  name
50
62
  networkId
@@ -108,6 +120,17 @@ query PairMetadata(
108
120
  totalSupply
109
121
  }
110
122
  isScam
123
+ launchpad {
124
+ completed
125
+ completedAt
126
+ completedSlot
127
+ graduationPercent
128
+ migrated
129
+ migratedAt
130
+ migratedPoolAddress
131
+ migratedSlot
132
+ poolAddress
133
+ }
111
134
  mintable
112
135
  name
113
136
  networkId
@@ -139,6 +162,7 @@ query PairMetadata(
139
162
  highPrice1
140
163
  highPrice1w
141
164
  highPrice4
165
+ highPrice5m
142
166
  highPrice12
143
167
  highPrice24
144
168
  id
@@ -147,6 +171,7 @@ query PairMetadata(
147
171
  lowPrice1
148
172
  lowPrice1w
149
173
  lowPrice4
174
+ lowPrice5m
150
175
  lowPrice12
151
176
  lowPrice24
152
177
  networkId
@@ -193,6 +218,7 @@ query PairMetadata(
193
218
  volume1
194
219
  volume1w
195
220
  volume4
221
+ volume5m
196
222
  volume12
197
223
  volume24
198
224
  }
@@ -36,6 +36,17 @@ query Token($input: TokenInput!) {
36
36
  totalSupply
37
37
  }
38
38
  isScam
39
+ launchpad {
40
+ completed
41
+ completedAt
42
+ completedSlot
43
+ graduationPercent
44
+ migrated
45
+ migratedAt
46
+ migratedPoolAddress
47
+ migratedSlot
48
+ poolAddress
49
+ }
39
50
  mintable
40
51
  name
41
52
  networkId
@@ -36,6 +36,17 @@ query Tokens($ids: [TokenInput!]) {
36
36
  totalSupply
37
37
  }
38
38
  isScam
39
+ launchpad {
40
+ completed
41
+ completedAt
42
+ completedSlot
43
+ graduationPercent
44
+ migrated
45
+ migratedAt
46
+ migratedPoolAddress
47
+ migratedSlot
48
+ poolAddress
49
+ }
39
50
  mintable
40
51
  name
41
52
  networkId
@@ -0,0 +1,15 @@
1
+ subscription OnHoldersUpdated($tokenId: String!) {
2
+ onHoldersUpdated(tokenId: $tokenId) {
3
+ balances {
4
+ balance
5
+ firstHeldTimestamp
6
+ shiftedBalance
7
+ tokenId
8
+ walletId
9
+ }
10
+ holders
11
+ networkId
12
+ tokenAddress
13
+ tokenId
14
+ }
15
+ }