@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
package/src/client/types.gen.ts
CHANGED
|
@@ -101,23 +101,6 @@ export type GetCoinResponses = {
|
|
|
101
101
|
*/
|
|
102
102
|
createdAt?: string;
|
|
103
103
|
creatorAddress?: string;
|
|
104
|
-
creatorEarnings?: Array<{
|
|
105
|
-
amount: {
|
|
106
|
-
currencyAddress: string;
|
|
107
|
-
/**
|
|
108
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
109
|
-
*/
|
|
110
|
-
amountRaw: string;
|
|
111
|
-
/**
|
|
112
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
113
|
-
*/
|
|
114
|
-
amountDecimal: number;
|
|
115
|
-
};
|
|
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
|
-
*/
|
|
119
|
-
amountUsd?: string;
|
|
120
|
-
}>;
|
|
121
104
|
poolCurrencyToken?: {
|
|
122
105
|
/**
|
|
123
106
|
* The `String` scalar type represents 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,6 +169,67 @@ export type GetCoinResponses = {
|
|
|
186
169
|
small: string;
|
|
187
170
|
};
|
|
188
171
|
};
|
|
172
|
+
socialAccounts: {
|
|
173
|
+
instagram?: {
|
|
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
|
+
username?: string;
|
|
178
|
+
/**
|
|
179
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
180
|
+
*/
|
|
181
|
+
displayName?: string;
|
|
182
|
+
/**
|
|
183
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
184
|
+
*/
|
|
185
|
+
id?: string;
|
|
186
|
+
};
|
|
187
|
+
tiktok?: {
|
|
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
|
+
username?: string;
|
|
192
|
+
/**
|
|
193
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
194
|
+
*/
|
|
195
|
+
displayName?: string;
|
|
196
|
+
/**
|
|
197
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
198
|
+
*/
|
|
199
|
+
id?: string;
|
|
200
|
+
};
|
|
201
|
+
twitter?: {
|
|
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
|
+
username?: string;
|
|
206
|
+
/**
|
|
207
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
208
|
+
*/
|
|
209
|
+
displayName?: string;
|
|
210
|
+
/**
|
|
211
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
212
|
+
*/
|
|
213
|
+
id?: string;
|
|
214
|
+
};
|
|
215
|
+
farcaster?: {
|
|
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
|
+
username?: string;
|
|
220
|
+
/**
|
|
221
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
222
|
+
*/
|
|
223
|
+
displayName?: string;
|
|
224
|
+
/**
|
|
225
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
226
|
+
*/
|
|
227
|
+
id?: string;
|
|
228
|
+
};
|
|
229
|
+
};
|
|
230
|
+
creatorCoin?: {
|
|
231
|
+
address: string;
|
|
232
|
+
};
|
|
189
233
|
};
|
|
190
234
|
mediaContent?: {
|
|
191
235
|
/**
|
|
@@ -246,6 +290,15 @@ export type GetCoinResponses = {
|
|
|
246
290
|
count: number;
|
|
247
291
|
edges: Array<{
|
|
248
292
|
node: {
|
|
293
|
+
/**
|
|
294
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
295
|
+
*/
|
|
296
|
+
commentId: string;
|
|
297
|
+
/**
|
|
298
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
299
|
+
*/
|
|
300
|
+
nonce: string;
|
|
301
|
+
userAddress: string;
|
|
249
302
|
/**
|
|
250
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.
|
|
251
304
|
*/
|
|
@@ -254,7 +307,6 @@ export type GetCoinResponses = {
|
|
|
254
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.
|
|
255
308
|
*/
|
|
256
309
|
comment: string;
|
|
257
|
-
userAddress: string;
|
|
258
310
|
/**
|
|
259
311
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
260
312
|
*/
|
|
@@ -288,6 +340,23 @@ export type GetCoinResponses = {
|
|
|
288
340
|
};
|
|
289
341
|
}>;
|
|
290
342
|
};
|
|
343
|
+
creatorEarnings?: Array<{
|
|
344
|
+
amount: {
|
|
345
|
+
currencyAddress: string;
|
|
346
|
+
/**
|
|
347
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
348
|
+
*/
|
|
349
|
+
amountRaw: string;
|
|
350
|
+
/**
|
|
351
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
352
|
+
*/
|
|
353
|
+
amountDecimal: number;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
357
|
+
*/
|
|
358
|
+
amountUsd?: string;
|
|
359
|
+
}>;
|
|
291
360
|
};
|
|
292
361
|
};
|
|
293
362
|
};
|
|
@@ -340,6 +409,15 @@ export type GetCoinCommentsResponses = {
|
|
|
340
409
|
count: number;
|
|
341
410
|
edges: Array<{
|
|
342
411
|
node: {
|
|
412
|
+
/**
|
|
413
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
414
|
+
*/
|
|
415
|
+
commentId: string;
|
|
416
|
+
/**
|
|
417
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
418
|
+
*/
|
|
419
|
+
nonce: string;
|
|
420
|
+
userAddress: string;
|
|
343
421
|
/**
|
|
344
422
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
345
423
|
*/
|
|
@@ -348,7 +426,6 @@ export type GetCoinCommentsResponses = {
|
|
|
348
426
|
* The `String` scalar type represents 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
427
|
*/
|
|
350
428
|
comment: string;
|
|
351
|
-
userAddress: string;
|
|
352
429
|
/**
|
|
353
430
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
354
431
|
*/
|
|
@@ -386,6 +463,15 @@ export type GetCoinCommentsResponses = {
|
|
|
386
463
|
count: number;
|
|
387
464
|
edges: Array<{
|
|
388
465
|
node: {
|
|
466
|
+
/**
|
|
467
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
468
|
+
*/
|
|
469
|
+
commentId: string;
|
|
470
|
+
/**
|
|
471
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
472
|
+
*/
|
|
473
|
+
nonce: string;
|
|
474
|
+
userAddress: string;
|
|
389
475
|
/**
|
|
390
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.
|
|
391
477
|
*/
|
|
@@ -394,7 +480,6 @@ export type GetCoinCommentsResponses = {
|
|
|
394
480
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
395
481
|
*/
|
|
396
482
|
comment: string;
|
|
397
|
-
userAddress: string;
|
|
398
483
|
/**
|
|
399
484
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
400
485
|
*/
|
|
@@ -438,6 +523,217 @@ export type GetCoinCommentsResponses = {
|
|
|
438
523
|
export type GetCoinCommentsResponse =
|
|
439
524
|
GetCoinCommentsResponses[keyof GetCoinCommentsResponses];
|
|
440
525
|
|
|
526
|
+
export type GetCoinHoldersData = {
|
|
527
|
+
body?: never;
|
|
528
|
+
path?: never;
|
|
529
|
+
query: {
|
|
530
|
+
chainId: number;
|
|
531
|
+
address: string;
|
|
532
|
+
after?: string;
|
|
533
|
+
count?: number;
|
|
534
|
+
};
|
|
535
|
+
url: "/coinHolders";
|
|
536
|
+
};
|
|
537
|
+
|
|
538
|
+
export type GetCoinHoldersErrors = {
|
|
539
|
+
/**
|
|
540
|
+
* Bad request
|
|
541
|
+
*/
|
|
542
|
+
400: unknown;
|
|
543
|
+
/**
|
|
544
|
+
* Internal server error
|
|
545
|
+
*/
|
|
546
|
+
500: unknown;
|
|
547
|
+
};
|
|
548
|
+
|
|
549
|
+
export type GetCoinHoldersResponses = {
|
|
550
|
+
/**
|
|
551
|
+
* Successful operation
|
|
552
|
+
*/
|
|
553
|
+
200: {
|
|
554
|
+
zora20Token?: {
|
|
555
|
+
tokenBalances: {
|
|
556
|
+
pageInfo: {
|
|
557
|
+
/**
|
|
558
|
+
* When paginating forwards, the cursor to continue.
|
|
559
|
+
*/
|
|
560
|
+
endCursor?: string;
|
|
561
|
+
/**
|
|
562
|
+
* When paginating forwards, are there more items?
|
|
563
|
+
*/
|
|
564
|
+
hasNextPage: boolean;
|
|
565
|
+
};
|
|
566
|
+
/**
|
|
567
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
568
|
+
*/
|
|
569
|
+
count: number;
|
|
570
|
+
edges: Array<{
|
|
571
|
+
node: {
|
|
572
|
+
/**
|
|
573
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
574
|
+
*/
|
|
575
|
+
balance: string;
|
|
576
|
+
ownerAddress: string;
|
|
577
|
+
ownerProfile: {
|
|
578
|
+
/**
|
|
579
|
+
* The Globally Unique ID of this object
|
|
580
|
+
*/
|
|
581
|
+
id: string;
|
|
582
|
+
/**
|
|
583
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
584
|
+
*/
|
|
585
|
+
handle: string;
|
|
586
|
+
avatar?: {
|
|
587
|
+
previewImage: {
|
|
588
|
+
/**
|
|
589
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
590
|
+
*/
|
|
591
|
+
blurhash?: string;
|
|
592
|
+
/**
|
|
593
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
594
|
+
*/
|
|
595
|
+
medium: string;
|
|
596
|
+
/**
|
|
597
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
598
|
+
*/
|
|
599
|
+
small: string;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
}>;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
};
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
export type GetCoinHoldersResponse =
|
|
611
|
+
GetCoinHoldersResponses[keyof GetCoinHoldersResponses];
|
|
612
|
+
|
|
613
|
+
export type GetCoinSwapsData = {
|
|
614
|
+
body?: never;
|
|
615
|
+
path?: never;
|
|
616
|
+
query: {
|
|
617
|
+
address: string;
|
|
618
|
+
chain?: number;
|
|
619
|
+
after?: string;
|
|
620
|
+
first?: number;
|
|
621
|
+
};
|
|
622
|
+
url: "/coinSwaps";
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
export type GetCoinSwapsErrors = {
|
|
626
|
+
/**
|
|
627
|
+
* Bad request
|
|
628
|
+
*/
|
|
629
|
+
400: unknown;
|
|
630
|
+
/**
|
|
631
|
+
* Internal server error
|
|
632
|
+
*/
|
|
633
|
+
500: unknown;
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
export type GetCoinSwapsResponses = {
|
|
637
|
+
/**
|
|
638
|
+
* Successful operation
|
|
639
|
+
*/
|
|
640
|
+
200: {
|
|
641
|
+
zora20Token?: {
|
|
642
|
+
swapActivities: {
|
|
643
|
+
/**
|
|
644
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
645
|
+
*/
|
|
646
|
+
count: number;
|
|
647
|
+
edges: Array<{
|
|
648
|
+
node: {
|
|
649
|
+
/**
|
|
650
|
+
* The Globally Unique ID of this object
|
|
651
|
+
*/
|
|
652
|
+
id: string;
|
|
653
|
+
currencyAmountWithPrice: {
|
|
654
|
+
/**
|
|
655
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
656
|
+
*/
|
|
657
|
+
priceUsdc?: string;
|
|
658
|
+
currencyAmount: {
|
|
659
|
+
currencyAddress: string;
|
|
660
|
+
/**
|
|
661
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
662
|
+
*/
|
|
663
|
+
amountDecimal: number;
|
|
664
|
+
};
|
|
665
|
+
};
|
|
666
|
+
/**
|
|
667
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
668
|
+
*/
|
|
669
|
+
senderAddress: 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
|
+
recipientAddress: string;
|
|
674
|
+
/**
|
|
675
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
676
|
+
*/
|
|
677
|
+
transactionHash: string;
|
|
678
|
+
/**
|
|
679
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
680
|
+
*/
|
|
681
|
+
coinAmount: string;
|
|
682
|
+
/**
|
|
683
|
+
* Date with time (isoformat)
|
|
684
|
+
*/
|
|
685
|
+
blockTimestamp: string;
|
|
686
|
+
activityType?: "BUY" | "SELL";
|
|
687
|
+
senderProfile?: {
|
|
688
|
+
/**
|
|
689
|
+
* The Globally Unique ID of this object
|
|
690
|
+
*/
|
|
691
|
+
id: string;
|
|
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
|
+
handle: string;
|
|
696
|
+
avatar?: {
|
|
697
|
+
previewImage: {
|
|
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
|
+
blurhash?: 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
|
+
medium: string;
|
|
706
|
+
/**
|
|
707
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
708
|
+
*/
|
|
709
|
+
small: string;
|
|
710
|
+
};
|
|
711
|
+
};
|
|
712
|
+
};
|
|
713
|
+
};
|
|
714
|
+
/**
|
|
715
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
716
|
+
*/
|
|
717
|
+
cursor: string;
|
|
718
|
+
}>;
|
|
719
|
+
pageInfo: {
|
|
720
|
+
/**
|
|
721
|
+
* When paginating forwards, the cursor to continue.
|
|
722
|
+
*/
|
|
723
|
+
endCursor?: string;
|
|
724
|
+
/**
|
|
725
|
+
* When paginating forwards, are there more items?
|
|
726
|
+
*/
|
|
727
|
+
hasNextPage: boolean;
|
|
728
|
+
};
|
|
729
|
+
};
|
|
730
|
+
};
|
|
731
|
+
};
|
|
732
|
+
};
|
|
733
|
+
|
|
734
|
+
export type GetCoinSwapsResponse =
|
|
735
|
+
GetCoinSwapsResponses[keyof GetCoinSwapsResponses];
|
|
736
|
+
|
|
441
737
|
export type GetCoinsData = {
|
|
442
738
|
body?: never;
|
|
443
739
|
path?: never;
|
|
@@ -504,23 +800,6 @@ export type GetCoinsResponses = {
|
|
|
504
800
|
*/
|
|
505
801
|
createdAt?: string;
|
|
506
802
|
creatorAddress?: string;
|
|
507
|
-
creatorEarnings?: Array<{
|
|
508
|
-
amount: {
|
|
509
|
-
currencyAddress: string;
|
|
510
|
-
/**
|
|
511
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
512
|
-
*/
|
|
513
|
-
amountRaw: string;
|
|
514
|
-
/**
|
|
515
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
516
|
-
*/
|
|
517
|
-
amountDecimal: number;
|
|
518
|
-
};
|
|
519
|
-
/**
|
|
520
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
521
|
-
*/
|
|
522
|
-
amountUsd?: string;
|
|
523
|
-
}>;
|
|
524
803
|
poolCurrencyToken?: {
|
|
525
804
|
/**
|
|
526
805
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
@@ -589,6 +868,67 @@ export type GetCoinsResponses = {
|
|
|
589
868
|
small: string;
|
|
590
869
|
};
|
|
591
870
|
};
|
|
871
|
+
socialAccounts: {
|
|
872
|
+
instagram?: {
|
|
873
|
+
/**
|
|
874
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
875
|
+
*/
|
|
876
|
+
username?: string;
|
|
877
|
+
/**
|
|
878
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
879
|
+
*/
|
|
880
|
+
displayName?: string;
|
|
881
|
+
/**
|
|
882
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
883
|
+
*/
|
|
884
|
+
id?: string;
|
|
885
|
+
};
|
|
886
|
+
tiktok?: {
|
|
887
|
+
/**
|
|
888
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
889
|
+
*/
|
|
890
|
+
username?: string;
|
|
891
|
+
/**
|
|
892
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
893
|
+
*/
|
|
894
|
+
displayName?: string;
|
|
895
|
+
/**
|
|
896
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
897
|
+
*/
|
|
898
|
+
id?: string;
|
|
899
|
+
};
|
|
900
|
+
twitter?: {
|
|
901
|
+
/**
|
|
902
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
903
|
+
*/
|
|
904
|
+
username?: string;
|
|
905
|
+
/**
|
|
906
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
907
|
+
*/
|
|
908
|
+
displayName?: string;
|
|
909
|
+
/**
|
|
910
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
911
|
+
*/
|
|
912
|
+
id?: string;
|
|
913
|
+
};
|
|
914
|
+
farcaster?: {
|
|
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
|
+
username?: 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
|
+
displayName?: 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
|
+
id?: string;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
creatorCoin?: {
|
|
930
|
+
address: string;
|
|
931
|
+
};
|
|
592
932
|
};
|
|
593
933
|
mediaContent?: {
|
|
594
934
|
/**
|
|
@@ -649,6 +989,15 @@ export type GetCoinsResponses = {
|
|
|
649
989
|
count: number;
|
|
650
990
|
edges: Array<{
|
|
651
991
|
node: {
|
|
992
|
+
/**
|
|
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.
|
|
994
|
+
*/
|
|
995
|
+
commentId: 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
|
+
nonce: string;
|
|
1000
|
+
userAddress: string;
|
|
652
1001
|
/**
|
|
653
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.
|
|
654
1003
|
*/
|
|
@@ -657,7 +1006,6 @@ export type GetCoinsResponses = {
|
|
|
657
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.
|
|
658
1007
|
*/
|
|
659
1008
|
comment: string;
|
|
660
|
-
userAddress: string;
|
|
661
1009
|
/**
|
|
662
1010
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
663
1011
|
*/
|
|
@@ -691,6 +1039,23 @@ export type GetCoinsResponses = {
|
|
|
691
1039
|
};
|
|
692
1040
|
}>;
|
|
693
1041
|
};
|
|
1042
|
+
creatorEarnings?: Array<{
|
|
1043
|
+
amount: {
|
|
1044
|
+
currencyAddress: string;
|
|
1045
|
+
/**
|
|
1046
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1047
|
+
*/
|
|
1048
|
+
amountRaw: string;
|
|
1049
|
+
/**
|
|
1050
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
1051
|
+
*/
|
|
1052
|
+
amountDecimal: number;
|
|
1053
|
+
};
|
|
1054
|
+
/**
|
|
1055
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1056
|
+
*/
|
|
1057
|
+
amountUsd?: string;
|
|
1058
|
+
}>;
|
|
694
1059
|
}>;
|
|
695
1060
|
};
|
|
696
1061
|
};
|
|
@@ -807,23 +1172,6 @@ export type GetExploreResponses = {
|
|
|
807
1172
|
*/
|
|
808
1173
|
createdAt?: string;
|
|
809
1174
|
creatorAddress?: string;
|
|
810
|
-
creatorEarnings?: Array<{
|
|
811
|
-
amount: {
|
|
812
|
-
currencyAddress: string;
|
|
813
|
-
/**
|
|
814
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
815
|
-
*/
|
|
816
|
-
amountRaw: string;
|
|
817
|
-
/**
|
|
818
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
819
|
-
*/
|
|
820
|
-
amountDecimal: number;
|
|
821
|
-
};
|
|
822
|
-
/**
|
|
823
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
824
|
-
*/
|
|
825
|
-
amountUsd?: string;
|
|
826
|
-
}>;
|
|
827
1175
|
poolCurrencyToken?: {
|
|
828
1176
|
/**
|
|
829
1177
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
@@ -892,6 +1240,67 @@ export type GetExploreResponses = {
|
|
|
892
1240
|
small: string;
|
|
893
1241
|
};
|
|
894
1242
|
};
|
|
1243
|
+
socialAccounts: {
|
|
1244
|
+
instagram?: {
|
|
1245
|
+
/**
|
|
1246
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1247
|
+
*/
|
|
1248
|
+
username?: string;
|
|
1249
|
+
/**
|
|
1250
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1251
|
+
*/
|
|
1252
|
+
displayName?: string;
|
|
1253
|
+
/**
|
|
1254
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1255
|
+
*/
|
|
1256
|
+
id?: string;
|
|
1257
|
+
};
|
|
1258
|
+
tiktok?: {
|
|
1259
|
+
/**
|
|
1260
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1261
|
+
*/
|
|
1262
|
+
username?: string;
|
|
1263
|
+
/**
|
|
1264
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1265
|
+
*/
|
|
1266
|
+
displayName?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1269
|
+
*/
|
|
1270
|
+
id?: string;
|
|
1271
|
+
};
|
|
1272
|
+
twitter?: {
|
|
1273
|
+
/**
|
|
1274
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1275
|
+
*/
|
|
1276
|
+
username?: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1279
|
+
*/
|
|
1280
|
+
displayName?: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1283
|
+
*/
|
|
1284
|
+
id?: string;
|
|
1285
|
+
};
|
|
1286
|
+
farcaster?: {
|
|
1287
|
+
/**
|
|
1288
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1289
|
+
*/
|
|
1290
|
+
username?: string;
|
|
1291
|
+
/**
|
|
1292
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1293
|
+
*/
|
|
1294
|
+
displayName?: string;
|
|
1295
|
+
/**
|
|
1296
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1297
|
+
*/
|
|
1298
|
+
id?: string;
|
|
1299
|
+
};
|
|
1300
|
+
};
|
|
1301
|
+
creatorCoin?: {
|
|
1302
|
+
address: string;
|
|
1303
|
+
};
|
|
895
1304
|
};
|
|
896
1305
|
mediaContent?: {
|
|
897
1306
|
/**
|
|
@@ -1026,22 +1435,60 @@ export type GetProfileResponses = {
|
|
|
1026
1435
|
};
|
|
1027
1436
|
socialAccounts: {
|
|
1028
1437
|
instagram?: {
|
|
1438
|
+
/**
|
|
1439
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1440
|
+
*/
|
|
1441
|
+
username?: string;
|
|
1029
1442
|
/**
|
|
1030
1443
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1031
1444
|
*/
|
|
1032
1445
|
displayName?: string;
|
|
1446
|
+
/**
|
|
1447
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1448
|
+
*/
|
|
1449
|
+
id?: string;
|
|
1033
1450
|
};
|
|
1034
1451
|
tiktok?: {
|
|
1452
|
+
/**
|
|
1453
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1454
|
+
*/
|
|
1455
|
+
username?: string;
|
|
1035
1456
|
/**
|
|
1036
1457
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1037
1458
|
*/
|
|
1038
1459
|
displayName?: string;
|
|
1460
|
+
/**
|
|
1461
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1462
|
+
*/
|
|
1463
|
+
id?: string;
|
|
1039
1464
|
};
|
|
1040
1465
|
twitter?: {
|
|
1466
|
+
/**
|
|
1467
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1468
|
+
*/
|
|
1469
|
+
username?: string;
|
|
1041
1470
|
/**
|
|
1042
1471
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1043
1472
|
*/
|
|
1044
1473
|
displayName?: string;
|
|
1474
|
+
/**
|
|
1475
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1476
|
+
*/
|
|
1477
|
+
id?: string;
|
|
1478
|
+
};
|
|
1479
|
+
farcaster?: {
|
|
1480
|
+
/**
|
|
1481
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1482
|
+
*/
|
|
1483
|
+
username?: string;
|
|
1484
|
+
/**
|
|
1485
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1486
|
+
*/
|
|
1487
|
+
displayName?: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1490
|
+
*/
|
|
1491
|
+
id?: string;
|
|
1045
1492
|
};
|
|
1046
1493
|
};
|
|
1047
1494
|
linkedWallets: {
|
|
@@ -1076,6 +1523,8 @@ export type GetProfileBalancesData = {
|
|
|
1076
1523
|
identifier: string;
|
|
1077
1524
|
count?: number;
|
|
1078
1525
|
after?: string;
|
|
1526
|
+
sortOption?: "BALANCE" | "MARKET_CAP" | "USD_VALUE" | "PRICE_CHANGE";
|
|
1527
|
+
excludeHidden?: boolean;
|
|
1079
1528
|
chainIds?: Array<number>;
|
|
1080
1529
|
};
|
|
1081
1530
|
url: "/profileBalances";
|
|
@@ -1111,17 +1560,78 @@ export type GetProfileBalancesResponses = {
|
|
|
1111
1560
|
/**
|
|
1112
1561
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1113
1562
|
*/
|
|
1114
|
-
blurhash?: string;
|
|
1563
|
+
blurhash?: string;
|
|
1564
|
+
/**
|
|
1565
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1566
|
+
*/
|
|
1567
|
+
medium: string;
|
|
1568
|
+
/**
|
|
1569
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1570
|
+
*/
|
|
1571
|
+
small: string;
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
socialAccounts: {
|
|
1575
|
+
instagram?: {
|
|
1576
|
+
/**
|
|
1577
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1578
|
+
*/
|
|
1579
|
+
username?: string;
|
|
1580
|
+
/**
|
|
1581
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1582
|
+
*/
|
|
1583
|
+
displayName?: string;
|
|
1584
|
+
/**
|
|
1585
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1586
|
+
*/
|
|
1587
|
+
id?: string;
|
|
1588
|
+
};
|
|
1589
|
+
tiktok?: {
|
|
1590
|
+
/**
|
|
1591
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1592
|
+
*/
|
|
1593
|
+
username?: string;
|
|
1594
|
+
/**
|
|
1595
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1596
|
+
*/
|
|
1597
|
+
displayName?: string;
|
|
1598
|
+
/**
|
|
1599
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1600
|
+
*/
|
|
1601
|
+
id?: string;
|
|
1602
|
+
};
|
|
1603
|
+
twitter?: {
|
|
1604
|
+
/**
|
|
1605
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1606
|
+
*/
|
|
1607
|
+
username?: string;
|
|
1608
|
+
/**
|
|
1609
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1610
|
+
*/
|
|
1611
|
+
displayName?: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1614
|
+
*/
|
|
1615
|
+
id?: string;
|
|
1616
|
+
};
|
|
1617
|
+
farcaster?: {
|
|
1115
1618
|
/**
|
|
1116
1619
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1117
1620
|
*/
|
|
1118
|
-
|
|
1621
|
+
username?: string;
|
|
1119
1622
|
/**
|
|
1120
1623
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1121
1624
|
*/
|
|
1122
|
-
|
|
1625
|
+
displayName?: string;
|
|
1626
|
+
/**
|
|
1627
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1628
|
+
*/
|
|
1629
|
+
id?: string;
|
|
1123
1630
|
};
|
|
1124
1631
|
};
|
|
1632
|
+
creatorCoin?: {
|
|
1633
|
+
address: string;
|
|
1634
|
+
};
|
|
1125
1635
|
coinBalances: {
|
|
1126
1636
|
/**
|
|
1127
1637
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -1172,23 +1682,6 @@ export type GetProfileBalancesResponses = {
|
|
|
1172
1682
|
*/
|
|
1173
1683
|
createdAt?: string;
|
|
1174
1684
|
creatorAddress?: string;
|
|
1175
|
-
creatorEarnings?: Array<{
|
|
1176
|
-
amount: {
|
|
1177
|
-
currencyAddress: string;
|
|
1178
|
-
/**
|
|
1179
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1180
|
-
*/
|
|
1181
|
-
amountRaw: string;
|
|
1182
|
-
/**
|
|
1183
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
1184
|
-
*/
|
|
1185
|
-
amountDecimal: number;
|
|
1186
|
-
};
|
|
1187
|
-
/**
|
|
1188
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1189
|
-
*/
|
|
1190
|
-
amountUsd?: string;
|
|
1191
|
-
}>;
|
|
1192
1685
|
poolCurrencyToken?: {
|
|
1193
1686
|
/**
|
|
1194
1687
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
@@ -1257,6 +1750,67 @@ export type GetProfileBalancesResponses = {
|
|
|
1257
1750
|
small: string;
|
|
1258
1751
|
};
|
|
1259
1752
|
};
|
|
1753
|
+
socialAccounts: {
|
|
1754
|
+
instagram?: {
|
|
1755
|
+
/**
|
|
1756
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1757
|
+
*/
|
|
1758
|
+
username?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1761
|
+
*/
|
|
1762
|
+
displayName?: string;
|
|
1763
|
+
/**
|
|
1764
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1765
|
+
*/
|
|
1766
|
+
id?: string;
|
|
1767
|
+
};
|
|
1768
|
+
tiktok?: {
|
|
1769
|
+
/**
|
|
1770
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1771
|
+
*/
|
|
1772
|
+
username?: string;
|
|
1773
|
+
/**
|
|
1774
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1775
|
+
*/
|
|
1776
|
+
displayName?: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1779
|
+
*/
|
|
1780
|
+
id?: string;
|
|
1781
|
+
};
|
|
1782
|
+
twitter?: {
|
|
1783
|
+
/**
|
|
1784
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1785
|
+
*/
|
|
1786
|
+
username?: string;
|
|
1787
|
+
/**
|
|
1788
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1789
|
+
*/
|
|
1790
|
+
displayName?: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1793
|
+
*/
|
|
1794
|
+
id?: string;
|
|
1795
|
+
};
|
|
1796
|
+
farcaster?: {
|
|
1797
|
+
/**
|
|
1798
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1799
|
+
*/
|
|
1800
|
+
username?: string;
|
|
1801
|
+
/**
|
|
1802
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1803
|
+
*/
|
|
1804
|
+
displayName?: string;
|
|
1805
|
+
/**
|
|
1806
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1807
|
+
*/
|
|
1808
|
+
id?: string;
|
|
1809
|
+
};
|
|
1810
|
+
};
|
|
1811
|
+
creatorCoin?: {
|
|
1812
|
+
address: string;
|
|
1813
|
+
};
|
|
1260
1814
|
};
|
|
1261
1815
|
mediaContent?: {
|
|
1262
1816
|
/**
|
|
@@ -1375,6 +1929,67 @@ export type GetProfileCoinsResponses = {
|
|
|
1375
1929
|
small: string;
|
|
1376
1930
|
};
|
|
1377
1931
|
};
|
|
1932
|
+
socialAccounts: {
|
|
1933
|
+
instagram?: {
|
|
1934
|
+
/**
|
|
1935
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1936
|
+
*/
|
|
1937
|
+
username?: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1940
|
+
*/
|
|
1941
|
+
displayName?: string;
|
|
1942
|
+
/**
|
|
1943
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1944
|
+
*/
|
|
1945
|
+
id?: string;
|
|
1946
|
+
};
|
|
1947
|
+
tiktok?: {
|
|
1948
|
+
/**
|
|
1949
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1950
|
+
*/
|
|
1951
|
+
username?: string;
|
|
1952
|
+
/**
|
|
1953
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1954
|
+
*/
|
|
1955
|
+
displayName?: string;
|
|
1956
|
+
/**
|
|
1957
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1958
|
+
*/
|
|
1959
|
+
id?: string;
|
|
1960
|
+
};
|
|
1961
|
+
twitter?: {
|
|
1962
|
+
/**
|
|
1963
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1964
|
+
*/
|
|
1965
|
+
username?: string;
|
|
1966
|
+
/**
|
|
1967
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1968
|
+
*/
|
|
1969
|
+
displayName?: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1972
|
+
*/
|
|
1973
|
+
id?: string;
|
|
1974
|
+
};
|
|
1975
|
+
farcaster?: {
|
|
1976
|
+
/**
|
|
1977
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1978
|
+
*/
|
|
1979
|
+
username?: string;
|
|
1980
|
+
/**
|
|
1981
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1982
|
+
*/
|
|
1983
|
+
displayName?: string;
|
|
1984
|
+
/**
|
|
1985
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1986
|
+
*/
|
|
1987
|
+
id?: string;
|
|
1988
|
+
};
|
|
1989
|
+
};
|
|
1990
|
+
creatorCoin?: {
|
|
1991
|
+
address: string;
|
|
1992
|
+
};
|
|
1378
1993
|
createdCoins?: {
|
|
1379
1994
|
/**
|
|
1380
1995
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -1416,23 +2031,6 @@ export type GetProfileCoinsResponses = {
|
|
|
1416
2031
|
*/
|
|
1417
2032
|
createdAt?: string;
|
|
1418
2033
|
creatorAddress?: string;
|
|
1419
|
-
creatorEarnings?: Array<{
|
|
1420
|
-
amount: {
|
|
1421
|
-
currencyAddress: string;
|
|
1422
|
-
/**
|
|
1423
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1424
|
-
*/
|
|
1425
|
-
amountRaw: string;
|
|
1426
|
-
/**
|
|
1427
|
-
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
1428
|
-
*/
|
|
1429
|
-
amountDecimal: number;
|
|
1430
|
-
};
|
|
1431
|
-
/**
|
|
1432
|
-
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1433
|
-
*/
|
|
1434
|
-
amountUsd?: string;
|
|
1435
|
-
}>;
|
|
1436
2034
|
poolCurrencyToken?: {
|
|
1437
2035
|
/**
|
|
1438
2036
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
@@ -1501,6 +2099,67 @@ export type GetProfileCoinsResponses = {
|
|
|
1501
2099
|
small: string;
|
|
1502
2100
|
};
|
|
1503
2101
|
};
|
|
2102
|
+
socialAccounts: {
|
|
2103
|
+
instagram?: {
|
|
2104
|
+
/**
|
|
2105
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2106
|
+
*/
|
|
2107
|
+
username?: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2110
|
+
*/
|
|
2111
|
+
displayName?: string;
|
|
2112
|
+
/**
|
|
2113
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2114
|
+
*/
|
|
2115
|
+
id?: string;
|
|
2116
|
+
};
|
|
2117
|
+
tiktok?: {
|
|
2118
|
+
/**
|
|
2119
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2120
|
+
*/
|
|
2121
|
+
username?: string;
|
|
2122
|
+
/**
|
|
2123
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2124
|
+
*/
|
|
2125
|
+
displayName?: string;
|
|
2126
|
+
/**
|
|
2127
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2128
|
+
*/
|
|
2129
|
+
id?: string;
|
|
2130
|
+
};
|
|
2131
|
+
twitter?: {
|
|
2132
|
+
/**
|
|
2133
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2134
|
+
*/
|
|
2135
|
+
username?: string;
|
|
2136
|
+
/**
|
|
2137
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2138
|
+
*/
|
|
2139
|
+
displayName?: string;
|
|
2140
|
+
/**
|
|
2141
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2142
|
+
*/
|
|
2143
|
+
id?: string;
|
|
2144
|
+
};
|
|
2145
|
+
farcaster?: {
|
|
2146
|
+
/**
|
|
2147
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2148
|
+
*/
|
|
2149
|
+
username?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2152
|
+
*/
|
|
2153
|
+
displayName?: string;
|
|
2154
|
+
/**
|
|
2155
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2156
|
+
*/
|
|
2157
|
+
id?: string;
|
|
2158
|
+
};
|
|
2159
|
+
};
|
|
2160
|
+
creatorCoin?: {
|
|
2161
|
+
address: string;
|
|
2162
|
+
};
|
|
1504
2163
|
};
|
|
1505
2164
|
mediaContent?: {
|
|
1506
2165
|
/**
|
|
@@ -1561,6 +2220,15 @@ export type GetProfileCoinsResponses = {
|
|
|
1561
2220
|
count: number;
|
|
1562
2221
|
edges: Array<{
|
|
1563
2222
|
node: {
|
|
2223
|
+
/**
|
|
2224
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2225
|
+
*/
|
|
2226
|
+
commentId: string;
|
|
2227
|
+
/**
|
|
2228
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2229
|
+
*/
|
|
2230
|
+
nonce: string;
|
|
2231
|
+
userAddress: string;
|
|
1564
2232
|
/**
|
|
1565
2233
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1566
2234
|
*/
|
|
@@ -1569,7 +2237,6 @@ export type GetProfileCoinsResponses = {
|
|
|
1569
2237
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1570
2238
|
*/
|
|
1571
2239
|
comment: string;
|
|
1572
|
-
userAddress: string;
|
|
1573
2240
|
/**
|
|
1574
2241
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1575
2242
|
*/
|
|
@@ -1625,6 +2292,7 @@ export type GetProfileCoinsResponse =
|
|
|
1625
2292
|
|
|
1626
2293
|
export type PostQuoteData = {
|
|
1627
2294
|
body?: {
|
|
2295
|
+
referrer?: string;
|
|
1628
2296
|
signatures?: Array<{
|
|
1629
2297
|
permit: {
|
|
1630
2298
|
details: {
|
|
@@ -1714,6 +2382,143 @@ export type PostQuoteResponses = {
|
|
|
1714
2382
|
|
|
1715
2383
|
export type PostQuoteResponse = PostQuoteResponses[keyof PostQuoteResponses];
|
|
1716
2384
|
|
|
2385
|
+
export type GetCreateContentPoolConfigData = {
|
|
2386
|
+
body?: never;
|
|
2387
|
+
path?: never;
|
|
2388
|
+
query?: {
|
|
2389
|
+
starting_market_cap?: "HIGH" | "LOW";
|
|
2390
|
+
currency?: "CREATOR_COIN" | "ZORA" | "ETH" | "CREATOR_COIN_OR_ZORA";
|
|
2391
|
+
creator_identifier?: string;
|
|
2392
|
+
chain_id?: string;
|
|
2393
|
+
};
|
|
2394
|
+
url: "/create/content/pool-config";
|
|
2395
|
+
};
|
|
2396
|
+
|
|
2397
|
+
export type GetCreateContentPoolConfigErrors = {
|
|
2398
|
+
/**
|
|
2399
|
+
* Invalid backing currency address
|
|
2400
|
+
*/
|
|
2401
|
+
400: {
|
|
2402
|
+
error: string;
|
|
2403
|
+
};
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
export type GetCreateContentPoolConfigError =
|
|
2407
|
+
GetCreateContentPoolConfigErrors[keyof GetCreateContentPoolConfigErrors];
|
|
2408
|
+
|
|
2409
|
+
export type GetCreateContentPoolConfigResponses = {
|
|
2410
|
+
/**
|
|
2411
|
+
* Content pool configuration
|
|
2412
|
+
*/
|
|
2413
|
+
200: {
|
|
2414
|
+
/**
|
|
2415
|
+
* Encoded pool configuration as hex string
|
|
2416
|
+
*/
|
|
2417
|
+
poolConfig: string;
|
|
2418
|
+
};
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2421
|
+
export type GetCreateContentPoolConfigResponse =
|
|
2422
|
+
GetCreateContentPoolConfigResponses[keyof GetCreateContentPoolConfigResponses];
|
|
2423
|
+
|
|
2424
|
+
export type PostCreateContentData = {
|
|
2425
|
+
body?: {
|
|
2426
|
+
/**
|
|
2427
|
+
* EOA address of the content creator. Auto-included in the owners set and used as default payout recipient if none is specified.
|
|
2428
|
+
*/
|
|
2429
|
+
creator: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* Human-readable name for the content coin.
|
|
2432
|
+
*/
|
|
2433
|
+
name: string;
|
|
2434
|
+
/**
|
|
2435
|
+
* Ticker symbol for the content coin (e.g. ZORA).
|
|
2436
|
+
*/
|
|
2437
|
+
symbol: string;
|
|
2438
|
+
/**
|
|
2439
|
+
* Metadata configuration for the content coin.
|
|
2440
|
+
*/
|
|
2441
|
+
metadata: {
|
|
2442
|
+
/**
|
|
2443
|
+
* Metadata type. Only RAW_URI is supported.
|
|
2444
|
+
*/
|
|
2445
|
+
type: "RAW_URI";
|
|
2446
|
+
/**
|
|
2447
|
+
* IPFS or HTTPS URI pointing to the metadata JSON (e.g. ipfs://... or https://...).
|
|
2448
|
+
*/
|
|
2449
|
+
uri: string;
|
|
2450
|
+
};
|
|
2451
|
+
/**
|
|
2452
|
+
* Backing currency selection for the pool.
|
|
2453
|
+
*/
|
|
2454
|
+
currency: "CREATOR_COIN" | "ZORA" | "ETH" | "CREATOR_COIN_OR_ZORA";
|
|
2455
|
+
/**
|
|
2456
|
+
* Target EVM chain ID. Supported: Base mainnet and Base Sepolia. Defaults to Base mainnet.
|
|
2457
|
+
*/
|
|
2458
|
+
chainId?: number;
|
|
2459
|
+
/**
|
|
2460
|
+
* Initial market cap tier for the pool configuration.
|
|
2461
|
+
*/
|
|
2462
|
+
startingMarketCap?: "LOW" | "HIGH";
|
|
2463
|
+
/**
|
|
2464
|
+
* Optional platform referrer address for attribution. Use zero address if not applicable.
|
|
2465
|
+
*/
|
|
2466
|
+
platformReferrer?: string;
|
|
2467
|
+
/**
|
|
2468
|
+
* Optional additional owner addresses to include. Each owner has full admin access to the coin. The creator address is automatically included.
|
|
2469
|
+
*/
|
|
2470
|
+
additionalOwners?: Array<string>;
|
|
2471
|
+
/**
|
|
2472
|
+
* Optional address to receive payouts/fees. Defaults to the creator if omitted.
|
|
2473
|
+
*/
|
|
2474
|
+
payoutRecipientOverride?: string;
|
|
2475
|
+
/**
|
|
2476
|
+
* Optional smart wallet routing. Defaults to AUTO if omitted.
|
|
2477
|
+
*/
|
|
2478
|
+
smartWalletRouting?: "AUTO" | "DISABLE";
|
|
2479
|
+
};
|
|
2480
|
+
path?: never;
|
|
2481
|
+
query?: never;
|
|
2482
|
+
url: "/create/content";
|
|
2483
|
+
};
|
|
2484
|
+
|
|
2485
|
+
export type PostCreateContentErrors = {
|
|
2486
|
+
/**
|
|
2487
|
+
* Invalid request parameters
|
|
2488
|
+
*/
|
|
2489
|
+
400: {
|
|
2490
|
+
error: string;
|
|
2491
|
+
};
|
|
2492
|
+
};
|
|
2493
|
+
|
|
2494
|
+
export type PostCreateContentError =
|
|
2495
|
+
PostCreateContentErrors[keyof PostCreateContentErrors];
|
|
2496
|
+
|
|
2497
|
+
export type PostCreateContentResponses = {
|
|
2498
|
+
/**
|
|
2499
|
+
* Content coin creation parameters
|
|
2500
|
+
*/
|
|
2501
|
+
200: {
|
|
2502
|
+
calls?: Array<{
|
|
2503
|
+
/**
|
|
2504
|
+
* Encoded function call data
|
|
2505
|
+
*/
|
|
2506
|
+
to: string;
|
|
2507
|
+
/**
|
|
2508
|
+
* Target contract address
|
|
2509
|
+
*/
|
|
2510
|
+
data: string;
|
|
2511
|
+
/**
|
|
2512
|
+
* ETH value to send
|
|
2513
|
+
*/
|
|
2514
|
+
value: string;
|
|
2515
|
+
}>;
|
|
2516
|
+
};
|
|
2517
|
+
};
|
|
2518
|
+
|
|
2519
|
+
export type PostCreateContentResponse =
|
|
2520
|
+
PostCreateContentResponses[keyof PostCreateContentResponses];
|
|
2521
|
+
|
|
1717
2522
|
export type ClientOptions = {
|
|
1718
2523
|
baseUrl:
|
|
1719
2524
|
| "https://api-sdk.zora.engineering/"
|