@codex-data/sdk 1.0.0-rc3 → 1.0.1

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 (59) hide show
  1. package/dist/resources/generated_queries/FilterPairs.graphql +8 -0
  2. package/dist/resources/generated_queries/FilterTokens.graphql +6 -0
  3. package/dist/resources/generated_queries/GetCommunityNotes.graphql +2 -0
  4. package/dist/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
  5. package/dist/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
  6. package/dist/resources/generated_queries/GetTokenPrices.graphql +1 -0
  7. package/dist/resources/generated_queries/ListPairsForToken.graphql +4 -0
  8. package/dist/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
  9. package/dist/resources/generated_queries/Token.graphql +2 -0
  10. package/dist/resources/generated_queries/Tokens.graphql +2 -0
  11. package/dist/resources/generated_subscriptions/OnPriceUpdated.graphql +11 -2
  12. package/dist/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -0
  13. package/dist/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +70 -0
  14. package/dist/resources/graphql.d.ts +84 -0
  15. package/dist/resources/graphql.d.ts.map +1 -1
  16. package/dist/resources/graphql.js.map +1 -1
  17. package/dist/resources/graphql.schema.json +550 -1
  18. package/dist/resources/graphql.ts +91 -0
  19. package/dist/resources/schema.graphql +120 -1
  20. package/dist/sdk/Mutation.d.ts +2 -2
  21. package/dist/sdk/Mutation.js +2 -2
  22. package/dist/sdk/Query.d.ts +53 -53
  23. package/dist/sdk/Query.d.ts.map +1 -1
  24. package/dist/sdk/Query.js +53 -53
  25. package/dist/sdk/Query.js.map +1 -1
  26. package/dist/sdk/Subscribe.d.ts +13 -12
  27. package/dist/sdk/Subscribe.d.ts.map +1 -1
  28. package/dist/sdk/Subscribe.js +61 -54
  29. package/dist/sdk/Subscribe.js.map +1 -1
  30. package/dist/sdk/generated/gql.d.ts +33 -24
  31. package/dist/sdk/generated/gql.d.ts.map +1 -1
  32. package/dist/sdk/generated/gql.js +13 -12
  33. package/dist/sdk/generated/gql.js.map +1 -1
  34. package/dist/sdk/generated/graphql.d.ts +213 -0
  35. package/dist/sdk/generated/graphql.d.ts.map +1 -1
  36. package/dist/sdk/generated/graphql.js +14 -13
  37. package/dist/sdk/generated/graphql.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/resources/generated_queries/FilterPairs.graphql +8 -0
  40. package/src/resources/generated_queries/FilterTokens.graphql +6 -0
  41. package/src/resources/generated_queries/GetCommunityNotes.graphql +2 -0
  42. package/src/resources/generated_queries/GetDetailedPairStats.graphql +4 -0
  43. package/src/resources/generated_queries/GetDetailedPairsStats.graphql +4 -0
  44. package/src/resources/generated_queries/GetTokenPrices.graphql +1 -0
  45. package/src/resources/generated_queries/ListPairsForToken.graphql +4 -0
  46. package/src/resources/generated_queries/ListPairsWithMetadataForToken.graphql +8 -0
  47. package/src/resources/generated_queries/Token.graphql +2 -0
  48. package/src/resources/generated_queries/Tokens.graphql +2 -0
  49. package/src/resources/generated_subscriptions/OnPriceUpdated.graphql +11 -2
  50. package/src/resources/generated_subscriptions/OnPricesUpdated.graphql +1 -0
  51. package/src/resources/generated_subscriptions/OnUnconfirmedBarsUpdated.graphql +70 -0
  52. package/src/resources/graphql.schema.json +550 -1
  53. package/src/resources/graphql.ts +91 -0
  54. package/src/resources/schema.graphql +120 -1
  55. package/src/sdk/Mutation.ts +4 -4
  56. package/src/sdk/Query.ts +111 -111
  57. package/src/sdk/Subscribe.ts +100 -85
  58. package/src/sdk/generated/gql.ts +29 -24
  59. package/src/sdk/generated/graphql.ts +125 -24
@@ -79,6 +79,7 @@ query FilterPairs(
79
79
  networkId
80
80
  tradeUrl
81
81
  }
82
+ freezable
82
83
  id
83
84
  info {
84
85
  address
@@ -97,6 +98,7 @@ query FilterPairs(
97
98
  totalSupply
98
99
  }
99
100
  isScam
101
+ mintable
100
102
  name
101
103
  networkId
102
104
  socialLinks {
@@ -141,6 +143,7 @@ query FilterPairs(
141
143
  networkId
142
144
  tradeUrl
143
145
  }
146
+ freezable
144
147
  id
145
148
  info {
146
149
  address
@@ -159,6 +162,7 @@ query FilterPairs(
159
162
  totalSupply
160
163
  }
161
164
  isScam
165
+ mintable
162
166
  name
163
167
  networkId
164
168
  socialLinks {
@@ -214,6 +218,7 @@ query FilterPairs(
214
218
  networkId
215
219
  tradeUrl
216
220
  }
221
+ freezable
217
222
  id
218
223
  info {
219
224
  address
@@ -232,6 +237,7 @@ query FilterPairs(
232
237
  totalSupply
233
238
  }
234
239
  isScam
240
+ mintable
235
241
  name
236
242
  networkId
237
243
  socialLinks {
@@ -275,6 +281,7 @@ query FilterPairs(
275
281
  networkId
276
282
  tradeUrl
277
283
  }
284
+ freezable
278
285
  id
279
286
  info {
280
287
  address
@@ -293,6 +300,7 @@ query FilterPairs(
293
300
  totalSupply
294
301
  }
295
302
  isScam
303
+ mintable
296
304
  name
297
305
  networkId
298
306
  socialLinks {
@@ -84,6 +84,7 @@ query FilterTokens(
84
84
  networkId
85
85
  tradeUrl
86
86
  }
87
+ freezable
87
88
  id
88
89
  info {
89
90
  address
@@ -102,6 +103,7 @@ query FilterTokens(
102
103
  totalSupply
103
104
  }
104
105
  isScam
106
+ mintable
105
107
  name
106
108
  networkId
107
109
  socialLinks {
@@ -146,6 +148,7 @@ query FilterTokens(
146
148
  networkId
147
149
  tradeUrl
148
150
  }
151
+ freezable
149
152
  id
150
153
  info {
151
154
  address
@@ -164,6 +167,7 @@ query FilterTokens(
164
167
  totalSupply
165
168
  }
166
169
  isScam
170
+ mintable
167
171
  name
168
172
  networkId
169
173
  socialLinks {
@@ -214,6 +218,7 @@ query FilterTokens(
214
218
  networkId
215
219
  tradeUrl
216
220
  }
221
+ freezable
217
222
  id
218
223
  info {
219
224
  address
@@ -232,6 +237,7 @@ query FilterTokens(
232
237
  totalSupply
233
238
  }
234
239
  isScam
240
+ mintable
235
241
  name
236
242
  networkId
237
243
  socialLinks {
@@ -61,6 +61,7 @@ query GetCommunityNotes($input: CommunityNotesInput) {
61
61
  networkId
62
62
  tradeUrl
63
63
  }
64
+ freezable
64
65
  id
65
66
  info {
66
67
  address
@@ -79,6 +80,7 @@ query GetCommunityNotes($input: CommunityNotesInput) {
79
80
  totalSupply
80
81
  }
81
82
  isScam
83
+ mintable
82
84
  name
83
85
  networkId
84
86
  socialLinks {
@@ -50,6 +50,7 @@ query GetDetailedPairStats(
50
50
  networkId
51
51
  tradeUrl
52
52
  }
53
+ freezable
53
54
  id
54
55
  info {
55
56
  address
@@ -68,6 +69,7 @@ query GetDetailedPairStats(
68
69
  totalSupply
69
70
  }
70
71
  isScam
72
+ mintable
71
73
  name
72
74
  networkId
73
75
  socialLinks {
@@ -112,6 +114,7 @@ query GetDetailedPairStats(
112
114
  networkId
113
115
  tradeUrl
114
116
  }
117
+ freezable
115
118
  id
116
119
  info {
117
120
  address
@@ -130,6 +133,7 @@ query GetDetailedPairStats(
130
133
  totalSupply
131
134
  }
132
135
  isScam
136
+ mintable
133
137
  name
134
138
  networkId
135
139
  socialLinks {
@@ -34,6 +34,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
34
34
  networkId
35
35
  tradeUrl
36
36
  }
37
+ freezable
37
38
  id
38
39
  info {
39
40
  address
@@ -52,6 +53,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
52
53
  totalSupply
53
54
  }
54
55
  isScam
56
+ mintable
55
57
  name
56
58
  networkId
57
59
  socialLinks {
@@ -96,6 +98,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
96
98
  networkId
97
99
  tradeUrl
98
100
  }
101
+ freezable
99
102
  id
100
103
  info {
101
104
  address
@@ -114,6 +117,7 @@ query GetDetailedPairsStats($input: [GetDetailedPairsStatsInput!]!) {
114
117
  totalSupply
115
118
  }
116
119
  isScam
120
+ mintable
117
121
  name
118
122
  networkId
119
123
  socialLinks {
@@ -3,6 +3,7 @@ query GetTokenPrices($inputs: [GetPriceInput]) {
3
3
  address
4
4
  confidence
5
5
  networkId
6
+ poolAddress
6
7
  priceUsd
7
8
  timestamp
8
9
  }
@@ -34,6 +34,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
34
34
  networkId
35
35
  tradeUrl
36
36
  }
37
+ freezable
37
38
  id
38
39
  info {
39
40
  address
@@ -52,6 +53,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
52
53
  totalSupply
53
54
  }
54
55
  isScam
56
+ mintable
55
57
  name
56
58
  networkId
57
59
  socialLinks {
@@ -96,6 +98,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
96
98
  networkId
97
99
  tradeUrl
98
100
  }
101
+ freezable
99
102
  id
100
103
  info {
101
104
  address
@@ -114,6 +117,7 @@ query ListPairsForToken($limit: Int, $networkId: Int!, $tokenAddress: String!) {
114
117
  totalSupply
115
118
  }
116
119
  isScam
120
+ mintable
117
121
  name
118
122
  networkId
119
123
  socialLinks {
@@ -27,6 +27,7 @@ query ListPairsWithMetadataForToken(
27
27
  networkId
28
28
  tradeUrl
29
29
  }
30
+ freezable
30
31
  id
31
32
  info {
32
33
  address
@@ -45,6 +46,7 @@ query ListPairsWithMetadataForToken(
45
46
  totalSupply
46
47
  }
47
48
  isScam
49
+ mintable
48
50
  name
49
51
  networkId
50
52
  socialLinks {
@@ -112,6 +114,7 @@ query ListPairsWithMetadataForToken(
112
114
  networkId
113
115
  tradeUrl
114
116
  }
117
+ freezable
115
118
  id
116
119
  info {
117
120
  address
@@ -130,6 +133,7 @@ query ListPairsWithMetadataForToken(
130
133
  totalSupply
131
134
  }
132
135
  isScam
136
+ mintable
133
137
  name
134
138
  networkId
135
139
  socialLinks {
@@ -174,6 +178,7 @@ query ListPairsWithMetadataForToken(
174
178
  networkId
175
179
  tradeUrl
176
180
  }
181
+ freezable
177
182
  id
178
183
  info {
179
184
  address
@@ -192,6 +197,7 @@ query ListPairsWithMetadataForToken(
192
197
  totalSupply
193
198
  }
194
199
  isScam
200
+ mintable
195
201
  name
196
202
  networkId
197
203
  socialLinks {
@@ -237,6 +243,7 @@ query ListPairsWithMetadataForToken(
237
243
  networkId
238
244
  tradeUrl
239
245
  }
246
+ freezable
240
247
  id
241
248
  info {
242
249
  address
@@ -255,6 +262,7 @@ query ListPairsWithMetadataForToken(
255
262
  totalSupply
256
263
  }
257
264
  isScam
265
+ mintable
258
266
  name
259
267
  networkId
260
268
  socialLinks {
@@ -17,6 +17,7 @@ query Token($input: TokenInput!) {
17
17
  networkId
18
18
  tradeUrl
19
19
  }
20
+ freezable
20
21
  id
21
22
  info {
22
23
  address
@@ -35,6 +36,7 @@ query Token($input: TokenInput!) {
35
36
  totalSupply
36
37
  }
37
38
  isScam
39
+ mintable
38
40
  name
39
41
  networkId
40
42
  socialLinks {
@@ -17,6 +17,7 @@ query Tokens($ids: [TokenInput!]) {
17
17
  networkId
18
18
  tradeUrl
19
19
  }
20
+ freezable
20
21
  id
21
22
  info {
22
23
  address
@@ -35,6 +36,7 @@ query Tokens($ids: [TokenInput!]) {
35
36
  totalSupply
36
37
  }
37
38
  isScam
39
+ mintable
38
40
  name
39
41
  networkId
40
42
  socialLinks {
@@ -1,8 +1,17 @@
1
- subscription OnPriceUpdated($address: String, $networkId: Int) {
2
- onPriceUpdated(address: $address, networkId: $networkId) {
1
+ subscription OnPriceUpdated(
2
+ $address: String
3
+ $networkId: Int
4
+ $sourcePairAddress: String
5
+ ) {
6
+ onPriceUpdated(
7
+ address: $address
8
+ networkId: $networkId
9
+ sourcePairAddress: $sourcePairAddress
10
+ ) {
3
11
  address
4
12
  confidence
5
13
  networkId
14
+ poolAddress
6
15
  priceUsd
7
16
  timestamp
8
17
  }
@@ -3,6 +3,7 @@ subscription OnPricesUpdated($input: [OnPricesUpdatedInput!]!) {
3
3
  address
4
4
  confidence
5
5
  networkId
6
+ poolAddress
6
7
  priceUsd
7
8
  timestamp
8
9
  }
@@ -0,0 +1,70 @@
1
+ subscription OnUnconfirmedBarsUpdated(
2
+ $pairId: String
3
+ $quoteToken: QuoteToken
4
+ ) {
5
+ onUnconfirmedBarsUpdated(pairId: $pairId, quoteToken: $quoteToken) {
6
+ aggregates {
7
+ r1 {
8
+ c
9
+ h
10
+ l
11
+ o
12
+ t
13
+ v
14
+ volume
15
+ }
16
+ r1S {
17
+ c
18
+ h
19
+ l
20
+ o
21
+ t
22
+ v
23
+ volume
24
+ }
25
+ r5 {
26
+ c
27
+ h
28
+ l
29
+ o
30
+ t
31
+ v
32
+ volume
33
+ }
34
+ r5S {
35
+ c
36
+ h
37
+ l
38
+ o
39
+ t
40
+ v
41
+ volume
42
+ }
43
+ r15 {
44
+ c
45
+ h
46
+ l
47
+ o
48
+ t
49
+ v
50
+ volume
51
+ }
52
+ r15S {
53
+ c
54
+ h
55
+ l
56
+ o
57
+ t
58
+ v
59
+ volume
60
+ }
61
+ }
62
+ eventSortKey
63
+ networkId
64
+ pairAddress
65
+ pairId
66
+ quoteToken
67
+ quoteTokenAddress
68
+ timestamp
69
+ }
70
+ }
@@ -121,6 +121,10 @@ export type AddUnconfirmedEventsOutput = {
121
121
  /** The token of interest within the pair. Can be `token0` or `token1`. */
122
122
  quoteToken?: Maybe<QuoteToken>;
123
123
  };
124
+ export type AddUserAchievementInput = {
125
+ quantity: Scalars['Int']['input'];
126
+ userId: Scalars['String']['input'];
127
+ };
124
128
  export declare enum AlertRecurrence {
125
129
  Indefinite = "INDEFINITE",
126
130
  Once = "ONCE"
@@ -157,6 +161,8 @@ export type BalancesInput = {
157
161
  cursor?: InputMaybe<Scalars['String']['input']>;
158
162
  /** Optional token specifically request the balance for */
159
163
  filterToken?: InputMaybe<Scalars['String']['input']>;
164
+ /** If set to true, native tokens in the response, they will have the id: native:<networkId> */
165
+ includeNative?: InputMaybe<Scalars['Boolean']['input']>;
160
166
  /** The ID of the wallet (`walletAddress:networkId`). */
161
167
  walletId: Scalars['String']['input'];
162
168
  };
@@ -741,6 +747,8 @@ export type EnhancedToken = {
741
747
  * @deprecated Use the TokenInfo type
742
748
  */
743
749
  explorerData?: Maybe<ExplorerTokenData>;
750
+ /** Whether or not the token is freezable */
751
+ freezable?: Maybe<Scalars['String']['output']>;
744
752
  /** The ID of the token (`address:networkId`). */
745
753
  id: Scalars['String']['output'];
746
754
  /**
@@ -762,6 +770,8 @@ export type EnhancedToken = {
762
770
  info?: Maybe<TokenInfo>;
763
771
  /** Whether the token has been flagged as a scam. */
764
772
  isScam?: Maybe<Scalars['Boolean']['output']>;
773
+ /** Whether or not the token is mintable */
774
+ mintable?: Maybe<Scalars['String']['output']>;
765
775
  /** The token name. For example, `ApeCoin`. */
766
776
  name?: Maybe<Scalars['String']['output']>;
767
777
  /** The network ID the token is deployed on. */
@@ -1208,6 +1218,8 @@ export type GetPriceInput = {
1208
1218
  maxDeviations?: InputMaybe<Scalars['Float']['input']>;
1209
1219
  /** The network ID the token is deployed on. */
1210
1220
  networkId: Scalars['Int']['input'];
1221
+ /** The address of the pool, when omitted the top pool is used. */
1222
+ poolAddress?: InputMaybe<Scalars['String']['input']>;
1211
1223
  /** The unix timestamp for the price. */
1212
1224
  timestamp?: InputMaybe<Scalars['Int']['input']>;
1213
1225
  };
@@ -4169,6 +4181,7 @@ export type OnBarsUpdatedResponse = {
4169
4181
  export type OnPricesUpdatedInput = {
4170
4182
  address: Scalars['String']['input'];
4171
4183
  networkId: Scalars['Int']['input'];
4184
+ sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
4172
4185
  };
4173
4186
  /** Response returned by `onBarsUpdated`. */
4174
4187
  export type OnTokenBarsUpdatedResponse = {
@@ -4201,6 +4214,29 @@ export type OnTokenEventsCreatedInput = {
4201
4214
  networkId: Scalars['Int']['input'];
4202
4215
  tokenAddress: Scalars['String']['input'];
4203
4216
  };
4217
+ /** Response returned by `onUnconfirmedBarsUpdated`. */
4218
+ export type OnUnconfirmedBarsUpdated = {
4219
+ __typename?: 'OnUnconfirmedBarsUpdated';
4220
+ /** Price data broken down by resolution. */
4221
+ aggregates: UnconfirmedResolutionBarData;
4222
+ /**
4223
+ * The sortKey for the bar (`blockNumber`#`transactionIndex`#`logIndex`, zero padded).
4224
+ * For example, `0000000016414564#00000224#00000413`.
4225
+ */
4226
+ eventSortKey: Scalars['String']['output'];
4227
+ /** The network ID the pair is deployed on. */
4228
+ networkId: Scalars['Int']['output'];
4229
+ /** The contract address for the pair. */
4230
+ pairAddress: Scalars['String']['output'];
4231
+ /** The ID for the pair (`pairAddress`:`networkId`). */
4232
+ pairId: Scalars['String']['output'];
4233
+ /** The quote token within the pair. */
4234
+ quoteToken?: Maybe<QuoteToken>;
4235
+ /** The address of the token being quoted */
4236
+ quoteTokenAddress: Scalars['String']['output'];
4237
+ /** The unix timestamp for the new bar. */
4238
+ timestamp: Scalars['Int']['output'];
4239
+ };
4204
4240
  export type OneOfNumberCondition = {
4205
4241
  __typename?: 'OneOfNumberCondition';
4206
4242
  oneOf: Array<Scalars['Int']['output']>;
@@ -4963,6 +4999,8 @@ export type Price = {
4963
4999
  confidence?: Maybe<Scalars['Float']['output']>;
4964
5000
  /** The network ID the token is deployed on. */
4965
5001
  networkId: Scalars['Int']['output'];
5002
+ /** The pool that emitted the swap generating this price */
5003
+ poolAddress: Scalars['String']['output'];
4966
5004
  /** The token price in USD. */
4967
5005
  priceUsd: Scalars['Float']['output'];
4968
5006
  /** The unix timestamp for the price. */
@@ -6055,6 +6093,9 @@ export type ReferralsPayoutData = {
6055
6093
  tokenAddressNetworkIdPaid: Scalars['String']['output'];
6056
6094
  tokenAmountPaid: Scalars['String']['output'];
6057
6095
  };
6096
+ export type RemoveUserAchievementInput = {
6097
+ userId: Scalars['String']['input'];
6098
+ };
6058
6099
  /** Price data for each supported resolution. */
6059
6100
  export type ResolutionBarData = {
6060
6101
  __typename?: 'ResolutionBarData';
@@ -6425,6 +6466,8 @@ export type Subscription = {
6425
6466
  onTokenEventsCreated: AddTokenEventsOutput;
6426
6467
  /** Live-streamed token lifecycle events (mints and burns) */
6427
6468
  onTokenLifecycleEventsCreated: AddTokenLifecycleEventsOutput;
6469
+ /** Unconfirmed live-streamed bar chart data to track price changes over time. (Solana only) */
6470
+ onUnconfirmedBarsUpdated?: Maybe<OnUnconfirmedBarsUpdated>;
6428
6471
  /** Live-streamed unconfirmed transactions for a token. (Solana only) */
6429
6472
  onUnconfirmedEventsCreated?: Maybe<AddUnconfirmedEventsOutput>;
6430
6473
  };
@@ -6478,6 +6521,7 @@ export type SubscriptionOnPairMetadataUpdatedArgs = {
6478
6521
  export type SubscriptionOnPriceUpdatedArgs = {
6479
6522
  address?: InputMaybe<Scalars['String']['input']>;
6480
6523
  networkId?: InputMaybe<Scalars['Int']['input']>;
6524
+ sourcePairAddress?: InputMaybe<Scalars['String']['input']>;
6481
6525
  };
6482
6526
  export type SubscriptionOnPricesUpdatedArgs = {
6483
6527
  input: Array<OnPricesUpdatedInput>;
@@ -6498,6 +6542,10 @@ export type SubscriptionOnTokenLifecycleEventsCreatedArgs = {
6498
6542
  address?: InputMaybe<Scalars['String']['input']>;
6499
6543
  networkId?: InputMaybe<Scalars['Int']['input']>;
6500
6544
  };
6545
+ export type SubscriptionOnUnconfirmedBarsUpdatedArgs = {
6546
+ pairId?: InputMaybe<Scalars['String']['input']>;
6547
+ quoteToken?: InputMaybe<QuoteToken>;
6548
+ };
6501
6549
  export type SubscriptionOnUnconfirmedEventsCreatedArgs = {
6502
6550
  address?: InputMaybe<Scalars['String']['input']>;
6503
6551
  id?: InputMaybe<Scalars['String']['input']>;
@@ -6839,6 +6887,8 @@ export type TokenFilters = {
6839
6887
  change24?: InputMaybe<NumberFilter>;
6840
6888
  /** The unix timestamp for the creation of the token's first pair. */
6841
6889
  createdAt?: InputMaybe<NumberFilter>;
6890
+ /** The address of the creator of the token */
6891
+ creatorAddress?: InputMaybe<Scalars['String']['input']>;
6842
6892
  /** The list of exchange contract addresses to filter by. */
6843
6893
  exchangeAddress?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
6844
6894
  /** The list of exchange contract IDs to filter by. Applied in conjunction with `network` filter using an OR condition. When used together, the query returns results that match either the specified exchanges or the specified network. */
@@ -7286,6 +7336,24 @@ export type UnconfirmedEvent = {
7286
7336
  transactionIndex: Scalars['Int']['output'];
7287
7337
  };
7288
7338
  export type UnconfirmedEventData = UnconfirmedLiquidityChangeEventData | UnconfirmedSwapEventData;
7339
+ /** Unconfirmed bar chart data. */
7340
+ export type UnconfirmedIndividualBarData = {
7341
+ __typename?: 'UnconfirmedIndividualBarData';
7342
+ /** The closing price. */
7343
+ c: Scalars['Float']['output'];
7344
+ /** The high price. */
7345
+ h: Scalars['Float']['output'];
7346
+ /** The low price. */
7347
+ l: Scalars['Float']['output'];
7348
+ /** The opening price. */
7349
+ o: Scalars['Float']['output'];
7350
+ /** The timestamp for the bar. */
7351
+ t: Scalars['Int']['output'];
7352
+ /** The volume. */
7353
+ v?: Maybe<Scalars['Int']['output']>;
7354
+ /** The volume with higher precision. */
7355
+ volume: Scalars['String']['output'];
7356
+ };
7289
7357
  export type UnconfirmedLiquidityChangeEventData = {
7290
7358
  __typename?: 'UnconfirmedLiquidityChangeEventData';
7291
7359
  /** The amount of `token0` added or removed from the pair. */
@@ -7299,6 +7367,22 @@ export type UnconfirmedLiquidityChangeEventData = {
7299
7367
  /** The type of token event, `Mint` or 'Burn'. */
7300
7368
  type: EventType;
7301
7369
  };
7370
+ /** Unconfirmed price data for each supported resolution. */
7371
+ export type UnconfirmedResolutionBarData = {
7372
+ __typename?: 'UnconfirmedResolutionBarData';
7373
+ /** 1 minute resolution. */
7374
+ r1?: Maybe<UnconfirmedIndividualBarData>;
7375
+ /** 1 second resolution. */
7376
+ r1S?: Maybe<UnconfirmedIndividualBarData>;
7377
+ /** 5 minute resolution. */
7378
+ r5?: Maybe<UnconfirmedIndividualBarData>;
7379
+ /** 5 second resolution. */
7380
+ r5S?: Maybe<UnconfirmedIndividualBarData>;
7381
+ /** 15 minute resolution. */
7382
+ r15?: Maybe<UnconfirmedIndividualBarData>;
7383
+ /** 15 second resolution. */
7384
+ r15S?: Maybe<UnconfirmedIndividualBarData>;
7385
+ };
7302
7386
  export type UnconfirmedSwapEventData = {
7303
7387
  __typename?: 'UnconfirmedSwapEventData';
7304
7388
  /** The amount of `quoteToken` involved in the swap. For example, if `quoteToken` is USDC for a USDC/WETH pair, `amountNonLiquidityToken` would be the amount of USDC involved in the swap. */