@zoralabs/coins-sdk 0.0.3 → 0.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.
@@ -7,62 +7,147 @@ export type GetCoinData = {
7
7
  };
8
8
  url: "/coin";
9
9
  };
10
+ export type GetCoinErrors = {
11
+ /**
12
+ * Bad request
13
+ */
14
+ 400: unknown;
15
+ /**
16
+ * Internal server error
17
+ */
18
+ 500: unknown;
19
+ };
10
20
  export type GetCoinResponses = {
11
21
  /**
12
- * response
22
+ * Successful operation
13
23
  */
14
24
  200: {
15
25
  zora20Token?: {
16
26
  /**
17
27
  * The Globally Unique ID of this object
18
28
  */
19
- id?: string;
20
- name?: string;
21
- description?: string;
22
- address?: string;
23
- symbol?: string;
24
- totalSupply?: string;
25
- totalVolume?: string;
26
- volume24h?: string;
29
+ id: string;
30
+ /**
31
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
32
+ */
33
+ name: string;
34
+ /**
35
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
36
+ */
37
+ description: string;
38
+ address: string;
39
+ /**
40
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
41
+ */
42
+ symbol: string;
43
+ /**
44
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
45
+ */
46
+ totalSupply: string;
47
+ /**
48
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
49
+ */
50
+ totalVolume: string;
51
+ /**
52
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
53
+ */
54
+ volume24h: string;
55
+ /**
56
+ * Date with time (isoformat)
57
+ */
27
58
  createdAt?: string;
28
59
  creatorAddress?: string;
29
- creatorEarnings?: Array<{
30
- amount?: {
31
- currency?: {
32
- address?: string;
33
- };
34
- amountRaw?: string;
35
- amountDecimal?: number;
60
+ creatorEarnings: Array<{
61
+ amount: {
62
+ currencyAddress: string;
63
+ /**
64
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
65
+ */
66
+ amountRaw: string;
67
+ /**
68
+ * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
69
+ */
70
+ amountDecimal: number;
36
71
  };
72
+ /**
73
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
74
+ */
37
75
  amountUsd?: string;
38
76
  }>;
39
- marketCap?: string;
40
- marketCapDelta24h?: string;
41
- chainId?: number;
42
- creatorProfile?: string;
43
- handle?: string;
44
- avatar?: {
45
- previewImage?: string;
46
- blurhash?: string;
47
- small?: string;
77
+ /**
78
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
79
+ */
80
+ marketCap: string;
81
+ /**
82
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
83
+ */
84
+ marketCapDelta24h: string;
85
+ /**
86
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
87
+ */
88
+ chainId: number;
89
+ creatorProfile?: {
90
+ /**
91
+ * The Globally Unique ID of this object
92
+ */
93
+ id: string;
94
+ /**
95
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
96
+ */
97
+ handle: string;
98
+ avatar?: {
99
+ previewImage: {
100
+ /**
101
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
102
+ */
103
+ blurhash?: string;
104
+ /**
105
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
106
+ */
107
+ medium: string;
108
+ /**
109
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
110
+ */
111
+ small: string;
112
+ };
113
+ };
48
114
  };
49
- media?: {
115
+ mediaContent?: {
116
+ /**
117
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
118
+ */
50
119
  mimeType?: string;
51
- originalUri?: string;
52
- format?: string;
53
- previewImage?: string;
54
- medium?: string;
55
- blurhash?: string;
56
- };
57
- transfers?: {
58
- count?: number;
120
+ /**
121
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
122
+ */
123
+ originalUri: string;
124
+ previewImage?: {
125
+ /**
126
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
127
+ */
128
+ small: string;
129
+ /**
130
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
131
+ */
132
+ medium: string;
133
+ /**
134
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
135
+ */
136
+ blurhash?: string;
137
+ };
59
138
  };
60
- uniqueHolders?: number;
61
- zoraComments?: {
139
+ transfers: {
62
140
  /**
63
- * Information to aid in pagination.
141
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
64
142
  */
65
- pageInfo?: {
143
+ count: number;
144
+ };
145
+ /**
146
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
147
+ */
148
+ uniqueHolders: number;
149
+ zoraComments: {
150
+ pageInfo: {
66
151
  /**
67
152
  * When paginating forwards, the cursor to continue.
68
153
  */
@@ -70,25 +155,53 @@ export type GetCoinResponses = {
70
155
  /**
71
156
  * When paginating forwards, are there more items?
72
157
  */
73
- hasNextPage?: boolean;
158
+ hasNextPage: boolean;
74
159
  };
75
- count?: number;
76
- edges?: Array<{
77
- node?: string;
78
- txHash?: string;
79
- comment?: string;
80
- userAddress?: string;
81
- timestamp?: number;
82
- userProfile?: string;
83
- /**
84
- * The Globally Unique ID of this object
85
- */
86
- id?: string;
87
- handle?: string;
88
- avatar?: {
89
- previewImage?: string;
90
- blurhash?: string;
91
- small?: string;
160
+ /**
161
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
162
+ */
163
+ count: number;
164
+ edges: Array<{
165
+ node: {
166
+ /**
167
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
168
+ */
169
+ txHash: string;
170
+ /**
171
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
172
+ */
173
+ comment: string;
174
+ userAddress: string;
175
+ /**
176
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
177
+ */
178
+ timestamp: number;
179
+ userProfile?: {
180
+ /**
181
+ * The Globally Unique ID of this object
182
+ */
183
+ id: string;
184
+ /**
185
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
186
+ */
187
+ handle: string;
188
+ avatar?: {
189
+ previewImage: {
190
+ /**
191
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
192
+ */
193
+ blurhash?: string;
194
+ /**
195
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
196
+ */
197
+ small: string;
198
+ /**
199
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
200
+ */
201
+ medium: string;
202
+ };
203
+ };
204
+ };
92
205
  };
93
206
  }>;
94
207
  };
@@ -107,17 +220,24 @@ export type GetCoinCommentsData = {
107
220
  };
108
221
  url: "/coinComments";
109
222
  };
223
+ export type GetCoinCommentsErrors = {
224
+ /**
225
+ * Bad request
226
+ */
227
+ 400: unknown;
228
+ /**
229
+ * Internal server error
230
+ */
231
+ 500: unknown;
232
+ };
110
233
  export type GetCoinCommentsResponses = {
111
234
  /**
112
- * response
235
+ * Successful operation
113
236
  */
114
237
  200: {
115
238
  zora20Token?: {
116
- zoraComments?: {
117
- /**
118
- * Information to aid in pagination.
119
- */
120
- pageInfo?: {
239
+ zoraComments: {
240
+ pageInfo: {
121
241
  /**
122
242
  * When paginating forwards, the cursor to continue.
123
243
  */
@@ -125,47 +245,102 @@ export type GetCoinCommentsResponses = {
125
245
  /**
126
246
  * When paginating forwards, are there more items?
127
247
  */
128
- hasNextPage?: boolean;
248
+ hasNextPage: boolean;
129
249
  };
130
- count?: number;
131
- edges?: Array<{
132
- node?: string;
133
- txHash?: string;
134
- comment?: string;
135
- userAddress?: string;
136
- timestamp?: number;
137
- userProfile?: string;
138
- /**
139
- * The Globally Unique ID of this object
140
- */
141
- id?: string;
142
- handle?: string;
143
- avatar?: {
144
- previewImage?: string;
145
- blurhash?: string;
146
- small?: string;
147
- };
148
- replies?: {
149
- count?: number;
150
- edges?: Array<{
151
- node?: {
152
- txHash?: string;
153
- comment?: string;
154
- userAddress?: string;
155
- timestamp?: number;
156
- userProfile?: string;
157
- /**
158
- * The Globally Unique ID of this object
159
- */
160
- id?: string;
161
- handle?: string;
162
- avatar?: {
163
- previewImage?: string;
250
+ /**
251
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
252
+ */
253
+ count: number;
254
+ edges: Array<{
255
+ node: {
256
+ /**
257
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
258
+ */
259
+ txHash: string;
260
+ /**
261
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
262
+ */
263
+ comment: string;
264
+ userAddress: string;
265
+ /**
266
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
267
+ */
268
+ timestamp: number;
269
+ userProfile?: {
270
+ /**
271
+ * The Globally Unique ID of this object
272
+ */
273
+ id: string;
274
+ /**
275
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
276
+ */
277
+ handle: string;
278
+ avatar?: {
279
+ previewImage: {
280
+ /**
281
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
282
+ */
164
283
  blurhash?: string;
165
- small?: string;
284
+ /**
285
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
286
+ */
287
+ small: string;
288
+ /**
289
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
290
+ */
291
+ medium: string;
166
292
  };
167
293
  };
168
- }>;
294
+ };
295
+ replies: {
296
+ /**
297
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
298
+ */
299
+ count: number;
300
+ edges: Array<{
301
+ node: {
302
+ /**
303
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
304
+ */
305
+ txHash: string;
306
+ /**
307
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
308
+ */
309
+ comment: string;
310
+ userAddress: string;
311
+ /**
312
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
313
+ */
314
+ timestamp: number;
315
+ userProfile?: {
316
+ /**
317
+ * The Globally Unique ID of this object
318
+ */
319
+ id: string;
320
+ /**
321
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
322
+ */
323
+ handle: string;
324
+ avatar?: {
325
+ previewImage: {
326
+ /**
327
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
328
+ */
329
+ blurhash?: string;
330
+ /**
331
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
332
+ */
333
+ small: string;
334
+ /**
335
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
336
+ */
337
+ medium: string;
338
+ };
339
+ };
340
+ };
341
+ };
342
+ }>;
343
+ };
169
344
  };
170
345
  }>;
171
346
  };
@@ -178,68 +353,156 @@ export type GetCoinsData = {
178
353
  path?: never;
179
354
  query: {
180
355
  coins: Array<{
181
- chainId?: number;
182
- collectionAddress?: string;
356
+ /**
357
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
358
+ */
359
+ chainId: number;
360
+ collectionAddress: string;
183
361
  }>;
184
362
  };
185
363
  url: "/coins";
186
364
  };
365
+ export type GetCoinsErrors = {
366
+ /**
367
+ * Bad request
368
+ */
369
+ 400: unknown;
370
+ /**
371
+ * Internal server error
372
+ */
373
+ 500: unknown;
374
+ };
187
375
  export type GetCoinsResponses = {
188
376
  /**
189
- * response
377
+ * Successful operation
190
378
  */
191
379
  200: {
192
- zora20Tokens?: Array<{
380
+ zora20Tokens: Array<{
193
381
  /**
194
382
  * The Globally Unique ID of this object
195
383
  */
196
- id?: string;
197
- name?: string;
198
- description?: string;
199
- address?: string;
200
- symbol?: string;
201
- totalSupply?: string;
202
- totalVolume?: string;
203
- volume24h?: string;
384
+ id: string;
385
+ /**
386
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
387
+ */
388
+ name: string;
389
+ /**
390
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
391
+ */
392
+ description: string;
393
+ address: string;
394
+ /**
395
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
396
+ */
397
+ symbol: string;
398
+ /**
399
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
400
+ */
401
+ totalSupply: string;
402
+ /**
403
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
404
+ */
405
+ totalVolume: string;
406
+ /**
407
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
408
+ */
409
+ volume24h: string;
410
+ /**
411
+ * Date with time (isoformat)
412
+ */
204
413
  createdAt?: string;
205
414
  creatorAddress?: string;
206
- creatorEarnings?: Array<{
207
- amount?: {
208
- currency?: {
209
- address?: string;
210
- };
211
- amountRaw?: string;
212
- amountDecimal?: number;
415
+ creatorEarnings: Array<{
416
+ amount: {
417
+ currencyAddress: string;
418
+ /**
419
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
420
+ */
421
+ amountRaw: string;
422
+ /**
423
+ * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
424
+ */
425
+ amountDecimal: number;
213
426
  };
427
+ /**
428
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
429
+ */
214
430
  amountUsd?: string;
215
431
  }>;
216
- marketCap?: string;
217
- marketCapDelta24h?: string;
218
- chainId?: number;
219
- creatorProfile?: string;
220
- handle?: string;
221
- avatar?: {
222
- previewImage?: string;
223
- blurhash?: string;
224
- small?: string;
432
+ /**
433
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
434
+ */
435
+ marketCap: string;
436
+ /**
437
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
438
+ */
439
+ marketCapDelta24h: string;
440
+ /**
441
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
442
+ */
443
+ chainId: number;
444
+ creatorProfile?: {
445
+ /**
446
+ * The Globally Unique ID of this object
447
+ */
448
+ id: string;
449
+ /**
450
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
451
+ */
452
+ handle: string;
453
+ avatar?: {
454
+ previewImage: {
455
+ /**
456
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
457
+ */
458
+ blurhash?: string;
459
+ /**
460
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
461
+ */
462
+ medium: string;
463
+ /**
464
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
465
+ */
466
+ small: string;
467
+ };
468
+ };
225
469
  };
226
- media?: {
470
+ mediaContent?: {
471
+ /**
472
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
473
+ */
227
474
  mimeType?: string;
228
- originalUri?: string;
229
- format?: string;
230
- previewImage?: string;
231
- medium?: string;
232
- blurhash?: string;
233
- };
234
- transfers?: {
235
- count?: number;
475
+ /**
476
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
477
+ */
478
+ originalUri: string;
479
+ previewImage?: {
480
+ /**
481
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
482
+ */
483
+ small: string;
484
+ /**
485
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
486
+ */
487
+ medium: string;
488
+ /**
489
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
490
+ */
491
+ blurhash?: string;
492
+ };
236
493
  };
237
- uniqueHolders?: number;
238
- zoraComments?: {
494
+ transfers: {
239
495
  /**
240
- * Information to aid in pagination.
496
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
241
497
  */
242
- pageInfo?: {
498
+ count: number;
499
+ };
500
+ /**
501
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
502
+ */
503
+ uniqueHolders: number;
504
+ zoraComments: {
505
+ pageInfo: {
243
506
  /**
244
507
  * When paginating forwards, the cursor to continue.
245
508
  */
@@ -247,25 +510,53 @@ export type GetCoinsResponses = {
247
510
  /**
248
511
  * When paginating forwards, are there more items?
249
512
  */
250
- hasNextPage?: boolean;
513
+ hasNextPage: boolean;
251
514
  };
252
- count?: number;
253
- edges?: Array<{
254
- node?: string;
255
- txHash?: string;
256
- comment?: string;
257
- userAddress?: string;
258
- timestamp?: number;
259
- userProfile?: string;
260
- /**
261
- * The Globally Unique ID of this object
262
- */
263
- id?: string;
264
- handle?: string;
265
- avatar?: {
266
- previewImage?: string;
267
- blurhash?: string;
268
- small?: string;
515
+ /**
516
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
517
+ */
518
+ count: number;
519
+ edges: Array<{
520
+ node: {
521
+ /**
522
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
523
+ */
524
+ txHash: string;
525
+ /**
526
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
527
+ */
528
+ comment: string;
529
+ userAddress: string;
530
+ /**
531
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
532
+ */
533
+ timestamp: number;
534
+ userProfile?: {
535
+ /**
536
+ * The Globally Unique ID of this object
537
+ */
538
+ id: string;
539
+ /**
540
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
541
+ */
542
+ handle: string;
543
+ avatar?: {
544
+ previewImage: {
545
+ /**
546
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
547
+ */
548
+ blurhash?: string;
549
+ /**
550
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
551
+ */
552
+ small: string;
553
+ /**
554
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
555
+ */
556
+ medium: string;
557
+ };
558
+ };
559
+ };
269
560
  };
270
561
  }>;
271
562
  };
@@ -283,66 +574,154 @@ export type GetExploreData = {
283
574
  };
284
575
  url: "/explore";
285
576
  };
577
+ export type GetExploreErrors = {
578
+ /**
579
+ * Bad request
580
+ */
581
+ 400: unknown;
582
+ /**
583
+ * Internal server error
584
+ */
585
+ 500: unknown;
586
+ };
286
587
  export type GetExploreResponses = {
287
588
  /**
288
- * response
589
+ * Successful operation
289
590
  */
290
591
  200: {
291
- exploreList?: {
292
- edges?: Array<{
293
- node?: {
592
+ exploreList: {
593
+ edges: Array<{
594
+ node: {
294
595
  /**
295
596
  * The Globally Unique ID of this object
296
597
  */
297
- id?: string;
298
- name?: string;
299
- description?: string;
300
- address?: string;
301
- symbol?: string;
302
- totalSupply?: string;
303
- totalVolume?: string;
304
- volume24h?: string;
598
+ id: string;
599
+ /**
600
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
601
+ */
602
+ name: string;
603
+ /**
604
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
605
+ */
606
+ description: string;
607
+ address: string;
608
+ /**
609
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
610
+ */
611
+ symbol: string;
612
+ /**
613
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
614
+ */
615
+ totalSupply: string;
616
+ /**
617
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
618
+ */
619
+ totalVolume: string;
620
+ /**
621
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
622
+ */
623
+ volume24h: string;
624
+ /**
625
+ * Date with time (isoformat)
626
+ */
305
627
  createdAt?: string;
306
628
  creatorAddress?: string;
307
- creatorEarnings?: Array<{
308
- amount?: {
309
- currency?: {
310
- address?: string;
311
- };
312
- amountRaw?: string;
313
- amountDecimal?: number;
629
+ creatorEarnings: Array<{
630
+ amount: {
631
+ currencyAddress: string;
632
+ /**
633
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
634
+ */
635
+ amountRaw: string;
636
+ /**
637
+ * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
638
+ */
639
+ amountDecimal: number;
314
640
  };
641
+ /**
642
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
643
+ */
315
644
  amountUsd?: string;
316
645
  }>;
317
- marketCap?: string;
318
- marketCapDelta24h?: string;
319
- chainId?: number;
320
- creatorProfile?: string;
321
- handle?: string;
322
- avatar?: {
323
- previewImage?: string;
324
- blurhash?: string;
325
- small?: string;
646
+ /**
647
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
648
+ */
649
+ marketCap: string;
650
+ /**
651
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
652
+ */
653
+ marketCapDelta24h: string;
654
+ /**
655
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
656
+ */
657
+ chainId: number;
658
+ creatorProfile?: {
659
+ /**
660
+ * The Globally Unique ID of this object
661
+ */
662
+ id: string;
663
+ /**
664
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
665
+ */
666
+ handle: string;
667
+ avatar?: {
668
+ previewImage: {
669
+ /**
670
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
671
+ */
672
+ blurhash?: string;
673
+ /**
674
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
675
+ */
676
+ medium: string;
677
+ /**
678
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
679
+ */
680
+ small: string;
681
+ };
682
+ };
326
683
  };
327
- media?: {
684
+ mediaContent?: {
685
+ /**
686
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
687
+ */
328
688
  mimeType?: string;
329
- originalUri?: string;
330
- format?: string;
331
- previewImage?: string;
332
- medium?: string;
333
- blurhash?: string;
689
+ /**
690
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
691
+ */
692
+ originalUri: string;
693
+ previewImage?: {
694
+ /**
695
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
696
+ */
697
+ small: string;
698
+ /**
699
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
700
+ */
701
+ medium: string;
702
+ /**
703
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
704
+ */
705
+ blurhash?: string;
706
+ };
334
707
  };
335
- transfers?: {
336
- count?: number;
708
+ transfers: {
709
+ /**
710
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
711
+ */
712
+ count: number;
337
713
  };
338
- uniqueHolders?: number;
714
+ /**
715
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
716
+ */
717
+ uniqueHolders: number;
339
718
  };
340
- cursor?: string;
719
+ /**
720
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
721
+ */
722
+ cursor: string;
341
723
  }>;
342
- /**
343
- * Information to aid in pagination.
344
- */
345
- pageInfo?: {
724
+ pageInfo: {
346
725
  /**
347
726
  * When paginating forwards, the cursor to continue.
348
727
  */
@@ -350,7 +729,7 @@ export type GetExploreResponses = {
350
729
  /**
351
730
  * When paginating forwards, are there more items?
352
731
  */
353
- hasNextPage?: boolean;
732
+ hasNextPage: boolean;
354
733
  };
355
734
  };
356
735
  };
@@ -364,36 +743,91 @@ export type GetProfileData = {
364
743
  };
365
744
  url: "/profile";
366
745
  };
746
+ export type GetProfileErrors = {
747
+ /**
748
+ * Bad request
749
+ */
750
+ 400: unknown;
751
+ /**
752
+ * Internal server error
753
+ */
754
+ 500: unknown;
755
+ };
367
756
  export type GetProfileResponses = {
368
757
  /**
369
- * response
758
+ * Successful operation
370
759
  */
371
760
  200: {
372
- profile?: string;
373
- /**
374
- * The Globally Unique ID of this object
375
- */
376
- id?: string;
377
- handle?: string;
378
- avatar?: {
379
- small?: string;
380
- medium?: string;
381
- blurhash?: string;
382
- };
383
- username?: string;
384
- displayName?: string;
385
- bio?: string;
386
- website?: string;
387
- publicWallet?: {
388
- walletAddress?: string;
389
- };
390
- linkedWallets?: {
391
- edges?: Array<{
392
- node?: {
393
- walletType?: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
394
- walletAddress?: string;
761
+ profile?: {
762
+ /**
763
+ * The Globally Unique ID of this object
764
+ */
765
+ id: string;
766
+ /**
767
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
768
+ */
769
+ handle: string;
770
+ avatar?: {
771
+ /**
772
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
773
+ */
774
+ small: string;
775
+ /**
776
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
777
+ */
778
+ medium: string;
779
+ /**
780
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
781
+ */
782
+ blurhash?: string;
783
+ };
784
+ /**
785
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
786
+ */
787
+ username: string;
788
+ /**
789
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
790
+ */
791
+ displayName?: string;
792
+ /**
793
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
794
+ */
795
+ bio: string;
796
+ /**
797
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
798
+ */
799
+ website?: string;
800
+ publicWallet: {
801
+ walletAddress: string;
802
+ };
803
+ socialAccounts: {
804
+ instagram?: {
805
+ /**
806
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
807
+ */
808
+ displayName?: string;
395
809
  };
396
- }>;
810
+ tiktok?: {
811
+ /**
812
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
813
+ */
814
+ displayName?: string;
815
+ };
816
+ twitter?: {
817
+ /**
818
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
819
+ */
820
+ displayName?: string;
821
+ };
822
+ };
823
+ linkedWallets: {
824
+ edges: Array<{
825
+ node: {
826
+ walletType: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
827
+ walletAddress: string;
828
+ };
829
+ }>;
830
+ };
397
831
  };
398
832
  };
399
833
  };
@@ -409,126 +843,198 @@ export type GetProfileBalancesData = {
409
843
  };
410
844
  url: "/profileBalances";
411
845
  };
846
+ export type GetProfileBalancesErrors = {
847
+ /**
848
+ * Bad request
849
+ */
850
+ 400: unknown;
851
+ /**
852
+ * Internal server error
853
+ */
854
+ 500: unknown;
855
+ };
412
856
  export type GetProfileBalancesResponses = {
413
857
  /**
414
- * response
858
+ * Successful operation
415
859
  */
416
860
  200: {
417
- profile?: string;
418
- /**
419
- * The Globally Unique ID of this object
420
- */
421
- id?: string;
422
- handle?: string;
423
- avatar?: {
424
- previewImage?: string;
425
- blurhash?: string;
426
- small?: string;
427
- };
428
- coinBalances?: {
429
- count?: number;
430
- edges?: Array<{
431
- node?: {
432
- balance?: string;
861
+ profile?: {
862
+ /**
863
+ * The Globally Unique ID of this object
864
+ */
865
+ id: string;
866
+ /**
867
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
868
+ */
869
+ handle: string;
870
+ avatar?: {
871
+ previewImage: {
433
872
  /**
434
- * The Globally Unique ID of this object
873
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
874
+ */
875
+ blurhash?: string;
876
+ /**
877
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
435
878
  */
436
- id?: string;
437
- coin?: {
879
+ medium: string;
880
+ /**
881
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
882
+ */
883
+ small: string;
884
+ };
885
+ };
886
+ coinBalances: {
887
+ /**
888
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
889
+ */
890
+ count: number;
891
+ edges: Array<{
892
+ node: {
893
+ /**
894
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
895
+ */
896
+ balance: string;
438
897
  /**
439
898
  * The Globally Unique ID of this object
440
899
  */
441
- id?: string;
442
- name?: string;
443
- description?: string;
444
- address?: string;
445
- symbol?: string;
446
- totalSupply?: string;
447
- totalVolume?: string;
448
- volume24h?: string;
449
- createdAt?: string;
450
- creatorAddress?: string;
451
- creatorEarnings?: Array<{
452
- amount?: {
453
- currency?: {
454
- address?: string;
900
+ id: string;
901
+ coin?: {
902
+ /**
903
+ * The Globally Unique ID of this object
904
+ */
905
+ id: string;
906
+ /**
907
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
908
+ */
909
+ name: string;
910
+ /**
911
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
912
+ */
913
+ description: string;
914
+ address: string;
915
+ /**
916
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
917
+ */
918
+ symbol: string;
919
+ /**
920
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
921
+ */
922
+ totalSupply: string;
923
+ /**
924
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
925
+ */
926
+ totalVolume: string;
927
+ /**
928
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
929
+ */
930
+ volume24h: string;
931
+ /**
932
+ * Date with time (isoformat)
933
+ */
934
+ createdAt?: string;
935
+ creatorAddress?: string;
936
+ creatorEarnings: Array<{
937
+ amount: {
938
+ currencyAddress: string;
939
+ /**
940
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
941
+ */
942
+ amountRaw: string;
943
+ /**
944
+ * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
945
+ */
946
+ amountDecimal: number;
455
947
  };
456
- amountRaw?: string;
457
- amountDecimal?: number;
458
- };
459
- amountUsd?: string;
460
- }>;
461
- marketCap?: string;
462
- marketCapDelta24h?: string;
463
- chainId?: number;
464
- creatorProfile?: string;
465
- handle?: string;
466
- avatar?: {
467
- previewImage?: string;
468
- blurhash?: string;
469
- small?: string;
470
- };
471
- media?: {
472
- mimeType?: string;
473
- originalUri?: string;
474
- format?: string;
475
- previewImage?: string;
476
- medium?: string;
477
- blurhash?: string;
478
- };
479
- transfers?: {
480
- count?: number;
481
- };
482
- uniqueHolders?: number;
483
- zoraComments?: {
948
+ /**
949
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
950
+ */
951
+ amountUsd?: string;
952
+ }>;
484
953
  /**
485
- * Information to aid in pagination.
954
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
486
955
  */
487
- pageInfo?: {
956
+ marketCap: string;
957
+ /**
958
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
959
+ */
960
+ marketCapDelta24h: string;
961
+ /**
962
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
963
+ */
964
+ chainId: number;
965
+ creatorProfile?: {
488
966
  /**
489
- * When paginating forwards, the cursor to continue.
967
+ * The Globally Unique ID of this object
490
968
  */
491
- endCursor?: string;
969
+ id: string;
492
970
  /**
493
- * When paginating forwards, are there more items?
971
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
494
972
  */
495
- hasNextPage?: boolean;
973
+ handle: string;
974
+ avatar?: {
975
+ previewImage: {
976
+ /**
977
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
978
+ */
979
+ blurhash?: string;
980
+ /**
981
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
982
+ */
983
+ medium: string;
984
+ /**
985
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
986
+ */
987
+ small: string;
988
+ };
989
+ };
496
990
  };
497
- count?: number;
498
- edges?: Array<{
499
- node?: string;
500
- txHash?: string;
501
- comment?: string;
502
- userAddress?: string;
503
- timestamp?: number;
504
- userProfile?: string;
991
+ mediaContent?: {
505
992
  /**
506
- * The Globally Unique ID of this object
993
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
507
994
  */
508
- id?: string;
509
- handle?: string;
510
- avatar?: {
511
- previewImage?: string;
995
+ mimeType?: string;
996
+ /**
997
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
998
+ */
999
+ originalUri: string;
1000
+ previewImage?: {
1001
+ /**
1002
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1003
+ */
1004
+ small: string;
1005
+ /**
1006
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1007
+ */
1008
+ medium: string;
1009
+ /**
1010
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1011
+ */
512
1012
  blurhash?: string;
513
- small?: string;
514
1013
  };
515
- }>;
1014
+ };
1015
+ transfers: {
1016
+ /**
1017
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1018
+ */
1019
+ count: number;
1020
+ };
1021
+ /**
1022
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1023
+ */
1024
+ uniqueHolders: number;
516
1025
  };
517
1026
  };
1027
+ }>;
1028
+ pageInfo: {
1029
+ /**
1030
+ * When paginating forwards, are there more items?
1031
+ */
1032
+ hasNextPage: boolean;
1033
+ /**
1034
+ * When paginating forwards, the cursor to continue.
1035
+ */
1036
+ endCursor?: string;
518
1037
  };
519
- }>;
520
- /**
521
- * Information to aid in pagination.
522
- */
523
- pageInfo?: {
524
- /**
525
- * When paginating forwards, are there more items?
526
- */
527
- hasNextPage?: boolean;
528
- /**
529
- * When paginating forwards, the cursor to continue.
530
- */
531
- endCursor?: string;
532
1038
  };
533
1039
  };
534
1040
  };