@zoralabs/coins-sdk 0.2.10 → 0.3.0
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.
- package/CHANGELOG.md +60 -0
- package/dist/actions/createCoin.d.ts +52 -21
- package/dist/actions/createCoin.d.ts.map +1 -1
- package/dist/api/create.d.ts +8 -0
- package/dist/api/create.d.ts.map +1 -0
- package/dist/api/index.d.ts +4 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/pool-config.d.ts +5 -0
- package/dist/api/pool-config.d.ts.map +1 -0
- package/dist/api/queries.d.ts +9 -1
- package/dist/api/queries.d.ts.map +1 -1
- package/dist/client/sdk.gen.d.ts +307 -46
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts +874 -93
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.cjs +419 -424
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +413 -418
- package/dist/index.js.map +1 -1
- package/dist/uploader/metadata.d.ts.map +1 -1
- package/dist/uploader/types.d.ts +4 -1
- package/dist/uploader/types.d.ts.map +1 -1
- package/dist/utils/rethrowDecodedRevert.d.ts +3 -0
- package/dist/utils/rethrowDecodedRevert.d.ts.map +1 -0
- package/package.json +1 -1
- package/src/actions/createCoin.ts +154 -112
- package/src/api/create.ts +24 -0
- package/src/api/index.ts +8 -0
- package/src/api/pool-config.ts +17 -0
- package/src/api/queries.ts +36 -0
- package/src/client/sdk.gen.ts +98 -0
- package/src/client/types.gen.ts +898 -93
- package/src/index.ts +4 -6
- package/src/uploader/metadata.ts +4 -1
- package/src/uploader/types.ts +4 -1
- package/src/utils/rethrowDecodedRevert.ts +50 -0
- package/dist/actions/getOnchainCoinDetails.d.ts +0 -32
- package/dist/actions/getOnchainCoinDetails.d.ts.map +0 -1
- package/dist/utils/getPrepurchaseHook.d.ts +0 -16
- package/dist/utils/getPrepurchaseHook.d.ts.map +0 -1
- package/src/actions/getOnchainCoinDetails.ts +0 -68
- package/src/utils/getPrepurchaseHook.ts +0 -59
|
@@ -93,23 +93,6 @@ export type GetCoinResponses = {
|
|
|
93
93
|
*/
|
|
94
94
|
createdAt?: string;
|
|
95
95
|
creatorAddress?: string;
|
|
96
|
-
creatorEarnings?: Array<{
|
|
97
|
-
amount: {
|
|
98
|
-
currencyAddress: string;
|
|
99
|
-
/**
|
|
100
|
-
* 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.
|
|
101
|
-
*/
|
|
102
|
-
amountRaw: string;
|
|
103
|
-
/**
|
|
104
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
105
|
-
*/
|
|
106
|
-
amountDecimal: number;
|
|
107
|
-
};
|
|
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
|
-
amountUsd?: string;
|
|
112
|
-
}>;
|
|
113
96
|
poolCurrencyToken?: {
|
|
114
97
|
/**
|
|
115
98
|
* 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.
|
|
@@ -178,6 +161,67 @@ export type GetCoinResponses = {
|
|
|
178
161
|
small: string;
|
|
179
162
|
};
|
|
180
163
|
};
|
|
164
|
+
socialAccounts: {
|
|
165
|
+
instagram?: {
|
|
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
|
+
username?: 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
|
+
displayName?: string;
|
|
174
|
+
/**
|
|
175
|
+
* 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.
|
|
176
|
+
*/
|
|
177
|
+
id?: string;
|
|
178
|
+
};
|
|
179
|
+
tiktok?: {
|
|
180
|
+
/**
|
|
181
|
+
* 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.
|
|
182
|
+
*/
|
|
183
|
+
username?: 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
|
+
displayName?: string;
|
|
188
|
+
/**
|
|
189
|
+
* 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.
|
|
190
|
+
*/
|
|
191
|
+
id?: string;
|
|
192
|
+
};
|
|
193
|
+
twitter?: {
|
|
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
|
+
username?: 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
|
+
displayName?: string;
|
|
202
|
+
/**
|
|
203
|
+
* 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.
|
|
204
|
+
*/
|
|
205
|
+
id?: string;
|
|
206
|
+
};
|
|
207
|
+
farcaster?: {
|
|
208
|
+
/**
|
|
209
|
+
* 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.
|
|
210
|
+
*/
|
|
211
|
+
username?: string;
|
|
212
|
+
/**
|
|
213
|
+
* 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.
|
|
214
|
+
*/
|
|
215
|
+
displayName?: string;
|
|
216
|
+
/**
|
|
217
|
+
* 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.
|
|
218
|
+
*/
|
|
219
|
+
id?: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
creatorCoin?: {
|
|
223
|
+
address: string;
|
|
224
|
+
};
|
|
181
225
|
};
|
|
182
226
|
mediaContent?: {
|
|
183
227
|
/**
|
|
@@ -238,6 +282,15 @@ export type GetCoinResponses = {
|
|
|
238
282
|
count: number;
|
|
239
283
|
edges: Array<{
|
|
240
284
|
node: {
|
|
285
|
+
/**
|
|
286
|
+
* 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.
|
|
287
|
+
*/
|
|
288
|
+
commentId: string;
|
|
289
|
+
/**
|
|
290
|
+
* 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.
|
|
291
|
+
*/
|
|
292
|
+
nonce: string;
|
|
293
|
+
userAddress: string;
|
|
241
294
|
/**
|
|
242
295
|
* 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.
|
|
243
296
|
*/
|
|
@@ -246,7 +299,6 @@ export type GetCoinResponses = {
|
|
|
246
299
|
* 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.
|
|
247
300
|
*/
|
|
248
301
|
comment: string;
|
|
249
|
-
userAddress: string;
|
|
250
302
|
/**
|
|
251
303
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
252
304
|
*/
|
|
@@ -280,6 +332,23 @@ export type GetCoinResponses = {
|
|
|
280
332
|
};
|
|
281
333
|
}>;
|
|
282
334
|
};
|
|
335
|
+
creatorEarnings?: Array<{
|
|
336
|
+
amount: {
|
|
337
|
+
currencyAddress: string;
|
|
338
|
+
/**
|
|
339
|
+
* 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.
|
|
340
|
+
*/
|
|
341
|
+
amountRaw: string;
|
|
342
|
+
/**
|
|
343
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
344
|
+
*/
|
|
345
|
+
amountDecimal: number;
|
|
346
|
+
};
|
|
347
|
+
/**
|
|
348
|
+
* 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.
|
|
349
|
+
*/
|
|
350
|
+
amountUsd?: string;
|
|
351
|
+
}>;
|
|
283
352
|
};
|
|
284
353
|
};
|
|
285
354
|
};
|
|
@@ -328,6 +397,15 @@ export type GetCoinCommentsResponses = {
|
|
|
328
397
|
count: number;
|
|
329
398
|
edges: Array<{
|
|
330
399
|
node: {
|
|
400
|
+
/**
|
|
401
|
+
* 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.
|
|
402
|
+
*/
|
|
403
|
+
commentId: string;
|
|
404
|
+
/**
|
|
405
|
+
* 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.
|
|
406
|
+
*/
|
|
407
|
+
nonce: string;
|
|
408
|
+
userAddress: string;
|
|
331
409
|
/**
|
|
332
410
|
* 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.
|
|
333
411
|
*/
|
|
@@ -336,7 +414,6 @@ export type GetCoinCommentsResponses = {
|
|
|
336
414
|
* 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.
|
|
337
415
|
*/
|
|
338
416
|
comment: string;
|
|
339
|
-
userAddress: string;
|
|
340
417
|
/**
|
|
341
418
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
342
419
|
*/
|
|
@@ -374,6 +451,15 @@ export type GetCoinCommentsResponses = {
|
|
|
374
451
|
count: number;
|
|
375
452
|
edges: Array<{
|
|
376
453
|
node: {
|
|
454
|
+
/**
|
|
455
|
+
* 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.
|
|
456
|
+
*/
|
|
457
|
+
commentId: string;
|
|
458
|
+
/**
|
|
459
|
+
* 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.
|
|
460
|
+
*/
|
|
461
|
+
nonce: string;
|
|
462
|
+
userAddress: string;
|
|
377
463
|
/**
|
|
378
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.
|
|
379
465
|
*/
|
|
@@ -382,7 +468,6 @@ export type GetCoinCommentsResponses = {
|
|
|
382
468
|
* 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.
|
|
383
469
|
*/
|
|
384
470
|
comment: string;
|
|
385
|
-
userAddress: string;
|
|
386
471
|
/**
|
|
387
472
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
388
473
|
*/
|
|
@@ -423,6 +508,207 @@ export type GetCoinCommentsResponses = {
|
|
|
423
508
|
};
|
|
424
509
|
};
|
|
425
510
|
export type GetCoinCommentsResponse = GetCoinCommentsResponses[keyof GetCoinCommentsResponses];
|
|
511
|
+
export type GetCoinHoldersData = {
|
|
512
|
+
body?: never;
|
|
513
|
+
path?: never;
|
|
514
|
+
query: {
|
|
515
|
+
chainId: number;
|
|
516
|
+
address: string;
|
|
517
|
+
after?: string;
|
|
518
|
+
count?: number;
|
|
519
|
+
};
|
|
520
|
+
url: "/coinHolders";
|
|
521
|
+
};
|
|
522
|
+
export type GetCoinHoldersErrors = {
|
|
523
|
+
/**
|
|
524
|
+
* Bad request
|
|
525
|
+
*/
|
|
526
|
+
400: unknown;
|
|
527
|
+
/**
|
|
528
|
+
* Internal server error
|
|
529
|
+
*/
|
|
530
|
+
500: unknown;
|
|
531
|
+
};
|
|
532
|
+
export type GetCoinHoldersResponses = {
|
|
533
|
+
/**
|
|
534
|
+
* Successful operation
|
|
535
|
+
*/
|
|
536
|
+
200: {
|
|
537
|
+
zora20Token?: {
|
|
538
|
+
tokenBalances: {
|
|
539
|
+
pageInfo: {
|
|
540
|
+
/**
|
|
541
|
+
* When paginating forwards, the cursor to continue.
|
|
542
|
+
*/
|
|
543
|
+
endCursor?: string;
|
|
544
|
+
/**
|
|
545
|
+
* When paginating forwards, are there more items?
|
|
546
|
+
*/
|
|
547
|
+
hasNextPage: boolean;
|
|
548
|
+
};
|
|
549
|
+
/**
|
|
550
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
551
|
+
*/
|
|
552
|
+
count: number;
|
|
553
|
+
edges: Array<{
|
|
554
|
+
node: {
|
|
555
|
+
/**
|
|
556
|
+
* 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.
|
|
557
|
+
*/
|
|
558
|
+
balance: string;
|
|
559
|
+
ownerAddress: string;
|
|
560
|
+
ownerProfile: {
|
|
561
|
+
/**
|
|
562
|
+
* The Globally Unique ID of this object
|
|
563
|
+
*/
|
|
564
|
+
id: string;
|
|
565
|
+
/**
|
|
566
|
+
* 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.
|
|
567
|
+
*/
|
|
568
|
+
handle: string;
|
|
569
|
+
avatar?: {
|
|
570
|
+
previewImage: {
|
|
571
|
+
/**
|
|
572
|
+
* 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.
|
|
573
|
+
*/
|
|
574
|
+
blurhash?: string;
|
|
575
|
+
/**
|
|
576
|
+
* 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.
|
|
577
|
+
*/
|
|
578
|
+
medium: string;
|
|
579
|
+
/**
|
|
580
|
+
* 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.
|
|
581
|
+
*/
|
|
582
|
+
small: string;
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
}>;
|
|
588
|
+
};
|
|
589
|
+
};
|
|
590
|
+
};
|
|
591
|
+
};
|
|
592
|
+
export type GetCoinHoldersResponse = GetCoinHoldersResponses[keyof GetCoinHoldersResponses];
|
|
593
|
+
export type GetCoinSwapsData = {
|
|
594
|
+
body?: never;
|
|
595
|
+
path?: never;
|
|
596
|
+
query: {
|
|
597
|
+
address: string;
|
|
598
|
+
chain?: number;
|
|
599
|
+
after?: string;
|
|
600
|
+
first?: number;
|
|
601
|
+
};
|
|
602
|
+
url: "/coinSwaps";
|
|
603
|
+
};
|
|
604
|
+
export type GetCoinSwapsErrors = {
|
|
605
|
+
/**
|
|
606
|
+
* Bad request
|
|
607
|
+
*/
|
|
608
|
+
400: unknown;
|
|
609
|
+
/**
|
|
610
|
+
* Internal server error
|
|
611
|
+
*/
|
|
612
|
+
500: unknown;
|
|
613
|
+
};
|
|
614
|
+
export type GetCoinSwapsResponses = {
|
|
615
|
+
/**
|
|
616
|
+
* Successful operation
|
|
617
|
+
*/
|
|
618
|
+
200: {
|
|
619
|
+
zora20Token?: {
|
|
620
|
+
swapActivities: {
|
|
621
|
+
/**
|
|
622
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
623
|
+
*/
|
|
624
|
+
count: number;
|
|
625
|
+
edges: Array<{
|
|
626
|
+
node: {
|
|
627
|
+
/**
|
|
628
|
+
* The Globally Unique ID of this object
|
|
629
|
+
*/
|
|
630
|
+
id: string;
|
|
631
|
+
currencyAmountWithPrice: {
|
|
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
|
+
priceUsdc?: string;
|
|
636
|
+
currencyAmount: {
|
|
637
|
+
currencyAddress: string;
|
|
638
|
+
/**
|
|
639
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
640
|
+
*/
|
|
641
|
+
amountDecimal: number;
|
|
642
|
+
};
|
|
643
|
+
};
|
|
644
|
+
/**
|
|
645
|
+
* 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.
|
|
646
|
+
*/
|
|
647
|
+
senderAddress: string;
|
|
648
|
+
/**
|
|
649
|
+
* 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.
|
|
650
|
+
*/
|
|
651
|
+
recipientAddress: string;
|
|
652
|
+
/**
|
|
653
|
+
* 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.
|
|
654
|
+
*/
|
|
655
|
+
transactionHash: string;
|
|
656
|
+
/**
|
|
657
|
+
* 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.
|
|
658
|
+
*/
|
|
659
|
+
coinAmount: string;
|
|
660
|
+
/**
|
|
661
|
+
* Date with time (isoformat)
|
|
662
|
+
*/
|
|
663
|
+
blockTimestamp: string;
|
|
664
|
+
activityType?: "BUY" | "SELL";
|
|
665
|
+
senderProfile?: {
|
|
666
|
+
/**
|
|
667
|
+
* The Globally Unique ID of this object
|
|
668
|
+
*/
|
|
669
|
+
id: string;
|
|
670
|
+
/**
|
|
671
|
+
* 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.
|
|
672
|
+
*/
|
|
673
|
+
handle: string;
|
|
674
|
+
avatar?: {
|
|
675
|
+
previewImage: {
|
|
676
|
+
/**
|
|
677
|
+
* 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.
|
|
678
|
+
*/
|
|
679
|
+
blurhash?: string;
|
|
680
|
+
/**
|
|
681
|
+
* 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.
|
|
682
|
+
*/
|
|
683
|
+
medium: string;
|
|
684
|
+
/**
|
|
685
|
+
* 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.
|
|
686
|
+
*/
|
|
687
|
+
small: string;
|
|
688
|
+
};
|
|
689
|
+
};
|
|
690
|
+
};
|
|
691
|
+
};
|
|
692
|
+
/**
|
|
693
|
+
* 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.
|
|
694
|
+
*/
|
|
695
|
+
cursor: string;
|
|
696
|
+
}>;
|
|
697
|
+
pageInfo: {
|
|
698
|
+
/**
|
|
699
|
+
* When paginating forwards, the cursor to continue.
|
|
700
|
+
*/
|
|
701
|
+
endCursor?: string;
|
|
702
|
+
/**
|
|
703
|
+
* When paginating forwards, are there more items?
|
|
704
|
+
*/
|
|
705
|
+
hasNextPage: boolean;
|
|
706
|
+
};
|
|
707
|
+
};
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
};
|
|
711
|
+
export type GetCoinSwapsResponse = GetCoinSwapsResponses[keyof GetCoinSwapsResponses];
|
|
426
712
|
export type GetCoinsData = {
|
|
427
713
|
body?: never;
|
|
428
714
|
path?: never;
|
|
@@ -487,23 +773,6 @@ export type GetCoinsResponses = {
|
|
|
487
773
|
*/
|
|
488
774
|
createdAt?: string;
|
|
489
775
|
creatorAddress?: string;
|
|
490
|
-
creatorEarnings?: Array<{
|
|
491
|
-
amount: {
|
|
492
|
-
currencyAddress: string;
|
|
493
|
-
/**
|
|
494
|
-
* 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.
|
|
495
|
-
*/
|
|
496
|
-
amountRaw: string;
|
|
497
|
-
/**
|
|
498
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
499
|
-
*/
|
|
500
|
-
amountDecimal: number;
|
|
501
|
-
};
|
|
502
|
-
/**
|
|
503
|
-
* 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.
|
|
504
|
-
*/
|
|
505
|
-
amountUsd?: string;
|
|
506
|
-
}>;
|
|
507
776
|
poolCurrencyToken?: {
|
|
508
777
|
/**
|
|
509
778
|
* 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.
|
|
@@ -572,6 +841,67 @@ export type GetCoinsResponses = {
|
|
|
572
841
|
small: string;
|
|
573
842
|
};
|
|
574
843
|
};
|
|
844
|
+
socialAccounts: {
|
|
845
|
+
instagram?: {
|
|
846
|
+
/**
|
|
847
|
+
* 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.
|
|
848
|
+
*/
|
|
849
|
+
username?: string;
|
|
850
|
+
/**
|
|
851
|
+
* 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.
|
|
852
|
+
*/
|
|
853
|
+
displayName?: string;
|
|
854
|
+
/**
|
|
855
|
+
* 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.
|
|
856
|
+
*/
|
|
857
|
+
id?: string;
|
|
858
|
+
};
|
|
859
|
+
tiktok?: {
|
|
860
|
+
/**
|
|
861
|
+
* 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.
|
|
862
|
+
*/
|
|
863
|
+
username?: string;
|
|
864
|
+
/**
|
|
865
|
+
* 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.
|
|
866
|
+
*/
|
|
867
|
+
displayName?: string;
|
|
868
|
+
/**
|
|
869
|
+
* 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.
|
|
870
|
+
*/
|
|
871
|
+
id?: string;
|
|
872
|
+
};
|
|
873
|
+
twitter?: {
|
|
874
|
+
/**
|
|
875
|
+
* 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.
|
|
876
|
+
*/
|
|
877
|
+
username?: string;
|
|
878
|
+
/**
|
|
879
|
+
* 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.
|
|
880
|
+
*/
|
|
881
|
+
displayName?: string;
|
|
882
|
+
/**
|
|
883
|
+
* 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.
|
|
884
|
+
*/
|
|
885
|
+
id?: string;
|
|
886
|
+
};
|
|
887
|
+
farcaster?: {
|
|
888
|
+
/**
|
|
889
|
+
* 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.
|
|
890
|
+
*/
|
|
891
|
+
username?: string;
|
|
892
|
+
/**
|
|
893
|
+
* 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.
|
|
894
|
+
*/
|
|
895
|
+
displayName?: string;
|
|
896
|
+
/**
|
|
897
|
+
* 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.
|
|
898
|
+
*/
|
|
899
|
+
id?: string;
|
|
900
|
+
};
|
|
901
|
+
};
|
|
902
|
+
creatorCoin?: {
|
|
903
|
+
address: string;
|
|
904
|
+
};
|
|
575
905
|
};
|
|
576
906
|
mediaContent?: {
|
|
577
907
|
/**
|
|
@@ -632,6 +962,15 @@ export type GetCoinsResponses = {
|
|
|
632
962
|
count: number;
|
|
633
963
|
edges: Array<{
|
|
634
964
|
node: {
|
|
965
|
+
/**
|
|
966
|
+
* 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.
|
|
967
|
+
*/
|
|
968
|
+
commentId: string;
|
|
969
|
+
/**
|
|
970
|
+
* 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.
|
|
971
|
+
*/
|
|
972
|
+
nonce: string;
|
|
973
|
+
userAddress: string;
|
|
635
974
|
/**
|
|
636
975
|
* 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.
|
|
637
976
|
*/
|
|
@@ -640,7 +979,6 @@ export type GetCoinsResponses = {
|
|
|
640
979
|
* 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.
|
|
641
980
|
*/
|
|
642
981
|
comment: string;
|
|
643
|
-
userAddress: string;
|
|
644
982
|
/**
|
|
645
983
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
646
984
|
*/
|
|
@@ -674,6 +1012,23 @@ export type GetCoinsResponses = {
|
|
|
674
1012
|
};
|
|
675
1013
|
}>;
|
|
676
1014
|
};
|
|
1015
|
+
creatorEarnings?: Array<{
|
|
1016
|
+
amount: {
|
|
1017
|
+
currencyAddress: string;
|
|
1018
|
+
/**
|
|
1019
|
+
* 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.
|
|
1020
|
+
*/
|
|
1021
|
+
amountRaw: string;
|
|
1022
|
+
/**
|
|
1023
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
1024
|
+
*/
|
|
1025
|
+
amountDecimal: number;
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* 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.
|
|
1029
|
+
*/
|
|
1030
|
+
amountUsd?: string;
|
|
1031
|
+
}>;
|
|
677
1032
|
}>;
|
|
678
1033
|
};
|
|
679
1034
|
};
|
|
@@ -770,23 +1125,6 @@ export type GetExploreResponses = {
|
|
|
770
1125
|
*/
|
|
771
1126
|
createdAt?: string;
|
|
772
1127
|
creatorAddress?: string;
|
|
773
|
-
creatorEarnings?: Array<{
|
|
774
|
-
amount: {
|
|
775
|
-
currencyAddress: string;
|
|
776
|
-
/**
|
|
777
|
-
* 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.
|
|
778
|
-
*/
|
|
779
|
-
amountRaw: string;
|
|
780
|
-
/**
|
|
781
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
782
|
-
*/
|
|
783
|
-
amountDecimal: number;
|
|
784
|
-
};
|
|
785
|
-
/**
|
|
786
|
-
* 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.
|
|
787
|
-
*/
|
|
788
|
-
amountUsd?: string;
|
|
789
|
-
}>;
|
|
790
1128
|
poolCurrencyToken?: {
|
|
791
1129
|
/**
|
|
792
1130
|
* 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.
|
|
@@ -855,6 +1193,67 @@ export type GetExploreResponses = {
|
|
|
855
1193
|
small: string;
|
|
856
1194
|
};
|
|
857
1195
|
};
|
|
1196
|
+
socialAccounts: {
|
|
1197
|
+
instagram?: {
|
|
1198
|
+
/**
|
|
1199
|
+
* 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.
|
|
1200
|
+
*/
|
|
1201
|
+
username?: string;
|
|
1202
|
+
/**
|
|
1203
|
+
* 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.
|
|
1204
|
+
*/
|
|
1205
|
+
displayName?: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* 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.
|
|
1208
|
+
*/
|
|
1209
|
+
id?: string;
|
|
1210
|
+
};
|
|
1211
|
+
tiktok?: {
|
|
1212
|
+
/**
|
|
1213
|
+
* 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.
|
|
1214
|
+
*/
|
|
1215
|
+
username?: string;
|
|
1216
|
+
/**
|
|
1217
|
+
* 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.
|
|
1218
|
+
*/
|
|
1219
|
+
displayName?: string;
|
|
1220
|
+
/**
|
|
1221
|
+
* 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.
|
|
1222
|
+
*/
|
|
1223
|
+
id?: string;
|
|
1224
|
+
};
|
|
1225
|
+
twitter?: {
|
|
1226
|
+
/**
|
|
1227
|
+
* 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.
|
|
1228
|
+
*/
|
|
1229
|
+
username?: string;
|
|
1230
|
+
/**
|
|
1231
|
+
* 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.
|
|
1232
|
+
*/
|
|
1233
|
+
displayName?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* 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.
|
|
1236
|
+
*/
|
|
1237
|
+
id?: string;
|
|
1238
|
+
};
|
|
1239
|
+
farcaster?: {
|
|
1240
|
+
/**
|
|
1241
|
+
* 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.
|
|
1242
|
+
*/
|
|
1243
|
+
username?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
* 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.
|
|
1246
|
+
*/
|
|
1247
|
+
displayName?: string;
|
|
1248
|
+
/**
|
|
1249
|
+
* 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.
|
|
1250
|
+
*/
|
|
1251
|
+
id?: string;
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
creatorCoin?: {
|
|
1255
|
+
address: string;
|
|
1256
|
+
};
|
|
858
1257
|
};
|
|
859
1258
|
mediaContent?: {
|
|
860
1259
|
/**
|
|
@@ -985,22 +1384,60 @@ export type GetProfileResponses = {
|
|
|
985
1384
|
};
|
|
986
1385
|
socialAccounts: {
|
|
987
1386
|
instagram?: {
|
|
1387
|
+
/**
|
|
1388
|
+
* 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.
|
|
1389
|
+
*/
|
|
1390
|
+
username?: string;
|
|
988
1391
|
/**
|
|
989
1392
|
* 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.
|
|
990
1393
|
*/
|
|
991
1394
|
displayName?: string;
|
|
1395
|
+
/**
|
|
1396
|
+
* 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.
|
|
1397
|
+
*/
|
|
1398
|
+
id?: string;
|
|
992
1399
|
};
|
|
993
1400
|
tiktok?: {
|
|
1401
|
+
/**
|
|
1402
|
+
* 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.
|
|
1403
|
+
*/
|
|
1404
|
+
username?: string;
|
|
994
1405
|
/**
|
|
995
1406
|
* 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.
|
|
996
1407
|
*/
|
|
997
1408
|
displayName?: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* 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.
|
|
1411
|
+
*/
|
|
1412
|
+
id?: string;
|
|
998
1413
|
};
|
|
999
1414
|
twitter?: {
|
|
1415
|
+
/**
|
|
1416
|
+
* 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.
|
|
1417
|
+
*/
|
|
1418
|
+
username?: string;
|
|
1419
|
+
/**
|
|
1420
|
+
* 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.
|
|
1421
|
+
*/
|
|
1422
|
+
displayName?: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* 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.
|
|
1425
|
+
*/
|
|
1426
|
+
id?: string;
|
|
1427
|
+
};
|
|
1428
|
+
farcaster?: {
|
|
1429
|
+
/**
|
|
1430
|
+
* 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.
|
|
1431
|
+
*/
|
|
1432
|
+
username?: string;
|
|
1000
1433
|
/**
|
|
1001
1434
|
* 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.
|
|
1002
1435
|
*/
|
|
1003
1436
|
displayName?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* 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.
|
|
1439
|
+
*/
|
|
1440
|
+
id?: string;
|
|
1004
1441
|
};
|
|
1005
1442
|
};
|
|
1006
1443
|
linkedWallets: {
|
|
@@ -1033,6 +1470,8 @@ export type GetProfileBalancesData = {
|
|
|
1033
1470
|
identifier: string;
|
|
1034
1471
|
count?: number;
|
|
1035
1472
|
after?: string;
|
|
1473
|
+
sortOption?: "BALANCE" | "MARKET_CAP" | "USD_VALUE" | "PRICE_CHANGE";
|
|
1474
|
+
excludeHidden?: boolean;
|
|
1036
1475
|
chainIds?: Array<number>;
|
|
1037
1476
|
};
|
|
1038
1477
|
url: "/profileBalances";
|
|
@@ -1066,17 +1505,78 @@ export type GetProfileBalancesResponses = {
|
|
|
1066
1505
|
/**
|
|
1067
1506
|
* 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.
|
|
1068
1507
|
*/
|
|
1069
|
-
blurhash?: string;
|
|
1508
|
+
blurhash?: string;
|
|
1509
|
+
/**
|
|
1510
|
+
* 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.
|
|
1511
|
+
*/
|
|
1512
|
+
medium: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* 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.
|
|
1515
|
+
*/
|
|
1516
|
+
small: string;
|
|
1517
|
+
};
|
|
1518
|
+
};
|
|
1519
|
+
socialAccounts: {
|
|
1520
|
+
instagram?: {
|
|
1521
|
+
/**
|
|
1522
|
+
* 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.
|
|
1523
|
+
*/
|
|
1524
|
+
username?: string;
|
|
1525
|
+
/**
|
|
1526
|
+
* 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.
|
|
1527
|
+
*/
|
|
1528
|
+
displayName?: string;
|
|
1529
|
+
/**
|
|
1530
|
+
* 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.
|
|
1531
|
+
*/
|
|
1532
|
+
id?: string;
|
|
1533
|
+
};
|
|
1534
|
+
tiktok?: {
|
|
1535
|
+
/**
|
|
1536
|
+
* 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.
|
|
1537
|
+
*/
|
|
1538
|
+
username?: string;
|
|
1539
|
+
/**
|
|
1540
|
+
* 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.
|
|
1541
|
+
*/
|
|
1542
|
+
displayName?: string;
|
|
1543
|
+
/**
|
|
1544
|
+
* 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.
|
|
1545
|
+
*/
|
|
1546
|
+
id?: string;
|
|
1547
|
+
};
|
|
1548
|
+
twitter?: {
|
|
1070
1549
|
/**
|
|
1071
1550
|
* 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.
|
|
1072
1551
|
*/
|
|
1073
|
-
|
|
1552
|
+
username?: string;
|
|
1074
1553
|
/**
|
|
1075
1554
|
* 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.
|
|
1076
1555
|
*/
|
|
1077
|
-
|
|
1556
|
+
displayName?: string;
|
|
1557
|
+
/**
|
|
1558
|
+
* 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.
|
|
1559
|
+
*/
|
|
1560
|
+
id?: string;
|
|
1561
|
+
};
|
|
1562
|
+
farcaster?: {
|
|
1563
|
+
/**
|
|
1564
|
+
* 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.
|
|
1565
|
+
*/
|
|
1566
|
+
username?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* 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.
|
|
1569
|
+
*/
|
|
1570
|
+
displayName?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* 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.
|
|
1573
|
+
*/
|
|
1574
|
+
id?: string;
|
|
1078
1575
|
};
|
|
1079
1576
|
};
|
|
1577
|
+
creatorCoin?: {
|
|
1578
|
+
address: string;
|
|
1579
|
+
};
|
|
1080
1580
|
coinBalances: {
|
|
1081
1581
|
/**
|
|
1082
1582
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -1127,23 +1627,6 @@ export type GetProfileBalancesResponses = {
|
|
|
1127
1627
|
*/
|
|
1128
1628
|
createdAt?: string;
|
|
1129
1629
|
creatorAddress?: string;
|
|
1130
|
-
creatorEarnings?: Array<{
|
|
1131
|
-
amount: {
|
|
1132
|
-
currencyAddress: string;
|
|
1133
|
-
/**
|
|
1134
|
-
* 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.
|
|
1135
|
-
*/
|
|
1136
|
-
amountRaw: string;
|
|
1137
|
-
/**
|
|
1138
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
1139
|
-
*/
|
|
1140
|
-
amountDecimal: number;
|
|
1141
|
-
};
|
|
1142
|
-
/**
|
|
1143
|
-
* 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.
|
|
1144
|
-
*/
|
|
1145
|
-
amountUsd?: string;
|
|
1146
|
-
}>;
|
|
1147
1630
|
poolCurrencyToken?: {
|
|
1148
1631
|
/**
|
|
1149
1632
|
* 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.
|
|
@@ -1212,6 +1695,67 @@ export type GetProfileBalancesResponses = {
|
|
|
1212
1695
|
small: string;
|
|
1213
1696
|
};
|
|
1214
1697
|
};
|
|
1698
|
+
socialAccounts: {
|
|
1699
|
+
instagram?: {
|
|
1700
|
+
/**
|
|
1701
|
+
* 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.
|
|
1702
|
+
*/
|
|
1703
|
+
username?: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* 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.
|
|
1706
|
+
*/
|
|
1707
|
+
displayName?: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* 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.
|
|
1710
|
+
*/
|
|
1711
|
+
id?: string;
|
|
1712
|
+
};
|
|
1713
|
+
tiktok?: {
|
|
1714
|
+
/**
|
|
1715
|
+
* 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.
|
|
1716
|
+
*/
|
|
1717
|
+
username?: string;
|
|
1718
|
+
/**
|
|
1719
|
+
* 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.
|
|
1720
|
+
*/
|
|
1721
|
+
displayName?: string;
|
|
1722
|
+
/**
|
|
1723
|
+
* 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.
|
|
1724
|
+
*/
|
|
1725
|
+
id?: string;
|
|
1726
|
+
};
|
|
1727
|
+
twitter?: {
|
|
1728
|
+
/**
|
|
1729
|
+
* 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.
|
|
1730
|
+
*/
|
|
1731
|
+
username?: string;
|
|
1732
|
+
/**
|
|
1733
|
+
* 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.
|
|
1734
|
+
*/
|
|
1735
|
+
displayName?: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* 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.
|
|
1738
|
+
*/
|
|
1739
|
+
id?: string;
|
|
1740
|
+
};
|
|
1741
|
+
farcaster?: {
|
|
1742
|
+
/**
|
|
1743
|
+
* 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.
|
|
1744
|
+
*/
|
|
1745
|
+
username?: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* 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.
|
|
1748
|
+
*/
|
|
1749
|
+
displayName?: string;
|
|
1750
|
+
/**
|
|
1751
|
+
* 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.
|
|
1752
|
+
*/
|
|
1753
|
+
id?: string;
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
creatorCoin?: {
|
|
1757
|
+
address: string;
|
|
1758
|
+
};
|
|
1215
1759
|
};
|
|
1216
1760
|
mediaContent?: {
|
|
1217
1761
|
/**
|
|
@@ -1325,6 +1869,67 @@ export type GetProfileCoinsResponses = {
|
|
|
1325
1869
|
small: string;
|
|
1326
1870
|
};
|
|
1327
1871
|
};
|
|
1872
|
+
socialAccounts: {
|
|
1873
|
+
instagram?: {
|
|
1874
|
+
/**
|
|
1875
|
+
* 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.
|
|
1876
|
+
*/
|
|
1877
|
+
username?: string;
|
|
1878
|
+
/**
|
|
1879
|
+
* 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.
|
|
1880
|
+
*/
|
|
1881
|
+
displayName?: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* 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.
|
|
1884
|
+
*/
|
|
1885
|
+
id?: string;
|
|
1886
|
+
};
|
|
1887
|
+
tiktok?: {
|
|
1888
|
+
/**
|
|
1889
|
+
* 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.
|
|
1890
|
+
*/
|
|
1891
|
+
username?: string;
|
|
1892
|
+
/**
|
|
1893
|
+
* 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.
|
|
1894
|
+
*/
|
|
1895
|
+
displayName?: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* 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.
|
|
1898
|
+
*/
|
|
1899
|
+
id?: string;
|
|
1900
|
+
};
|
|
1901
|
+
twitter?: {
|
|
1902
|
+
/**
|
|
1903
|
+
* 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.
|
|
1904
|
+
*/
|
|
1905
|
+
username?: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* 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.
|
|
1908
|
+
*/
|
|
1909
|
+
displayName?: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* 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.
|
|
1912
|
+
*/
|
|
1913
|
+
id?: string;
|
|
1914
|
+
};
|
|
1915
|
+
farcaster?: {
|
|
1916
|
+
/**
|
|
1917
|
+
* 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.
|
|
1918
|
+
*/
|
|
1919
|
+
username?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
* 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.
|
|
1922
|
+
*/
|
|
1923
|
+
displayName?: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* 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.
|
|
1926
|
+
*/
|
|
1927
|
+
id?: string;
|
|
1928
|
+
};
|
|
1929
|
+
};
|
|
1930
|
+
creatorCoin?: {
|
|
1931
|
+
address: string;
|
|
1932
|
+
};
|
|
1328
1933
|
createdCoins?: {
|
|
1329
1934
|
/**
|
|
1330
1935
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -1366,23 +1971,6 @@ export type GetProfileCoinsResponses = {
|
|
|
1366
1971
|
*/
|
|
1367
1972
|
createdAt?: string;
|
|
1368
1973
|
creatorAddress?: string;
|
|
1369
|
-
creatorEarnings?: Array<{
|
|
1370
|
-
amount: {
|
|
1371
|
-
currencyAddress: string;
|
|
1372
|
-
/**
|
|
1373
|
-
* 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.
|
|
1374
|
-
*/
|
|
1375
|
-
amountRaw: string;
|
|
1376
|
-
/**
|
|
1377
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
1378
|
-
*/
|
|
1379
|
-
amountDecimal: number;
|
|
1380
|
-
};
|
|
1381
|
-
/**
|
|
1382
|
-
* 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.
|
|
1383
|
-
*/
|
|
1384
|
-
amountUsd?: string;
|
|
1385
|
-
}>;
|
|
1386
1974
|
poolCurrencyToken?: {
|
|
1387
1975
|
/**
|
|
1388
1976
|
* 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.
|
|
@@ -1451,6 +2039,67 @@ export type GetProfileCoinsResponses = {
|
|
|
1451
2039
|
small: string;
|
|
1452
2040
|
};
|
|
1453
2041
|
};
|
|
2042
|
+
socialAccounts: {
|
|
2043
|
+
instagram?: {
|
|
2044
|
+
/**
|
|
2045
|
+
* 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.
|
|
2046
|
+
*/
|
|
2047
|
+
username?: string;
|
|
2048
|
+
/**
|
|
2049
|
+
* 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.
|
|
2050
|
+
*/
|
|
2051
|
+
displayName?: string;
|
|
2052
|
+
/**
|
|
2053
|
+
* 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.
|
|
2054
|
+
*/
|
|
2055
|
+
id?: string;
|
|
2056
|
+
};
|
|
2057
|
+
tiktok?: {
|
|
2058
|
+
/**
|
|
2059
|
+
* 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.
|
|
2060
|
+
*/
|
|
2061
|
+
username?: string;
|
|
2062
|
+
/**
|
|
2063
|
+
* 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.
|
|
2064
|
+
*/
|
|
2065
|
+
displayName?: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* 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.
|
|
2068
|
+
*/
|
|
2069
|
+
id?: string;
|
|
2070
|
+
};
|
|
2071
|
+
twitter?: {
|
|
2072
|
+
/**
|
|
2073
|
+
* 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.
|
|
2074
|
+
*/
|
|
2075
|
+
username?: string;
|
|
2076
|
+
/**
|
|
2077
|
+
* 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.
|
|
2078
|
+
*/
|
|
2079
|
+
displayName?: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* 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.
|
|
2082
|
+
*/
|
|
2083
|
+
id?: string;
|
|
2084
|
+
};
|
|
2085
|
+
farcaster?: {
|
|
2086
|
+
/**
|
|
2087
|
+
* 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.
|
|
2088
|
+
*/
|
|
2089
|
+
username?: string;
|
|
2090
|
+
/**
|
|
2091
|
+
* 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.
|
|
2092
|
+
*/
|
|
2093
|
+
displayName?: string;
|
|
2094
|
+
/**
|
|
2095
|
+
* 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.
|
|
2096
|
+
*/
|
|
2097
|
+
id?: string;
|
|
2098
|
+
};
|
|
2099
|
+
};
|
|
2100
|
+
creatorCoin?: {
|
|
2101
|
+
address: string;
|
|
2102
|
+
};
|
|
1454
2103
|
};
|
|
1455
2104
|
mediaContent?: {
|
|
1456
2105
|
/**
|
|
@@ -1511,6 +2160,15 @@ export type GetProfileCoinsResponses = {
|
|
|
1511
2160
|
count: number;
|
|
1512
2161
|
edges: Array<{
|
|
1513
2162
|
node: {
|
|
2163
|
+
/**
|
|
2164
|
+
* 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.
|
|
2165
|
+
*/
|
|
2166
|
+
commentId: string;
|
|
2167
|
+
/**
|
|
2168
|
+
* 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.
|
|
2169
|
+
*/
|
|
2170
|
+
nonce: string;
|
|
2171
|
+
userAddress: string;
|
|
1514
2172
|
/**
|
|
1515
2173
|
* 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.
|
|
1516
2174
|
*/
|
|
@@ -1519,7 +2177,6 @@ export type GetProfileCoinsResponses = {
|
|
|
1519
2177
|
* 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.
|
|
1520
2178
|
*/
|
|
1521
2179
|
comment: string;
|
|
1522
|
-
userAddress: string;
|
|
1523
2180
|
/**
|
|
1524
2181
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1525
2182
|
*/
|
|
@@ -1572,6 +2229,7 @@ export type GetProfileCoinsResponses = {
|
|
|
1572
2229
|
export type GetProfileCoinsResponse = GetProfileCoinsResponses[keyof GetProfileCoinsResponses];
|
|
1573
2230
|
export type PostQuoteData = {
|
|
1574
2231
|
body?: {
|
|
2232
|
+
referrer?: string;
|
|
1575
2233
|
signatures?: Array<{
|
|
1576
2234
|
permit: {
|
|
1577
2235
|
details: {
|
|
@@ -1656,6 +2314,129 @@ export type PostQuoteResponses = {
|
|
|
1656
2314
|
};
|
|
1657
2315
|
};
|
|
1658
2316
|
export type PostQuoteResponse = PostQuoteResponses[keyof PostQuoteResponses];
|
|
2317
|
+
export type GetCreateContentPoolConfigData = {
|
|
2318
|
+
body?: never;
|
|
2319
|
+
path?: never;
|
|
2320
|
+
query?: {
|
|
2321
|
+
starting_market_cap?: "HIGH" | "LOW";
|
|
2322
|
+
currency?: "CREATOR_COIN" | "ZORA" | "ETH" | "CREATOR_COIN_OR_ZORA";
|
|
2323
|
+
creator_identifier?: string;
|
|
2324
|
+
chain_id?: string;
|
|
2325
|
+
};
|
|
2326
|
+
url: "/create/content/pool-config";
|
|
2327
|
+
};
|
|
2328
|
+
export type GetCreateContentPoolConfigErrors = {
|
|
2329
|
+
/**
|
|
2330
|
+
* Invalid backing currency address
|
|
2331
|
+
*/
|
|
2332
|
+
400: {
|
|
2333
|
+
error: string;
|
|
2334
|
+
};
|
|
2335
|
+
};
|
|
2336
|
+
export type GetCreateContentPoolConfigError = GetCreateContentPoolConfigErrors[keyof GetCreateContentPoolConfigErrors];
|
|
2337
|
+
export type GetCreateContentPoolConfigResponses = {
|
|
2338
|
+
/**
|
|
2339
|
+
* Content pool configuration
|
|
2340
|
+
*/
|
|
2341
|
+
200: {
|
|
2342
|
+
/**
|
|
2343
|
+
* Encoded pool configuration as hex string
|
|
2344
|
+
*/
|
|
2345
|
+
poolConfig: string;
|
|
2346
|
+
};
|
|
2347
|
+
};
|
|
2348
|
+
export type GetCreateContentPoolConfigResponse = GetCreateContentPoolConfigResponses[keyof GetCreateContentPoolConfigResponses];
|
|
2349
|
+
export type PostCreateContentData = {
|
|
2350
|
+
body?: {
|
|
2351
|
+
/**
|
|
2352
|
+
* EOA address of the content creator. Auto-included in the owners set and used as default payout recipient if none is specified.
|
|
2353
|
+
*/
|
|
2354
|
+
creator: string;
|
|
2355
|
+
/**
|
|
2356
|
+
* Human-readable name for the content coin.
|
|
2357
|
+
*/
|
|
2358
|
+
name: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* Ticker symbol for the content coin (e.g. ZORA).
|
|
2361
|
+
*/
|
|
2362
|
+
symbol: string;
|
|
2363
|
+
/**
|
|
2364
|
+
* Metadata configuration for the content coin.
|
|
2365
|
+
*/
|
|
2366
|
+
metadata: {
|
|
2367
|
+
/**
|
|
2368
|
+
* Metadata type. Only RAW_URI is supported.
|
|
2369
|
+
*/
|
|
2370
|
+
type: "RAW_URI";
|
|
2371
|
+
/**
|
|
2372
|
+
* IPFS or HTTPS URI pointing to the metadata JSON (e.g. ipfs://... or https://...).
|
|
2373
|
+
*/
|
|
2374
|
+
uri: string;
|
|
2375
|
+
};
|
|
2376
|
+
/**
|
|
2377
|
+
* Backing currency selection for the pool.
|
|
2378
|
+
*/
|
|
2379
|
+
currency: "CREATOR_COIN" | "ZORA" | "ETH" | "CREATOR_COIN_OR_ZORA";
|
|
2380
|
+
/**
|
|
2381
|
+
* Target EVM chain ID. Supported: Base mainnet and Base Sepolia. Defaults to Base mainnet.
|
|
2382
|
+
*/
|
|
2383
|
+
chainId?: number;
|
|
2384
|
+
/**
|
|
2385
|
+
* Initial market cap tier for the pool configuration.
|
|
2386
|
+
*/
|
|
2387
|
+
startingMarketCap?: "LOW" | "HIGH";
|
|
2388
|
+
/**
|
|
2389
|
+
* Optional platform referrer address for attribution. Use zero address if not applicable.
|
|
2390
|
+
*/
|
|
2391
|
+
platformReferrer?: string;
|
|
2392
|
+
/**
|
|
2393
|
+
* Optional additional owner addresses to include. Each owner has full admin access to the coin. The creator address is automatically included.
|
|
2394
|
+
*/
|
|
2395
|
+
additionalOwners?: Array<string>;
|
|
2396
|
+
/**
|
|
2397
|
+
* Optional address to receive payouts/fees. Defaults to the creator if omitted.
|
|
2398
|
+
*/
|
|
2399
|
+
payoutRecipientOverride?: string;
|
|
2400
|
+
/**
|
|
2401
|
+
* Optional smart wallet routing. Defaults to AUTO if omitted.
|
|
2402
|
+
*/
|
|
2403
|
+
smartWalletRouting?: "AUTO" | "DISABLE";
|
|
2404
|
+
};
|
|
2405
|
+
path?: never;
|
|
2406
|
+
query?: never;
|
|
2407
|
+
url: "/create/content";
|
|
2408
|
+
};
|
|
2409
|
+
export type PostCreateContentErrors = {
|
|
2410
|
+
/**
|
|
2411
|
+
* Invalid request parameters
|
|
2412
|
+
*/
|
|
2413
|
+
400: {
|
|
2414
|
+
error: string;
|
|
2415
|
+
};
|
|
2416
|
+
};
|
|
2417
|
+
export type PostCreateContentError = PostCreateContentErrors[keyof PostCreateContentErrors];
|
|
2418
|
+
export type PostCreateContentResponses = {
|
|
2419
|
+
/**
|
|
2420
|
+
* Content coin creation parameters
|
|
2421
|
+
*/
|
|
2422
|
+
200: {
|
|
2423
|
+
calls?: Array<{
|
|
2424
|
+
/**
|
|
2425
|
+
* Encoded function call data
|
|
2426
|
+
*/
|
|
2427
|
+
to: string;
|
|
2428
|
+
/**
|
|
2429
|
+
* Target contract address
|
|
2430
|
+
*/
|
|
2431
|
+
data: string;
|
|
2432
|
+
/**
|
|
2433
|
+
* ETH value to send
|
|
2434
|
+
*/
|
|
2435
|
+
value: string;
|
|
2436
|
+
}>;
|
|
2437
|
+
};
|
|
2438
|
+
};
|
|
2439
|
+
export type PostCreateContentResponse = PostCreateContentResponses[keyof PostCreateContentResponses];
|
|
1659
2440
|
export type ClientOptions = {
|
|
1660
2441
|
baseUrl: "https://api-sdk.zora.engineering/" | "https://api-sdk-staging.zora.engineering/" | "http://localhost:8787/" | (string & {});
|
|
1661
2442
|
};
|