@zoralabs/coins-sdk 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/dist/api/internal.d.ts +8 -0
- package/dist/api/internal.d.ts.map +1 -0
- package/dist/api/queries.d.ts +5 -1
- package/dist/api/queries.d.ts.map +1 -1
- package/dist/client/sdk.gen.d.ts +155 -17
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts +423 -29
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.cjs +57 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +56 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/api/internal.ts +23 -0
- package/src/api/queries.ts +18 -0
- package/src/client/sdk.gen.ts +112 -0
- package/src/client/types.gen.ts +441 -29
package/src/client/types.gen.ts
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
+
export type GetApiKeyData = {
|
|
4
|
+
body?: never;
|
|
5
|
+
path?: never;
|
|
6
|
+
query: {
|
|
7
|
+
apiKey: string;
|
|
8
|
+
};
|
|
9
|
+
url: "/apiKey";
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export type GetApiKeyErrors = {
|
|
13
|
+
/**
|
|
14
|
+
* Bad request
|
|
15
|
+
*/
|
|
16
|
+
400: unknown;
|
|
17
|
+
/**
|
|
18
|
+
* Internal server error
|
|
19
|
+
*/
|
|
20
|
+
500: unknown;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export type GetApiKeyResponses = {
|
|
24
|
+
/**
|
|
25
|
+
* Successful operation
|
|
26
|
+
*/
|
|
27
|
+
200: {
|
|
28
|
+
apiKey: {
|
|
29
|
+
/**
|
|
30
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
31
|
+
*/
|
|
32
|
+
apiKey: string;
|
|
33
|
+
/**
|
|
34
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
35
|
+
*/
|
|
36
|
+
isActive: boolean;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export type GetApiKeyResponse = GetApiKeyResponses[keyof GetApiKeyResponses];
|
|
42
|
+
|
|
3
43
|
export type GetCoinData = {
|
|
4
44
|
body?: never;
|
|
5
45
|
path?: never;
|
|
@@ -61,7 +101,7 @@ export type GetCoinResponses = {
|
|
|
61
101
|
*/
|
|
62
102
|
createdAt?: string;
|
|
63
103
|
creatorAddress?: string;
|
|
64
|
-
creatorEarnings
|
|
104
|
+
creatorEarnings?: Array<{
|
|
65
105
|
amount: {
|
|
66
106
|
currencyAddress: string;
|
|
67
107
|
/**
|
|
@@ -78,6 +118,20 @@ export type GetCoinResponses = {
|
|
|
78
118
|
*/
|
|
79
119
|
amountUsd?: string;
|
|
80
120
|
}>;
|
|
121
|
+
poolCurrencyToken?: {
|
|
122
|
+
/**
|
|
123
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
124
|
+
*/
|
|
125
|
+
address?: string;
|
|
126
|
+
/**
|
|
127
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
128
|
+
*/
|
|
129
|
+
name?: string;
|
|
130
|
+
/**
|
|
131
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
132
|
+
*/
|
|
133
|
+
decimals?: number;
|
|
134
|
+
};
|
|
81
135
|
/**
|
|
82
136
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
83
137
|
*/
|
|
@@ -90,6 +144,12 @@ export type GetCoinResponses = {
|
|
|
90
144
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
91
145
|
*/
|
|
92
146
|
chainId: number;
|
|
147
|
+
/**
|
|
148
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
149
|
+
*/
|
|
150
|
+
tokenUri?: string;
|
|
151
|
+
platformReferrerAddress?: string;
|
|
152
|
+
payoutRecipientAddress?: string;
|
|
93
153
|
creatorProfile?: {
|
|
94
154
|
/**
|
|
95
155
|
* The Globally Unique ID of this object
|
|
@@ -140,12 +200,6 @@ export type GetCoinResponses = {
|
|
|
140
200
|
blurhash?: string;
|
|
141
201
|
};
|
|
142
202
|
};
|
|
143
|
-
transfers: {
|
|
144
|
-
/**
|
|
145
|
-
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
146
|
-
*/
|
|
147
|
-
count: number;
|
|
148
|
-
};
|
|
149
203
|
/**
|
|
150
204
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
151
205
|
*/
|
|
@@ -425,7 +479,7 @@ export type GetCoinsResponses = {
|
|
|
425
479
|
*/
|
|
426
480
|
createdAt?: string;
|
|
427
481
|
creatorAddress?: string;
|
|
428
|
-
creatorEarnings
|
|
482
|
+
creatorEarnings?: Array<{
|
|
429
483
|
amount: {
|
|
430
484
|
currencyAddress: string;
|
|
431
485
|
/**
|
|
@@ -442,6 +496,20 @@ export type GetCoinsResponses = {
|
|
|
442
496
|
*/
|
|
443
497
|
amountUsd?: string;
|
|
444
498
|
}>;
|
|
499
|
+
poolCurrencyToken?: {
|
|
500
|
+
/**
|
|
501
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
502
|
+
*/
|
|
503
|
+
address?: string;
|
|
504
|
+
/**
|
|
505
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
506
|
+
*/
|
|
507
|
+
name?: string;
|
|
508
|
+
/**
|
|
509
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
510
|
+
*/
|
|
511
|
+
decimals?: number;
|
|
512
|
+
};
|
|
445
513
|
/**
|
|
446
514
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
447
515
|
*/
|
|
@@ -454,6 +522,12 @@ export type GetCoinsResponses = {
|
|
|
454
522
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
455
523
|
*/
|
|
456
524
|
chainId: number;
|
|
525
|
+
/**
|
|
526
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
527
|
+
*/
|
|
528
|
+
tokenUri?: string;
|
|
529
|
+
platformReferrerAddress?: string;
|
|
530
|
+
payoutRecipientAddress?: string;
|
|
457
531
|
creatorProfile?: {
|
|
458
532
|
/**
|
|
459
533
|
* The Globally Unique ID of this object
|
|
@@ -504,12 +578,6 @@ export type GetCoinsResponses = {
|
|
|
504
578
|
blurhash?: string;
|
|
505
579
|
};
|
|
506
580
|
};
|
|
507
|
-
transfers: {
|
|
508
|
-
/**
|
|
509
|
-
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
510
|
-
*/
|
|
511
|
-
count: number;
|
|
512
|
-
};
|
|
513
581
|
/**
|
|
514
582
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
515
583
|
*/
|
|
@@ -579,6 +647,41 @@ export type GetCoinsResponses = {
|
|
|
579
647
|
|
|
580
648
|
export type GetCoinsResponse = GetCoinsResponses[keyof GetCoinsResponses];
|
|
581
649
|
|
|
650
|
+
export type SetCreateUploadJwtData = {
|
|
651
|
+
body?: {
|
|
652
|
+
creatorAddress: string;
|
|
653
|
+
};
|
|
654
|
+
path?: never;
|
|
655
|
+
query?: never;
|
|
656
|
+
url: "/createUploadJWT";
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
export type SetCreateUploadJwtErrors = {
|
|
660
|
+
/**
|
|
661
|
+
* Bad request
|
|
662
|
+
*/
|
|
663
|
+
400: unknown;
|
|
664
|
+
/**
|
|
665
|
+
* Internal server error
|
|
666
|
+
*/
|
|
667
|
+
500: unknown;
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
export type SetCreateUploadJwtResponses = {
|
|
671
|
+
/**
|
|
672
|
+
* Successful operation
|
|
673
|
+
*/
|
|
674
|
+
200: {
|
|
675
|
+
/**
|
|
676
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
677
|
+
*/
|
|
678
|
+
createUploadJwtFromApiKey: string;
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
export type SetCreateUploadJwtResponse =
|
|
683
|
+
SetCreateUploadJwtResponses[keyof SetCreateUploadJwtResponses];
|
|
684
|
+
|
|
582
685
|
export type GetExploreData = {
|
|
583
686
|
body?: never;
|
|
584
687
|
path?: never;
|
|
@@ -588,8 +691,11 @@ export type GetExploreData = {
|
|
|
588
691
|
| "TOP_VOLUME_24H"
|
|
589
692
|
| "MOST_VALUABLE"
|
|
590
693
|
| "NEW"
|
|
694
|
+
| "OLD"
|
|
591
695
|
| "LAST_TRADED"
|
|
592
|
-
| "LAST_TRADED_UNIQUE"
|
|
696
|
+
| "LAST_TRADED_UNIQUE"
|
|
697
|
+
| "FEATURED"
|
|
698
|
+
| "FEATURED_VIDEOS";
|
|
593
699
|
count?: number;
|
|
594
700
|
after?: string;
|
|
595
701
|
};
|
|
@@ -649,7 +755,7 @@ export type GetExploreResponses = {
|
|
|
649
755
|
*/
|
|
650
756
|
createdAt?: string;
|
|
651
757
|
creatorAddress?: string;
|
|
652
|
-
creatorEarnings
|
|
758
|
+
creatorEarnings?: Array<{
|
|
653
759
|
amount: {
|
|
654
760
|
currencyAddress: string;
|
|
655
761
|
/**
|
|
@@ -666,6 +772,20 @@ export type GetExploreResponses = {
|
|
|
666
772
|
*/
|
|
667
773
|
amountUsd?: string;
|
|
668
774
|
}>;
|
|
775
|
+
poolCurrencyToken?: {
|
|
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
|
+
address?: string;
|
|
780
|
+
/**
|
|
781
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
782
|
+
*/
|
|
783
|
+
name?: string;
|
|
784
|
+
/**
|
|
785
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
786
|
+
*/
|
|
787
|
+
decimals?: number;
|
|
788
|
+
};
|
|
669
789
|
/**
|
|
670
790
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
671
791
|
*/
|
|
@@ -678,6 +798,12 @@ export type GetExploreResponses = {
|
|
|
678
798
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
679
799
|
*/
|
|
680
800
|
chainId: number;
|
|
801
|
+
/**
|
|
802
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
803
|
+
*/
|
|
804
|
+
tokenUri?: string;
|
|
805
|
+
platformReferrerAddress?: string;
|
|
806
|
+
payoutRecipientAddress?: string;
|
|
681
807
|
creatorProfile?: {
|
|
682
808
|
/**
|
|
683
809
|
* The Globally Unique ID of this object
|
|
@@ -728,12 +854,6 @@ export type GetExploreResponses = {
|
|
|
728
854
|
blurhash?: string;
|
|
729
855
|
};
|
|
730
856
|
};
|
|
731
|
-
transfers: {
|
|
732
|
-
/**
|
|
733
|
-
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
734
|
-
*/
|
|
735
|
-
count: number;
|
|
736
|
-
};
|
|
737
857
|
/**
|
|
738
858
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
739
859
|
*/
|
|
@@ -964,7 +1084,7 @@ export type GetProfileBalancesResponses = {
|
|
|
964
1084
|
*/
|
|
965
1085
|
createdAt?: string;
|
|
966
1086
|
creatorAddress?: string;
|
|
967
|
-
creatorEarnings
|
|
1087
|
+
creatorEarnings?: Array<{
|
|
968
1088
|
amount: {
|
|
969
1089
|
currencyAddress: string;
|
|
970
1090
|
/**
|
|
@@ -981,6 +1101,20 @@ export type GetProfileBalancesResponses = {
|
|
|
981
1101
|
*/
|
|
982
1102
|
amountUsd?: string;
|
|
983
1103
|
}>;
|
|
1104
|
+
poolCurrencyToken?: {
|
|
1105
|
+
/**
|
|
1106
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1107
|
+
*/
|
|
1108
|
+
address?: string;
|
|
1109
|
+
/**
|
|
1110
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1111
|
+
*/
|
|
1112
|
+
name?: string;
|
|
1113
|
+
/**
|
|
1114
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1115
|
+
*/
|
|
1116
|
+
decimals?: number;
|
|
1117
|
+
};
|
|
984
1118
|
/**
|
|
985
1119
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
986
1120
|
*/
|
|
@@ -993,6 +1127,12 @@ export type GetProfileBalancesResponses = {
|
|
|
993
1127
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
994
1128
|
*/
|
|
995
1129
|
chainId: number;
|
|
1130
|
+
/**
|
|
1131
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1132
|
+
*/
|
|
1133
|
+
tokenUri?: string;
|
|
1134
|
+
platformReferrerAddress?: string;
|
|
1135
|
+
payoutRecipientAddress?: string;
|
|
996
1136
|
creatorProfile?: {
|
|
997
1137
|
/**
|
|
998
1138
|
* The Globally Unique ID of this object
|
|
@@ -1043,12 +1183,6 @@ export type GetProfileBalancesResponses = {
|
|
|
1043
1183
|
blurhash?: string;
|
|
1044
1184
|
};
|
|
1045
1185
|
};
|
|
1046
|
-
transfers: {
|
|
1047
|
-
/**
|
|
1048
|
-
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1049
|
-
*/
|
|
1050
|
-
count: number;
|
|
1051
|
-
};
|
|
1052
1186
|
/**
|
|
1053
1187
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1054
1188
|
*/
|
|
@@ -1074,9 +1208,287 @@ export type GetProfileBalancesResponses = {
|
|
|
1074
1208
|
export type GetProfileBalancesResponse =
|
|
1075
1209
|
GetProfileBalancesResponses[keyof GetProfileBalancesResponses];
|
|
1076
1210
|
|
|
1211
|
+
export type GetProfileCoinsData = {
|
|
1212
|
+
body?: never;
|
|
1213
|
+
path?: never;
|
|
1214
|
+
query: {
|
|
1215
|
+
identifier: string;
|
|
1216
|
+
count?: number;
|
|
1217
|
+
after?: string;
|
|
1218
|
+
chainIds?: Array<number>;
|
|
1219
|
+
platformReferrerAddress?: Array<string>;
|
|
1220
|
+
};
|
|
1221
|
+
url: "/profileCoins";
|
|
1222
|
+
};
|
|
1223
|
+
|
|
1224
|
+
export type GetProfileCoinsErrors = {
|
|
1225
|
+
/**
|
|
1226
|
+
* Bad request
|
|
1227
|
+
*/
|
|
1228
|
+
400: unknown;
|
|
1229
|
+
/**
|
|
1230
|
+
* Internal server error
|
|
1231
|
+
*/
|
|
1232
|
+
500: unknown;
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
export type GetProfileCoinsResponses = {
|
|
1236
|
+
/**
|
|
1237
|
+
* Successful operation
|
|
1238
|
+
*/
|
|
1239
|
+
200: {
|
|
1240
|
+
profile?: {
|
|
1241
|
+
/**
|
|
1242
|
+
* The Globally Unique ID of this object
|
|
1243
|
+
*/
|
|
1244
|
+
id: string;
|
|
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
|
+
handle: string;
|
|
1249
|
+
avatar?: {
|
|
1250
|
+
previewImage: {
|
|
1251
|
+
/**
|
|
1252
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1253
|
+
*/
|
|
1254
|
+
blurhash?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* The `String` scalar type represents 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
|
+
*/
|
|
1258
|
+
medium: string;
|
|
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
|
+
small: string;
|
|
1263
|
+
};
|
|
1264
|
+
};
|
|
1265
|
+
createdCoins?: {
|
|
1266
|
+
/**
|
|
1267
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1268
|
+
*/
|
|
1269
|
+
count: number;
|
|
1270
|
+
edges: Array<{
|
|
1271
|
+
node: {
|
|
1272
|
+
/**
|
|
1273
|
+
* The Globally Unique ID of this object
|
|
1274
|
+
*/
|
|
1275
|
+
id: string;
|
|
1276
|
+
/**
|
|
1277
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1278
|
+
*/
|
|
1279
|
+
name: string;
|
|
1280
|
+
/**
|
|
1281
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1282
|
+
*/
|
|
1283
|
+
description: string;
|
|
1284
|
+
address: string;
|
|
1285
|
+
/**
|
|
1286
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1287
|
+
*/
|
|
1288
|
+
symbol: string;
|
|
1289
|
+
/**
|
|
1290
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1291
|
+
*/
|
|
1292
|
+
totalSupply: string;
|
|
1293
|
+
/**
|
|
1294
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1295
|
+
*/
|
|
1296
|
+
totalVolume: string;
|
|
1297
|
+
/**
|
|
1298
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1299
|
+
*/
|
|
1300
|
+
volume24h: string;
|
|
1301
|
+
/**
|
|
1302
|
+
* Date with time (isoformat)
|
|
1303
|
+
*/
|
|
1304
|
+
createdAt?: string;
|
|
1305
|
+
creatorAddress?: string;
|
|
1306
|
+
creatorEarnings?: Array<{
|
|
1307
|
+
amount: {
|
|
1308
|
+
currencyAddress: string;
|
|
1309
|
+
/**
|
|
1310
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1311
|
+
*/
|
|
1312
|
+
amountRaw: string;
|
|
1313
|
+
/**
|
|
1314
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
1315
|
+
*/
|
|
1316
|
+
amountDecimal: number;
|
|
1317
|
+
};
|
|
1318
|
+
/**
|
|
1319
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1320
|
+
*/
|
|
1321
|
+
amountUsd?: string;
|
|
1322
|
+
}>;
|
|
1323
|
+
poolCurrencyToken?: {
|
|
1324
|
+
/**
|
|
1325
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1326
|
+
*/
|
|
1327
|
+
address?: string;
|
|
1328
|
+
/**
|
|
1329
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1330
|
+
*/
|
|
1331
|
+
name?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1334
|
+
*/
|
|
1335
|
+
decimals?: number;
|
|
1336
|
+
};
|
|
1337
|
+
/**
|
|
1338
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1339
|
+
*/
|
|
1340
|
+
marketCap: string;
|
|
1341
|
+
/**
|
|
1342
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1343
|
+
*/
|
|
1344
|
+
marketCapDelta24h: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1347
|
+
*/
|
|
1348
|
+
chainId: number;
|
|
1349
|
+
/**
|
|
1350
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1351
|
+
*/
|
|
1352
|
+
tokenUri?: string;
|
|
1353
|
+
platformReferrerAddress?: string;
|
|
1354
|
+
payoutRecipientAddress?: string;
|
|
1355
|
+
creatorProfile?: {
|
|
1356
|
+
/**
|
|
1357
|
+
* The Globally Unique ID of this object
|
|
1358
|
+
*/
|
|
1359
|
+
id: string;
|
|
1360
|
+
/**
|
|
1361
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1362
|
+
*/
|
|
1363
|
+
handle: string;
|
|
1364
|
+
avatar?: {
|
|
1365
|
+
previewImage: {
|
|
1366
|
+
/**
|
|
1367
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1368
|
+
*/
|
|
1369
|
+
blurhash?: string;
|
|
1370
|
+
/**
|
|
1371
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1372
|
+
*/
|
|
1373
|
+
medium: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1376
|
+
*/
|
|
1377
|
+
small: string;
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
mediaContent?: {
|
|
1382
|
+
/**
|
|
1383
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1384
|
+
*/
|
|
1385
|
+
mimeType?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1388
|
+
*/
|
|
1389
|
+
originalUri: string;
|
|
1390
|
+
previewImage?: {
|
|
1391
|
+
/**
|
|
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.
|
|
1393
|
+
*/
|
|
1394
|
+
small: 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
|
+
medium: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1401
|
+
*/
|
|
1402
|
+
blurhash?: string;
|
|
1403
|
+
};
|
|
1404
|
+
};
|
|
1405
|
+
/**
|
|
1406
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1407
|
+
*/
|
|
1408
|
+
uniqueHolders: number;
|
|
1409
|
+
zoraComments: {
|
|
1410
|
+
pageInfo: {
|
|
1411
|
+
/**
|
|
1412
|
+
* When paginating forwards, the cursor to continue.
|
|
1413
|
+
*/
|
|
1414
|
+
endCursor?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* When paginating forwards, are there more items?
|
|
1417
|
+
*/
|
|
1418
|
+
hasNextPage: boolean;
|
|
1419
|
+
};
|
|
1420
|
+
/**
|
|
1421
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1422
|
+
*/
|
|
1423
|
+
count: number;
|
|
1424
|
+
edges: Array<{
|
|
1425
|
+
node: {
|
|
1426
|
+
/**
|
|
1427
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1428
|
+
*/
|
|
1429
|
+
txHash: string;
|
|
1430
|
+
/**
|
|
1431
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1432
|
+
*/
|
|
1433
|
+
comment: string;
|
|
1434
|
+
userAddress: string;
|
|
1435
|
+
/**
|
|
1436
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1437
|
+
*/
|
|
1438
|
+
timestamp: number;
|
|
1439
|
+
userProfile?: {
|
|
1440
|
+
/**
|
|
1441
|
+
* The Globally Unique ID of this object
|
|
1442
|
+
*/
|
|
1443
|
+
id: string;
|
|
1444
|
+
/**
|
|
1445
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1446
|
+
*/
|
|
1447
|
+
handle: string;
|
|
1448
|
+
avatar?: {
|
|
1449
|
+
previewImage: {
|
|
1450
|
+
/**
|
|
1451
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1452
|
+
*/
|
|
1453
|
+
blurhash?: string;
|
|
1454
|
+
/**
|
|
1455
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1456
|
+
*/
|
|
1457
|
+
small: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1460
|
+
*/
|
|
1461
|
+
medium: string;
|
|
1462
|
+
};
|
|
1463
|
+
};
|
|
1464
|
+
};
|
|
1465
|
+
};
|
|
1466
|
+
}>;
|
|
1467
|
+
};
|
|
1468
|
+
};
|
|
1469
|
+
}>;
|
|
1470
|
+
pageInfo: {
|
|
1471
|
+
/**
|
|
1472
|
+
* When paginating forwards, are there more items?
|
|
1473
|
+
*/
|
|
1474
|
+
hasNextPage: boolean;
|
|
1475
|
+
/**
|
|
1476
|
+
* When paginating forwards, the cursor to continue.
|
|
1477
|
+
*/
|
|
1478
|
+
endCursor?: string;
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
};
|
|
1482
|
+
};
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
export type GetProfileCoinsResponse =
|
|
1486
|
+
GetProfileCoinsResponses[keyof GetProfileCoinsResponses];
|
|
1487
|
+
|
|
1077
1488
|
export type ClientOptions = {
|
|
1078
1489
|
baseUrl:
|
|
1079
1490
|
| "https://api-sdk.zora.engineering/"
|
|
1080
1491
|
| "https://api-sdk-staging.zora.engineering/"
|
|
1492
|
+
| "http://localhost:8787/"
|
|
1081
1493
|
| (string & {});
|
|
1082
1494
|
};
|