@codex-data/sdk 1.0.10 → 1.0.11

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 (74) hide show
  1. package/dist/resources/graphql.d.ts +174 -680
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js +65 -79
  4. package/dist/resources/graphql.js.map +1 -1
  5. package/dist/sdk/Query.d.ts +7 -2
  6. package/dist/sdk/Query.d.ts.map +1 -1
  7. package/dist/sdk/Query.js +6 -1
  8. package/dist/sdk/Query.js.map +1 -1
  9. package/dist/sdk/Subscribe.d.ts +1 -2
  10. package/dist/sdk/Subscribe.d.ts.map +1 -1
  11. package/dist/sdk/Subscribe.js +16 -23
  12. package/dist/sdk/Subscribe.js.map +1 -1
  13. package/dist/sdk/generated/gql.d.ts +135 -101
  14. package/dist/sdk/generated/gql.d.ts.map +1 -1
  15. package/dist/sdk/generated/gql.js +44 -40
  16. package/dist/sdk/generated/gql.js.map +1 -1
  17. package/dist/sdk/generated/graphql.d.ts +1612 -1105
  18. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  19. package/dist/sdk/generated/graphql.js +111 -121
  20. package/dist/sdk/generated/graphql.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/resources/generated_queries/Balances.graphql +15 -0
  23. package/src/resources/generated_queries/DetailedWalletStats.graphql +4 -0
  24. package/src/resources/generated_queries/FilterNetworkWallets.graphql +57 -0
  25. package/src/resources/generated_queries/FilterNftPoolCollections.graphql +8 -0
  26. package/src/resources/generated_queries/FilterNftPools.graphql +7 -0
  27. package/src/resources/generated_queries/FilterPairs.graphql +60 -0
  28. package/src/resources/generated_queries/FilterTokenWallets.graphql +16 -0
  29. package/src/resources/generated_queries/FilterTokens.graphql +47 -0
  30. package/src/resources/generated_queries/FilterWallets.graphql +1 -0
  31. package/src/resources/generated_queries/GetBars.graphql +31 -0
  32. package/src/resources/generated_queries/GetCommunityNotes.graphql +16 -0
  33. package/src/resources/generated_queries/GetDetailedPairStats.graphql +30 -0
  34. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +30 -0
  35. package/src/resources/generated_queries/GetDetailedStats.graphql +338 -0
  36. package/src/resources/generated_queries/GetLatestPairs.graphql +57 -0
  37. package/src/resources/generated_queries/GetLatestTokens.graphql +39 -0
  38. package/src/resources/generated_queries/GetNftEvents.graphql +9 -0
  39. package/src/resources/generated_queries/GetNftPool.graphql +2 -0
  40. package/src/resources/generated_queries/GetNftPoolCollection.graphql +8 -0
  41. package/src/resources/generated_queries/GetNftPoolCollectionsByExchange.graphql +8 -0
  42. package/src/resources/generated_queries/GetNftPoolEvents.graphql +2 -0
  43. package/src/resources/generated_queries/GetNftPoolsByCollectionAndExchange.graphql +2 -0
  44. package/src/resources/generated_queries/GetNftPoolsByOwner.graphql +2 -0
  45. package/src/resources/generated_queries/Holders.graphql +15 -0
  46. package/src/resources/generated_queries/LiquidityLocks.graphql +1 -0
  47. package/src/resources/generated_queries/ListPairsForToken.graphql +30 -0
  48. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +60 -0
  49. package/src/resources/generated_queries/ListTopTokens.graphql +55 -0
  50. package/src/resources/generated_queries/PairMetadata.graphql +30 -0
  51. package/src/resources/generated_queries/PrimeHolders.graphql +15 -0
  52. package/src/resources/generated_queries/SearchTokens.graphql +67 -0
  53. package/src/resources/generated_queries/Token.graphql +15 -0
  54. package/src/resources/generated_queries/Tokens.graphql +15 -0
  55. package/src/resources/generated_queries/WalletChart.graphql +1 -0
  56. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +15 -0
  57. package/src/resources/generated_subscriptions/OnBarsUpdated.graphql +2 -10
  58. package/src/resources/generated_subscriptions/OnDetailedStatsUpdated.graphql +1 -6
  59. package/src/resources/generated_subscriptions/OnEventsCreated.graphql +0 -2
  60. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +15 -0
  61. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +15 -0
  62. package/src/resources/generated_subscriptions/OnNftEventsCreated.graphql +9 -0
  63. package/src/resources/generated_subscriptions/OnNftPoolEventsCreated.graphql +2 -0
  64. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +32 -10
  65. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +2 -10
  66. package/src/resources/graphql.schema.json +491 -5183
  67. package/src/resources/graphql.ts +180 -742
  68. package/src/resources/schema.graphql +6749 -11057
  69. package/src/sdk/Query.ts +24 -5
  70. package/src/sdk/Subscribe.ts +16 -31
  71. package/src/sdk/generated/gql.ts +106 -86
  72. package/src/sdk/generated/graphql.ts +317 -841
  73. package/src/resources/generated_queries/GetSimulateTokenContractResults.graphql +0 -128
  74. package/src/resources/generated_subscriptions/OnSimulateTokenContract.graphql +0 -121
@@ -45,6 +45,7 @@ query GetCommunityNotes($input: CommunityNotesInput) {
45
45
  }
46
46
  ... on EnhancedToken {
47
47
  address
48
+ circulatingSupply
48
49
  cmcId
49
50
  createBlockNumber
50
51
  createTransactionHash
@@ -61,8 +62,19 @@ query GetCommunityNotes($input: CommunityNotesInput) {
61
62
  networkId
62
63
  tradeUrl
63
64
  }
65
+ explorerData {
66
+ blueCheckmark
67
+ description
68
+ divisor
69
+ id
70
+ tokenPriceUSD
71
+ tokenType
72
+ }
64
73
  freezable
65
74
  id
75
+ imageLargeUrl
76
+ imageSmallUrl
77
+ imageThumbUrl
66
78
  info {
67
79
  address
68
80
  circulatingSupply
@@ -91,11 +103,13 @@ query GetCommunityNotes($input: CommunityNotesInput) {
91
103
  migratedAt
92
104
  migratedPoolAddress
93
105
  migratedSlot
106
+ name
94
107
  poolAddress
95
108
  }
96
109
  mintable
97
110
  name
98
111
  networkId
112
+ pooled
99
113
  socialLinks {
100
114
  bitcointalk
101
115
  blog
@@ -118,6 +132,7 @@ query GetCommunityNotes($input: CommunityNotesInput) {
118
132
  youtube
119
133
  }
120
134
  symbol
135
+ totalSupply
121
136
  }
122
137
  }
123
138
  currentData
@@ -130,6 +145,7 @@ query GetCommunityNotes($input: CommunityNotesInput) {
130
145
  proposalType
131
146
  proposedAt
132
147
  sortKey
148
+ status
133
149
  }
134
150
  }
135
151
  }
@@ -34,6 +34,7 @@ query GetDetailedPairStats(
34
34
  token0
35
35
  token0Data {
36
36
  address
37
+ circulatingSupply
37
38
  cmcId
38
39
  createBlockNumber
39
40
  createTransactionHash
@@ -50,8 +51,19 @@ query GetDetailedPairStats(
50
51
  networkId
51
52
  tradeUrl
52
53
  }
54
+ explorerData {
55
+ blueCheckmark
56
+ description
57
+ divisor
58
+ id
59
+ tokenPriceUSD
60
+ tokenType
61
+ }
53
62
  freezable
54
63
  id
64
+ imageLargeUrl
65
+ imageSmallUrl
66
+ imageThumbUrl
55
67
  info {
56
68
  address
57
69
  circulatingSupply
@@ -80,11 +92,13 @@ query GetDetailedPairStats(
80
92
  migratedAt
81
93
  migratedPoolAddress
82
94
  migratedSlot
95
+ name
83
96
  poolAddress
84
97
  }
85
98
  mintable
86
99
  name
87
100
  networkId
101
+ pooled
88
102
  socialLinks {
89
103
  bitcointalk
90
104
  blog
@@ -107,10 +121,12 @@ query GetDetailedPairStats(
107
121
  youtube
108
122
  }
109
123
  symbol
124
+ totalSupply
110
125
  }
111
126
  token1
112
127
  token1Data {
113
128
  address
129
+ circulatingSupply
114
130
  cmcId
115
131
  createBlockNumber
116
132
  createTransactionHash
@@ -127,8 +143,19 @@ query GetDetailedPairStats(
127
143
  networkId
128
144
  tradeUrl
129
145
  }
146
+ explorerData {
147
+ blueCheckmark
148
+ description
149
+ divisor
150
+ id
151
+ tokenPriceUSD
152
+ tokenType
153
+ }
130
154
  freezable
131
155
  id
156
+ imageLargeUrl
157
+ imageSmallUrl
158
+ imageThumbUrl
132
159
  info {
133
160
  address
134
161
  circulatingSupply
@@ -157,11 +184,13 @@ query GetDetailedPairStats(
157
184
  migratedAt
158
185
  migratedPoolAddress
159
186
  migratedSlot
187
+ name
160
188
  poolAddress
161
189
  }
162
190
  mintable
163
191
  name
164
192
  networkId
193
+ pooled
165
194
  socialLinks {
166
195
  bitcointalk
167
196
  blog
@@ -184,6 +213,7 @@ query GetDetailedPairStats(
184
213
  youtube
185
214
  }
186
215
  symbol
216
+ totalSupply
187
217
  }
188
218
  }
189
219
  pairAddress
@@ -18,6 +18,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
18
18
  token0
19
19
  token0Data {
20
20
  address
21
+ circulatingSupply
21
22
  cmcId
22
23
  createBlockNumber
23
24
  createTransactionHash
@@ -34,8 +35,19 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
34
35
  networkId
35
36
  tradeUrl
36
37
  }
38
+ explorerData {
39
+ blueCheckmark
40
+ description
41
+ divisor
42
+ id
43
+ tokenPriceUSD
44
+ tokenType
45
+ }
37
46
  freezable
38
47
  id
48
+ imageLargeUrl
49
+ imageSmallUrl
50
+ imageThumbUrl
39
51
  info {
40
52
  address
41
53
  circulatingSupply
@@ -64,11 +76,13 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
64
76
  migratedAt
65
77
  migratedPoolAddress
66
78
  migratedSlot
79
+ name
67
80
  poolAddress
68
81
  }
69
82
  mintable
70
83
  name
71
84
  networkId
85
+ pooled
72
86
  socialLinks {
73
87
  bitcointalk
74
88
  blog
@@ -91,10 +105,12 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
91
105
  youtube
92
106
  }
93
107
  symbol
108
+ totalSupply
94
109
  }
95
110
  token1
96
111
  token1Data {
97
112
  address
113
+ circulatingSupply
98
114
  cmcId
99
115
  createBlockNumber
100
116
  createTransactionHash
@@ -111,8 +127,19 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
111
127
  networkId
112
128
  tradeUrl
113
129
  }
130
+ explorerData {
131
+ blueCheckmark
132
+ description
133
+ divisor
134
+ id
135
+ tokenPriceUSD
136
+ tokenType
137
+ }
114
138
  freezable
115
139
  id
140
+ imageLargeUrl
141
+ imageSmallUrl
142
+ imageThumbUrl
116
143
  info {
117
144
  address
118
145
  circulatingSupply
@@ -141,11 +168,13 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
141
168
  migratedAt
142
169
  migratedPoolAddress
143
170
  migratedSlot
171
+ name
144
172
  poolAddress
145
173
  }
146
174
  mintable
147
175
  name
148
176
  networkId
177
+ pooled
149
178
  socialLinks {
150
179
  bitcointalk
151
180
  blog
@@ -168,6 +197,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
168
197
  youtube
169
198
  }
170
199
  symbol
200
+ totalSupply
171
201
  }
172
202
  }
173
203
  pairAddress
@@ -0,0 +1,338 @@
1
+ query GetDetailedStats(
2
+ $bucketCount: Int
3
+ $pairId: String!
4
+ $statsType: TokenPairStatisticsType
5
+ $timestamp: Int
6
+ $tokenOfInterest: TokenOfInterest
7
+ $windowSizes: [DetailedStatsWindowSize]
8
+ ) {
9
+ getDetailedStats(
10
+ bucketCount: $bucketCount
11
+ pairId: $pairId
12
+ statsType: $statsType
13
+ timestamp: $timestamp
14
+ tokenOfInterest: $tokenOfInterest
15
+ windowSizes: $windowSizes
16
+ ) {
17
+ bucketCount
18
+ pairId
19
+ queryTimestamp
20
+ statsType
21
+ stats_day1 {
22
+ buckets {
23
+ end
24
+ start
25
+ }
26
+ buyVolume {
27
+ buckets
28
+ change
29
+ currentValue
30
+ previousValue
31
+ }
32
+ buyers {
33
+ buckets
34
+ change
35
+ currentValue
36
+ previousValue
37
+ }
38
+ buys {
39
+ buckets
40
+ change
41
+ currentValue
42
+ previousValue
43
+ }
44
+ endTimestamp
45
+ sellVolume {
46
+ buckets
47
+ change
48
+ currentValue
49
+ previousValue
50
+ }
51
+ sellers {
52
+ buckets
53
+ change
54
+ currentValue
55
+ previousValue
56
+ }
57
+ sells {
58
+ buckets
59
+ change
60
+ currentValue
61
+ previousValue
62
+ }
63
+ timestamp
64
+ traders {
65
+ buckets
66
+ change
67
+ currentValue
68
+ previousValue
69
+ }
70
+ transactions {
71
+ buckets
72
+ change
73
+ currentValue
74
+ previousValue
75
+ }
76
+ volume {
77
+ buckets
78
+ change
79
+ currentValue
80
+ previousValue
81
+ }
82
+ windowSize
83
+ }
84
+ stats_hour1 {
85
+ buckets {
86
+ end
87
+ start
88
+ }
89
+ buyVolume {
90
+ buckets
91
+ change
92
+ currentValue
93
+ previousValue
94
+ }
95
+ buyers {
96
+ buckets
97
+ change
98
+ currentValue
99
+ previousValue
100
+ }
101
+ buys {
102
+ buckets
103
+ change
104
+ currentValue
105
+ previousValue
106
+ }
107
+ endTimestamp
108
+ sellVolume {
109
+ buckets
110
+ change
111
+ currentValue
112
+ previousValue
113
+ }
114
+ sellers {
115
+ buckets
116
+ change
117
+ currentValue
118
+ previousValue
119
+ }
120
+ sells {
121
+ buckets
122
+ change
123
+ currentValue
124
+ previousValue
125
+ }
126
+ timestamp
127
+ traders {
128
+ buckets
129
+ change
130
+ currentValue
131
+ previousValue
132
+ }
133
+ transactions {
134
+ buckets
135
+ change
136
+ currentValue
137
+ previousValue
138
+ }
139
+ volume {
140
+ buckets
141
+ change
142
+ currentValue
143
+ previousValue
144
+ }
145
+ windowSize
146
+ }
147
+ stats_hour4 {
148
+ buckets {
149
+ end
150
+ start
151
+ }
152
+ buyVolume {
153
+ buckets
154
+ change
155
+ currentValue
156
+ previousValue
157
+ }
158
+ buyers {
159
+ buckets
160
+ change
161
+ currentValue
162
+ previousValue
163
+ }
164
+ buys {
165
+ buckets
166
+ change
167
+ currentValue
168
+ previousValue
169
+ }
170
+ endTimestamp
171
+ sellVolume {
172
+ buckets
173
+ change
174
+ currentValue
175
+ previousValue
176
+ }
177
+ sellers {
178
+ buckets
179
+ change
180
+ currentValue
181
+ previousValue
182
+ }
183
+ sells {
184
+ buckets
185
+ change
186
+ currentValue
187
+ previousValue
188
+ }
189
+ timestamp
190
+ traders {
191
+ buckets
192
+ change
193
+ currentValue
194
+ previousValue
195
+ }
196
+ transactions {
197
+ buckets
198
+ change
199
+ currentValue
200
+ previousValue
201
+ }
202
+ volume {
203
+ buckets
204
+ change
205
+ currentValue
206
+ previousValue
207
+ }
208
+ windowSize
209
+ }
210
+ stats_hour12 {
211
+ buckets {
212
+ end
213
+ start
214
+ }
215
+ buyVolume {
216
+ buckets
217
+ change
218
+ currentValue
219
+ previousValue
220
+ }
221
+ buyers {
222
+ buckets
223
+ change
224
+ currentValue
225
+ previousValue
226
+ }
227
+ buys {
228
+ buckets
229
+ change
230
+ currentValue
231
+ previousValue
232
+ }
233
+ endTimestamp
234
+ sellVolume {
235
+ buckets
236
+ change
237
+ currentValue
238
+ previousValue
239
+ }
240
+ sellers {
241
+ buckets
242
+ change
243
+ currentValue
244
+ previousValue
245
+ }
246
+ sells {
247
+ buckets
248
+ change
249
+ currentValue
250
+ previousValue
251
+ }
252
+ timestamp
253
+ traders {
254
+ buckets
255
+ change
256
+ currentValue
257
+ previousValue
258
+ }
259
+ transactions {
260
+ buckets
261
+ change
262
+ currentValue
263
+ previousValue
264
+ }
265
+ volume {
266
+ buckets
267
+ change
268
+ currentValue
269
+ previousValue
270
+ }
271
+ windowSize
272
+ }
273
+ stats_min5 {
274
+ buckets {
275
+ end
276
+ start
277
+ }
278
+ buyVolume {
279
+ buckets
280
+ change
281
+ currentValue
282
+ previousValue
283
+ }
284
+ buyers {
285
+ buckets
286
+ change
287
+ currentValue
288
+ previousValue
289
+ }
290
+ buys {
291
+ buckets
292
+ change
293
+ currentValue
294
+ previousValue
295
+ }
296
+ endTimestamp
297
+ sellVolume {
298
+ buckets
299
+ change
300
+ currentValue
301
+ previousValue
302
+ }
303
+ sellers {
304
+ buckets
305
+ change
306
+ currentValue
307
+ previousValue
308
+ }
309
+ sells {
310
+ buckets
311
+ change
312
+ currentValue
313
+ previousValue
314
+ }
315
+ timestamp
316
+ traders {
317
+ buckets
318
+ change
319
+ currentValue
320
+ previousValue
321
+ }
322
+ transactions {
323
+ buckets
324
+ change
325
+ currentValue
326
+ previousValue
327
+ }
328
+ volume {
329
+ buckets
330
+ change
331
+ currentValue
332
+ previousValue
333
+ }
334
+ windowSize
335
+ }
336
+ tokenOfInterest
337
+ }
338
+ }
@@ -0,0 +1,57 @@
1
+ query GetLatestPairs(
2
+ $cursor: String
3
+ $exchangeFilter: [String!]
4
+ $limit: Int
5
+ $minLiquidityFilter: Int
6
+ $networkFilter: [Int!]
7
+ ) {
8
+ getLatestPairs(
9
+ cursor: $cursor
10
+ exchangeFilter: $exchangeFilter
11
+ limit: $limit
12
+ minLiquidityFilter: $minLiquidityFilter
13
+ networkFilter: $networkFilter
14
+ ) {
15
+ cursor
16
+ items {
17
+ address
18
+ exchangeHash
19
+ id
20
+ initialPriceUsd
21
+ liquidAt
22
+ liquidity
23
+ liquidityToken
24
+ networkId
25
+ newToken
26
+ nonLiquidityToken
27
+ oldToken
28
+ priceChange
29
+ priceUsd
30
+ token0 {
31
+ address
32
+ currentPoolAmount
33
+ decimals
34
+ id
35
+ initialPoolAmount
36
+ name
37
+ networkId
38
+ pairId
39
+ poolVariation
40
+ symbol
41
+ }
42
+ token1 {
43
+ address
44
+ currentPoolAmount
45
+ decimals
46
+ id
47
+ initialPoolAmount
48
+ name
49
+ networkId
50
+ pairId
51
+ poolVariation
52
+ symbol
53
+ }
54
+ transactionHash
55
+ }
56
+ }
57
+ }
@@ -0,0 +1,39 @@
1
+ query GetLatestTokens($limit: Int, $networkFilter: [Int!], $offset: Int) {
2
+ getLatestTokens(
3
+ limit: $limit
4
+ networkFilter: $networkFilter
5
+ offset: $offset
6
+ ) {
7
+ items {
8
+ blockHash
9
+ blockNumber
10
+ creatorAddress
11
+ creatorBalance
12
+ decimals
13
+ id
14
+ networkId
15
+ simulationResults {
16
+ buyGasUsed
17
+ buySuccess
18
+ buyTax
19
+ canRenounceOwnership
20
+ canTransferOwnership
21
+ isOwnerRenounced
22
+ maxBuyAmount
23
+ maxSellAmount
24
+ openTradingCall
25
+ sellGasUsed
26
+ sellSuccess
27
+ sellTax
28
+ }
29
+ timeCreated
30
+ tokenAddress
31
+ tokenName
32
+ tokenSymbol
33
+ totalSupply
34
+ traceIndex
35
+ transactionHash
36
+ transactionIndex
37
+ }
38
+ }
39
+ }
@@ -23,17 +23,24 @@ query GetNftEvents(
23
23
  cursor
24
24
  items {
25
25
  aggregatorAddress
26
+ baseTokenAddress
27
+ baseTokenPrice
26
28
  blockNumber
27
29
  contractAddress
28
30
  eventType
29
31
  exchangeAddress
30
32
  fillSource
31
33
  id
34
+ individualBaseTokenPrice
35
+ individualNetworkBaseTokenPrice
36
+ individualPrice
32
37
  individualPriceNetworkBaseToken
33
38
  individualPriceUsd
39
+ individualTokenPrice
34
40
  individualTradePrice
35
41
  logIndex
36
42
  maker
43
+ networkBaseTokenPrice
37
44
  networkId
38
45
  numberOfTokens
39
46
  orderDirection
@@ -44,6 +51,8 @@ query GetNftEvents(
44
51
  taker
45
52
  timestamp
46
53
  tokenId
54
+ tokenPrice
55
+ totalPrice
47
56
  totalPriceNetworkBaseToken
48
57
  totalPriceUsd
49
58
  totalTradePrice
@@ -47,7 +47,9 @@ query GetNftPool($address: String!, $networkId: Int!) {
47
47
  tokenId
48
48
  uri
49
49
  }
50
+ nftBalance
50
51
  nftBalanceV2
52
+ nftVolumeAllTime
51
53
  nftVolumeAllTimeV2
52
54
  offerNBT
53
55
  offerT