@codex-data/sdk 1.0.32 → 1.0.35

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 (61) hide show
  1. package/dist/resources/graphql.d.ts +50 -40
  2. package/dist/resources/graphql.d.ts.map +1 -1
  3. package/dist/resources/graphql.js.map +1 -1
  4. package/dist/sdk/Mutation.d.ts +3 -3
  5. package/dist/sdk/Mutation.d.ts.map +1 -1
  6. package/dist/sdk/Mutation.js +3 -3
  7. package/dist/sdk/Mutation.js.map +1 -1
  8. package/dist/sdk/Query.d.ts +54 -51
  9. package/dist/sdk/Query.d.ts.map +1 -1
  10. package/dist/sdk/Query.js +53 -50
  11. package/dist/sdk/Query.js.map +1 -1
  12. package/dist/sdk/Subscribe.d.ts +16 -16
  13. package/dist/sdk/Subscribe.d.ts.map +1 -1
  14. package/dist/sdk/Subscribe.js +83 -83
  15. package/dist/sdk/Subscribe.js.map +1 -1
  16. package/dist/sdk/generated/gql.d.ts +63 -48
  17. package/dist/sdk/generated/gql.d.ts.map +1 -1
  18. package/dist/sdk/generated/gql.js +27 -24
  19. package/dist/sdk/generated/gql.js.map +1 -1
  20. package/dist/sdk/generated/graphql.d.ts +498 -57
  21. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  22. package/dist/sdk/generated/graphql.js +30 -27
  23. package/dist/sdk/generated/graphql.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/resources/generated_queries/Balances.graphql +3 -0
  26. package/src/resources/generated_queries/Blocks.graphql +7 -0
  27. package/src/resources/generated_queries/FilterPairs.graphql +14 -0
  28. package/src/resources/generated_queries/FilterTokens.graphql +20 -0
  29. package/src/resources/generated_queries/GetBars.graphql +8 -0
  30. package/src/resources/generated_queries/GetCommunityNotes.graphql +3 -0
  31. package/src/resources/generated_queries/GetDetailedPairStats.graphql +8 -0
  32. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +8 -0
  33. package/src/resources/generated_queries/GetNetworkConfigs.graphql +129 -0
  34. package/src/resources/generated_queries/GetTokenBars.graphql +122 -0
  35. package/src/resources/generated_queries/GetTokenPrices.graphql +1 -2
  36. package/src/resources/generated_queries/Holders.graphql +4 -0
  37. package/src/resources/generated_queries/ListPairsForToken.graphql +8 -0
  38. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +14 -0
  39. package/src/resources/generated_queries/PairMetadata.graphql +7 -4
  40. package/src/resources/generated_queries/PrimeHolders.graphql +3 -0
  41. package/src/resources/generated_queries/Token.graphql +3 -0
  42. package/src/resources/generated_queries/TokenSparklines.graphql +1 -0
  43. package/src/resources/generated_queries/Tokens.graphql +3 -0
  44. package/src/resources/generated_subscriptions/OnBalanceUpdated.graphql +3 -0
  45. package/src/resources/generated_subscriptions/OnHoldersUpdated.graphql +3 -0
  46. package/src/resources/generated_subscriptions/OnLaunchpadTokenEvent.graphql +3 -0
  47. package/src/resources/generated_subscriptions/OnPairMetadataUpdated.graphql +7 -4
  48. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +1 -2
  49. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -2
  50. package/src/resources/generated_subscriptions/OnTokenBarsUpdated.graphql +0 -3
  51. package/src/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +45 -0
  52. package/src/resources/graphql.schema.json +94 -187
  53. package/src/resources/graphql.ts +50 -43
  54. package/src/resources/networkConfigs.json +34 -3
  55. package/src/resources/queries_override/GetNetworkConfigs.graphql +129 -0
  56. package/src/resources/schema.graphql +41 -53
  57. package/src/sdk/Mutation.ts +7 -7
  58. package/src/sdk/Query.ts +120 -108
  59. package/src/sdk/Subscribe.ts +153 -153
  60. package/src/sdk/generated/gql.ts +90 -72
  61. package/src/sdk/generated/graphql.ts +130 -91
@@ -14,12 +14,14 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
14
14
  token0
15
15
  token1
16
16
  }
17
+ protocol
17
18
  protocolData {
18
19
  ... on ArenaTradeData {
19
20
  tokenId
20
21
  type
21
22
  }
22
23
  ... on UniswapV4Data {
24
+ isToken0NetworkToken
23
25
  type
24
26
  uniswapV4HookAddress
25
27
  }
@@ -63,6 +65,8 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
63
65
  symbol
64
66
  totalSupply
65
67
  }
68
+ isFreezableValid
69
+ isMintableValid
66
70
  isScam
67
71
  launchpad {
68
72
  completed
@@ -81,6 +85,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
81
85
  mintable
82
86
  name
83
87
  networkId
88
+ pairId
84
89
  socialLinks {
85
90
  bitcointalk
86
91
  blog
@@ -142,6 +147,8 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
142
147
  symbol
143
148
  totalSupply
144
149
  }
150
+ isFreezableValid
151
+ isMintableValid
145
152
  isScam
146
153
  launchpad {
147
154
  completed
@@ -160,6 +167,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
160
167
  mintable
161
168
  name
162
169
  networkId
170
+ pairId
163
171
  socialLinks {
164
172
  bitcointalk
165
173
  blog
@@ -46,6 +46,8 @@ query ListPairsWithMetadataForToken(
46
46
  symbol
47
47
  totalSupply
48
48
  }
49
+ isFreezableValid
50
+ isMintableValid
49
51
  isScam
50
52
  launchpad {
51
53
  completed
@@ -64,6 +66,7 @@ query ListPairsWithMetadataForToken(
64
66
  mintable
65
67
  name
66
68
  networkId
69
+ pairId
67
70
  socialLinks {
68
71
  bitcointalk
69
72
  blog
@@ -109,12 +112,14 @@ query ListPairsWithMetadataForToken(
109
112
  token0
110
113
  token1
111
114
  }
115
+ protocol
112
116
  protocolData {
113
117
  ... on ArenaTradeData {
114
118
  tokenId
115
119
  type
116
120
  }
117
121
  ... on UniswapV4Data {
122
+ isToken0NetworkToken
118
123
  type
119
124
  uniswapV4HookAddress
120
125
  }
@@ -158,6 +163,8 @@ query ListPairsWithMetadataForToken(
158
163
  symbol
159
164
  totalSupply
160
165
  }
166
+ isFreezableValid
167
+ isMintableValid
161
168
  isScam
162
169
  launchpad {
163
170
  completed
@@ -176,6 +183,7 @@ query ListPairsWithMetadataForToken(
176
183
  mintable
177
184
  name
178
185
  networkId
186
+ pairId
179
187
  socialLinks {
180
188
  bitcointalk
181
189
  blog
@@ -237,6 +245,8 @@ query ListPairsWithMetadataForToken(
237
245
  symbol
238
246
  totalSupply
239
247
  }
248
+ isFreezableValid
249
+ isMintableValid
240
250
  isScam
241
251
  launchpad {
242
252
  completed
@@ -255,6 +265,7 @@ query ListPairsWithMetadataForToken(
255
265
  mintable
256
266
  name
257
267
  networkId
268
+ pairId
258
269
  socialLinks {
259
270
  bitcointalk
260
271
  blog
@@ -317,6 +328,8 @@ query ListPairsWithMetadataForToken(
317
328
  symbol
318
329
  totalSupply
319
330
  }
331
+ isFreezableValid
332
+ isMintableValid
320
333
  isScam
321
334
  launchpad {
322
335
  completed
@@ -335,6 +348,7 @@ query ListPairsWithMetadataForToken(
335
348
  mintable
336
349
  name
337
350
  networkId
351
+ pairId
338
352
  socialLinks {
339
353
  bitcointalk
340
354
  blog
@@ -46,6 +46,8 @@ query PairMetadata(
46
46
  symbol
47
47
  totalSupply
48
48
  }
49
+ isFreezableValid
50
+ isMintableValid
49
51
  isScam
50
52
  launchpad {
51
53
  completed
@@ -64,6 +66,7 @@ query PairMetadata(
64
66
  mintable
65
67
  name
66
68
  networkId
69
+ pairId
67
70
  socialLinks {
68
71
  bitcointalk
69
72
  blog
@@ -124,6 +127,8 @@ query PairMetadata(
124
127
  symbol
125
128
  totalSupply
126
129
  }
130
+ isFreezableValid
131
+ isMintableValid
127
132
  isScam
128
133
  launchpad {
129
134
  completed
@@ -142,6 +147,7 @@ query PairMetadata(
142
147
  mintable
143
148
  name
144
149
  networkId
150
+ pairId
145
151
  socialLinks {
146
152
  bitcointalk
147
153
  blog
@@ -168,7 +174,6 @@ query PairMetadata(
168
174
  exchangeId
169
175
  fee
170
176
  highPrice1
171
- highPrice1w
172
177
  highPrice4
173
178
  highPrice5m
174
179
  highPrice12
@@ -177,7 +182,6 @@ query PairMetadata(
177
182
  liquidity
178
183
  liquidityToken
179
184
  lowPrice1
180
- lowPrice1w
181
185
  lowPrice4
182
186
  lowPrice5m
183
187
  lowPrice12
@@ -187,11 +191,11 @@ query PairMetadata(
187
191
  pairAddress
188
192
  price
189
193
  priceChange1
190
- priceChange1w
191
194
  priceChange4
192
195
  priceChange5m
193
196
  priceChange12
194
197
  priceChange24
198
+ priceNonQuoteToken
195
199
  quoteToken
196
200
  statsType
197
201
  tickSpacing
@@ -224,7 +228,6 @@ query PairMetadata(
224
228
  symbol
225
229
  }
226
230
  volume1
227
- volume1w
228
231
  volume4
229
232
  volume5m
230
233
  volume12
@@ -46,6 +46,8 @@ query PrimeHolders($cursor: String) {
46
46
  symbol
47
47
  totalSupply
48
48
  }
49
+ isFreezableValid
50
+ isMintableValid
49
51
  isScam
50
52
  launchpad {
51
53
  completed
@@ -64,6 +66,7 @@ query PrimeHolders($cursor: String) {
64
66
  mintable
65
67
  name
66
68
  networkId
69
+ pairId
67
70
  socialLinks {
68
71
  bitcointalk
69
72
  blog
@@ -36,6 +36,8 @@ query Token($input: TokenInput!) {
36
36
  symbol
37
37
  totalSupply
38
38
  }
39
+ isFreezableValid
40
+ isMintableValid
39
41
  isScam
40
42
  launchpad {
41
43
  completed
@@ -54,6 +56,7 @@ query Token($input: TokenInput!) {
54
56
  mintable
55
57
  name
56
58
  networkId
59
+ pairId
57
60
  socialLinks {
58
61
  bitcointalk
59
62
  blog
@@ -2,6 +2,7 @@ query TokenSparklines($input: TokenSparklineInput!) {
2
2
  tokenSparklines(input: $input) {
3
3
  attribute
4
4
  id
5
+ resolution
5
6
  sparkline {
6
7
  timestamp
7
8
  value
@@ -36,6 +36,8 @@ query Tokens($ids: [TokenInput!]) {
36
36
  symbol
37
37
  totalSupply
38
38
  }
39
+ isFreezableValid
40
+ isMintableValid
39
41
  isScam
40
42
  launchpad {
41
43
  completed
@@ -54,6 +56,7 @@ query Tokens($ids: [TokenInput!]) {
54
56
  mintable
55
57
  name
56
58
  networkId
59
+ pairId
57
60
  socialLinks {
58
61
  bitcointalk
59
62
  blog
@@ -43,6 +43,8 @@ subscription OnBalanceUpdated($walletAddress: String!) {
43
43
  symbol
44
44
  totalSupply
45
45
  }
46
+ isFreezableValid
47
+ isMintableValid
46
48
  isScam
47
49
  launchpad {
48
50
  completed
@@ -61,6 +63,7 @@ subscription OnBalanceUpdated($walletAddress: String!) {
61
63
  mintable
62
64
  name
63
65
  networkId
66
+ pairId
64
67
  socialLinks {
65
68
  bitcointalk
66
69
  blog
@@ -44,6 +44,8 @@ subscription OnHoldersUpdated($tokenId: String!) {
44
44
  symbol
45
45
  totalSupply
46
46
  }
47
+ isFreezableValid
48
+ isMintableValid
47
49
  isScam
48
50
  launchpad {
49
51
  completed
@@ -62,6 +64,7 @@ subscription OnHoldersUpdated($tokenId: String!) {
62
64
  mintable
63
65
  name
64
66
  networkId
67
+ pairId
65
68
  socialLinks {
66
69
  bitcointalk
67
70
  blog
@@ -48,6 +48,8 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
48
48
  symbol
49
49
  totalSupply
50
50
  }
51
+ isFreezableValid
52
+ isMintableValid
51
53
  isScam
52
54
  launchpad {
53
55
  completed
@@ -66,6 +68,7 @@ subscription OnLaunchpadTokenEvent($input: OnLaunchpadTokenEventInput) {
66
68
  mintable
67
69
  name
68
70
  networkId
71
+ pairId
69
72
  socialLinks {
70
73
  bitcointalk
71
74
  blog
@@ -38,6 +38,8 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
38
38
  symbol
39
39
  totalSupply
40
40
  }
41
+ isFreezableValid
42
+ isMintableValid
41
43
  isScam
42
44
  launchpad {
43
45
  completed
@@ -56,6 +58,7 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
56
58
  mintable
57
59
  name
58
60
  networkId
61
+ pairId
59
62
  socialLinks {
60
63
  bitcointalk
61
64
  blog
@@ -116,6 +119,8 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
116
119
  symbol
117
120
  totalSupply
118
121
  }
122
+ isFreezableValid
123
+ isMintableValid
119
124
  isScam
120
125
  launchpad {
121
126
  completed
@@ -134,6 +139,7 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
134
139
  mintable
135
140
  name
136
141
  networkId
142
+ pairId
137
143
  socialLinks {
138
144
  bitcointalk
139
145
  blog
@@ -160,7 +166,6 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
160
166
  exchangeId
161
167
  fee
162
168
  highPrice1
163
- highPrice1w
164
169
  highPrice4
165
170
  highPrice5m
166
171
  highPrice12
@@ -169,7 +174,6 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
169
174
  liquidity
170
175
  liquidityToken
171
176
  lowPrice1
172
- lowPrice1w
173
177
  lowPrice4
174
178
  lowPrice5m
175
179
  lowPrice12
@@ -179,11 +183,11 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
179
183
  pairAddress
180
184
  price
181
185
  priceChange1
182
- priceChange1w
183
186
  priceChange4
184
187
  priceChange5m
185
188
  priceChange12
186
189
  priceChange24
190
+ priceNonQuoteToken
187
191
  quoteToken
188
192
  statsType
189
193
  tickSpacing
@@ -216,7 +220,6 @@ subscription OnPairMetadataUpdated($id: String, $quoteToken: QuoteToken) {
216
220
  symbol
217
221
  }
218
222
  volume1
219
- volume1w
220
223
  volume4
221
224
  volume5m
222
225
  volume12
@@ -9,9 +9,8 @@ subscription OnPriceUpdated(
9
9
  sourcePairAddress: $sourcePairAddress
10
10
  ) {
11
11
  address
12
- confidence
12
+ internalPoolAddress
13
13
  networkId
14
- poolAddress
15
14
  priceUsd
16
15
  timestamp
17
16
  }
@@ -1,9 +1,8 @@
1
1
  subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
2
2
  onPricesUpdated(input: $input) {
3
3
  address
4
- confidence
4
+ internalPoolAddress
5
5
  networkId
6
- poolAddress
7
6
  priceUsd
8
7
  timestamp
9
8
  }
@@ -537,9 +537,6 @@ subscription OnTokenBarsUpdated($networkId: Int, $tokenId: String) {
537
537
  }
538
538
  eventSortKey
539
539
  networkId
540
- pairAddress
541
- pairId
542
- quoteToken
543
540
  statsType
544
541
  timestamp
545
542
  tokenAddress
@@ -13,6 +13,15 @@ subscription OnUnconfirmedBarsUpdated(
13
13
  v
14
14
  volume
15
15
  }
16
+ r1D {
17
+ c
18
+ h
19
+ l
20
+ o
21
+ t
22
+ v
23
+ volume
24
+ }
16
25
  r1S {
17
26
  c
18
27
  h
@@ -40,6 +49,15 @@ subscription OnUnconfirmedBarsUpdated(
40
49
  v
41
50
  volume
42
51
  }
52
+ r7D {
53
+ c
54
+ h
55
+ l
56
+ o
57
+ t
58
+ v
59
+ volume
60
+ }
43
61
  r15 {
44
62
  c
45
63
  h
@@ -58,6 +76,33 @@ subscription OnUnconfirmedBarsUpdated(
58
76
  v
59
77
  volume
60
78
  }
79
+ r60 {
80
+ c
81
+ h
82
+ l
83
+ o
84
+ t
85
+ v
86
+ volume
87
+ }
88
+ r240 {
89
+ c
90
+ h
91
+ l
92
+ o
93
+ t
94
+ v
95
+ volume
96
+ }
97
+ r720 {
98
+ c
99
+ h
100
+ l
101
+ o
102
+ t
103
+ v
104
+ volume
105
+ }
61
106
  }
62
107
  eventSortKey
63
108
  networkId