@zoralabs/coins-sdk 0.3.2 → 0.4.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 +19 -0
- package/README.md +21 -0
- package/dist/actions/createCoin.d.ts +5 -1
- package/dist/actions/createCoin.d.ts.map +1 -1
- package/dist/api/explore.d.ts +5 -0
- package/dist/api/explore.d.ts.map +1 -1
- package/dist/api/index.d.ts +0 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/queries.d.ts +21 -1
- package/dist/api/queries.d.ts.map +1 -1
- package/dist/client/sdk.gen.d.ts +230 -7
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts +772 -67
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.cjs +136 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +120 -7
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/actions/createCoin.ts +17 -8
- package/src/api/explore.ts +29 -0
- package/src/api/index.ts +0 -4
- package/src/api/queries.ts +90 -0
- package/src/client/sdk.gen.ts +140 -20
- package/src/client/types.gen.ts +806 -74
- package/dist/api/pool-config.d.ts +0 -5
- package/dist/api/pool-config.d.ts.map +0 -1
- package/src/api/pool-config.ts +0 -17
package/src/client/types.gen.ts
CHANGED
|
@@ -71,6 +71,10 @@ export type GetCoinResponses = {
|
|
|
71
71
|
* The Globally Unique ID of this object
|
|
72
72
|
*/
|
|
73
73
|
id: string;
|
|
74
|
+
/**
|
|
75
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
76
|
+
*/
|
|
77
|
+
platformBlocked: boolean;
|
|
74
78
|
/**
|
|
75
79
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
76
80
|
*/
|
|
@@ -117,12 +121,15 @@ export type GetCoinResponses = {
|
|
|
117
121
|
};
|
|
118
122
|
tokenPrice?: {
|
|
119
123
|
/**
|
|
120
|
-
*
|
|
124
|
+
* Price of the pool in respect to USDC, not always available
|
|
121
125
|
*/
|
|
122
126
|
priceInUsdc?: string;
|
|
127
|
+
/**
|
|
128
|
+
* Ethereum address of the currency
|
|
129
|
+
*/
|
|
123
130
|
currencyAddress: string;
|
|
124
131
|
/**
|
|
125
|
-
*
|
|
132
|
+
* Price against the native token of the primary currency pool
|
|
126
133
|
*/
|
|
127
134
|
priceInPoolToken: string;
|
|
128
135
|
};
|
|
@@ -150,9 +157,13 @@ export type GetCoinResponses = {
|
|
|
150
157
|
*/
|
|
151
158
|
id: string;
|
|
152
159
|
/**
|
|
153
|
-
*
|
|
160
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
154
161
|
*/
|
|
155
162
|
handle: string;
|
|
163
|
+
/**
|
|
164
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
165
|
+
*/
|
|
166
|
+
platformBlocked: boolean;
|
|
156
167
|
avatar?: {
|
|
157
168
|
previewImage: {
|
|
158
169
|
/**
|
|
@@ -179,6 +190,10 @@ export type GetCoinResponses = {
|
|
|
179
190
|
* The `String` scalar type represents 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
191
|
*/
|
|
181
192
|
displayName?: string;
|
|
193
|
+
/**
|
|
194
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
195
|
+
*/
|
|
196
|
+
followerCount?: number;
|
|
182
197
|
/**
|
|
183
198
|
* The `String` scalar type represents 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
199
|
*/
|
|
@@ -193,6 +208,10 @@ export type GetCoinResponses = {
|
|
|
193
208
|
* The `String` scalar type represents 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
209
|
*/
|
|
195
210
|
displayName?: string;
|
|
211
|
+
/**
|
|
212
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
213
|
+
*/
|
|
214
|
+
followerCount?: number;
|
|
196
215
|
/**
|
|
197
216
|
* The `String` scalar type represents 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
217
|
*/
|
|
@@ -207,6 +226,10 @@ export type GetCoinResponses = {
|
|
|
207
226
|
* The `String` scalar type represents 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
227
|
*/
|
|
209
228
|
displayName?: string;
|
|
229
|
+
/**
|
|
230
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
231
|
+
*/
|
|
232
|
+
followerCount?: number;
|
|
210
233
|
/**
|
|
211
234
|
* The `String` scalar type represents 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
235
|
*/
|
|
@@ -221,6 +244,10 @@ export type GetCoinResponses = {
|
|
|
221
244
|
* The `String` scalar type represents 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
245
|
*/
|
|
223
246
|
displayName?: string;
|
|
247
|
+
/**
|
|
248
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
249
|
+
*/
|
|
250
|
+
followerCount?: number;
|
|
224
251
|
/**
|
|
225
252
|
* The `String` scalar type represents 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
253
|
*/
|
|
@@ -254,6 +281,14 @@ export type GetCoinResponses = {
|
|
|
254
281
|
*/
|
|
255
282
|
blurhash?: string;
|
|
256
283
|
};
|
|
284
|
+
/**
|
|
285
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
286
|
+
*/
|
|
287
|
+
videoPreviewUrl?: string;
|
|
288
|
+
/**
|
|
289
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
290
|
+
*/
|
|
291
|
+
videoHlsUrl?: string;
|
|
257
292
|
};
|
|
258
293
|
/**
|
|
259
294
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -317,7 +352,7 @@ export type GetCoinResponses = {
|
|
|
317
352
|
*/
|
|
318
353
|
id: string;
|
|
319
354
|
/**
|
|
320
|
-
*
|
|
355
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
321
356
|
*/
|
|
322
357
|
handle: string;
|
|
323
358
|
avatar?: {
|
|
@@ -342,13 +377,16 @@ export type GetCoinResponses = {
|
|
|
342
377
|
};
|
|
343
378
|
creatorEarnings?: Array<{
|
|
344
379
|
amount: {
|
|
380
|
+
/**
|
|
381
|
+
* Ethereum address of the currency
|
|
382
|
+
*/
|
|
345
383
|
currencyAddress: string;
|
|
346
384
|
/**
|
|
347
|
-
*
|
|
385
|
+
* Raw amount of the currency, in wei. Not formatted with decimals
|
|
348
386
|
*/
|
|
349
387
|
amountRaw: string;
|
|
350
388
|
/**
|
|
351
|
-
*
|
|
389
|
+
* Amount of the currency, in float format accounting for currency decimals
|
|
352
390
|
*/
|
|
353
391
|
amountDecimal: number;
|
|
354
392
|
};
|
|
@@ -436,7 +474,7 @@ export type GetCoinCommentsResponses = {
|
|
|
436
474
|
*/
|
|
437
475
|
id: string;
|
|
438
476
|
/**
|
|
439
|
-
*
|
|
477
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
440
478
|
*/
|
|
441
479
|
handle: string;
|
|
442
480
|
avatar?: {
|
|
@@ -490,7 +528,7 @@ export type GetCoinCommentsResponses = {
|
|
|
490
528
|
*/
|
|
491
529
|
id: string;
|
|
492
530
|
/**
|
|
493
|
-
*
|
|
531
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
494
532
|
*/
|
|
495
533
|
handle: string;
|
|
496
534
|
avatar?: {
|
|
@@ -580,9 +618,13 @@ export type GetCoinHoldersResponses = {
|
|
|
580
618
|
*/
|
|
581
619
|
id: string;
|
|
582
620
|
/**
|
|
583
|
-
*
|
|
621
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
584
622
|
*/
|
|
585
623
|
handle: string;
|
|
624
|
+
/**
|
|
625
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
626
|
+
*/
|
|
627
|
+
platformBlocked: boolean;
|
|
586
628
|
avatar?: {
|
|
587
629
|
previewImage: {
|
|
588
630
|
/**
|
|
@@ -656,9 +698,12 @@ export type GetCoinSwapsResponses = {
|
|
|
656
698
|
*/
|
|
657
699
|
priceUsdc?: string;
|
|
658
700
|
currencyAmount: {
|
|
701
|
+
/**
|
|
702
|
+
* Ethereum address of the currency
|
|
703
|
+
*/
|
|
659
704
|
currencyAddress: string;
|
|
660
705
|
/**
|
|
661
|
-
*
|
|
706
|
+
* Amount of the currency, in float format accounting for currency decimals
|
|
662
707
|
*/
|
|
663
708
|
amountDecimal: number;
|
|
664
709
|
};
|
|
@@ -690,9 +735,13 @@ export type GetCoinSwapsResponses = {
|
|
|
690
735
|
*/
|
|
691
736
|
id: string;
|
|
692
737
|
/**
|
|
693
|
-
*
|
|
738
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
694
739
|
*/
|
|
695
740
|
handle: string;
|
|
741
|
+
/**
|
|
742
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
743
|
+
*/
|
|
744
|
+
platformBlocked: boolean;
|
|
696
745
|
avatar?: {
|
|
697
746
|
previewImage: {
|
|
698
747
|
/**
|
|
@@ -770,6 +819,10 @@ export type GetCoinsResponses = {
|
|
|
770
819
|
* The Globally Unique ID of this object
|
|
771
820
|
*/
|
|
772
821
|
id: string;
|
|
822
|
+
/**
|
|
823
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
824
|
+
*/
|
|
825
|
+
platformBlocked: boolean;
|
|
773
826
|
/**
|
|
774
827
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
775
828
|
*/
|
|
@@ -816,12 +869,15 @@ export type GetCoinsResponses = {
|
|
|
816
869
|
};
|
|
817
870
|
tokenPrice?: {
|
|
818
871
|
/**
|
|
819
|
-
*
|
|
872
|
+
* Price of the pool in respect to USDC, not always available
|
|
820
873
|
*/
|
|
821
874
|
priceInUsdc?: string;
|
|
875
|
+
/**
|
|
876
|
+
* Ethereum address of the currency
|
|
877
|
+
*/
|
|
822
878
|
currencyAddress: string;
|
|
823
879
|
/**
|
|
824
|
-
*
|
|
880
|
+
* Price against the native token of the primary currency pool
|
|
825
881
|
*/
|
|
826
882
|
priceInPoolToken: string;
|
|
827
883
|
};
|
|
@@ -849,9 +905,13 @@ export type GetCoinsResponses = {
|
|
|
849
905
|
*/
|
|
850
906
|
id: string;
|
|
851
907
|
/**
|
|
852
|
-
*
|
|
908
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
853
909
|
*/
|
|
854
910
|
handle: string;
|
|
911
|
+
/**
|
|
912
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
913
|
+
*/
|
|
914
|
+
platformBlocked: boolean;
|
|
855
915
|
avatar?: {
|
|
856
916
|
previewImage: {
|
|
857
917
|
/**
|
|
@@ -878,6 +938,10 @@ export type GetCoinsResponses = {
|
|
|
878
938
|
* The `String` scalar type represents 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
939
|
*/
|
|
880
940
|
displayName?: string;
|
|
941
|
+
/**
|
|
942
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
943
|
+
*/
|
|
944
|
+
followerCount?: number;
|
|
881
945
|
/**
|
|
882
946
|
* The `String` scalar type represents 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
947
|
*/
|
|
@@ -892,6 +956,10 @@ export type GetCoinsResponses = {
|
|
|
892
956
|
* The `String` scalar type represents 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
957
|
*/
|
|
894
958
|
displayName?: string;
|
|
959
|
+
/**
|
|
960
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
961
|
+
*/
|
|
962
|
+
followerCount?: number;
|
|
895
963
|
/**
|
|
896
964
|
* The `String` scalar type represents 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
965
|
*/
|
|
@@ -906,6 +974,10 @@ export type GetCoinsResponses = {
|
|
|
906
974
|
* The `String` scalar type represents 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
975
|
*/
|
|
908
976
|
displayName?: string;
|
|
977
|
+
/**
|
|
978
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
979
|
+
*/
|
|
980
|
+
followerCount?: number;
|
|
909
981
|
/**
|
|
910
982
|
* The `String` scalar type represents 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
983
|
*/
|
|
@@ -920,6 +992,10 @@ export type GetCoinsResponses = {
|
|
|
920
992
|
* The `String` scalar type represents 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
993
|
*/
|
|
922
994
|
displayName?: string;
|
|
995
|
+
/**
|
|
996
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
997
|
+
*/
|
|
998
|
+
followerCount?: number;
|
|
923
999
|
/**
|
|
924
1000
|
* The `String` scalar type represents 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
1001
|
*/
|
|
@@ -953,6 +1029,14 @@ export type GetCoinsResponses = {
|
|
|
953
1029
|
*/
|
|
954
1030
|
blurhash?: string;
|
|
955
1031
|
};
|
|
1032
|
+
/**
|
|
1033
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1034
|
+
*/
|
|
1035
|
+
videoPreviewUrl?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1038
|
+
*/
|
|
1039
|
+
videoHlsUrl?: string;
|
|
956
1040
|
};
|
|
957
1041
|
/**
|
|
958
1042
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -1016,7 +1100,7 @@ export type GetCoinsResponses = {
|
|
|
1016
1100
|
*/
|
|
1017
1101
|
id: string;
|
|
1018
1102
|
/**
|
|
1019
|
-
*
|
|
1103
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1020
1104
|
*/
|
|
1021
1105
|
handle: string;
|
|
1022
1106
|
avatar?: {
|
|
@@ -1041,13 +1125,16 @@ export type GetCoinsResponses = {
|
|
|
1041
1125
|
};
|
|
1042
1126
|
creatorEarnings?: Array<{
|
|
1043
1127
|
amount: {
|
|
1128
|
+
/**
|
|
1129
|
+
* Ethereum address of the currency
|
|
1130
|
+
*/
|
|
1044
1131
|
currencyAddress: string;
|
|
1045
1132
|
/**
|
|
1046
|
-
*
|
|
1133
|
+
* Raw amount of the currency, in wei. Not formatted with decimals
|
|
1047
1134
|
*/
|
|
1048
1135
|
amountRaw: string;
|
|
1049
1136
|
/**
|
|
1050
|
-
*
|
|
1137
|
+
* Amount of the currency, in float format accounting for currency decimals
|
|
1051
1138
|
*/
|
|
1052
1139
|
amountDecimal: number;
|
|
1053
1140
|
};
|
|
@@ -1062,6 +1149,49 @@ export type GetCoinsResponses = {
|
|
|
1062
1149
|
|
|
1063
1150
|
export type GetCoinsResponse = GetCoinsResponses[keyof GetCoinsResponses];
|
|
1064
1151
|
|
|
1152
|
+
export type GetContentCoinPoolConfigData = {
|
|
1153
|
+
body?: never;
|
|
1154
|
+
path?: never;
|
|
1155
|
+
query: {
|
|
1156
|
+
creatorIdentifier?: string;
|
|
1157
|
+
currencyType: "ETH" | "ZORA" | "CREATOR_COIN" | "CREATOR_COIN_OR_ZORA";
|
|
1158
|
+
};
|
|
1159
|
+
url: "/contentCoinPoolConfig";
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
export type GetContentCoinPoolConfigErrors = {
|
|
1163
|
+
/**
|
|
1164
|
+
* Bad request
|
|
1165
|
+
*/
|
|
1166
|
+
400: unknown;
|
|
1167
|
+
/**
|
|
1168
|
+
* Internal server error
|
|
1169
|
+
*/
|
|
1170
|
+
500: unknown;
|
|
1171
|
+
};
|
|
1172
|
+
|
|
1173
|
+
export type GetContentCoinPoolConfigResponses = {
|
|
1174
|
+
/**
|
|
1175
|
+
* Successful operation
|
|
1176
|
+
*/
|
|
1177
|
+
200: {
|
|
1178
|
+
contentCoinPoolConfig: {
|
|
1179
|
+
/**
|
|
1180
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1181
|
+
*/
|
|
1182
|
+
encodedConfig: string;
|
|
1183
|
+
currency: string;
|
|
1184
|
+
lowerTicks: Array<number>;
|
|
1185
|
+
upperTicks: Array<number>;
|
|
1186
|
+
numDiscoveryPositions: Array<number>;
|
|
1187
|
+
maxDiscoverySupplyShares: Array<string>;
|
|
1188
|
+
};
|
|
1189
|
+
};
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
export type GetContentCoinPoolConfigResponse =
|
|
1193
|
+
GetContentCoinPoolConfigResponses[keyof GetContentCoinPoolConfigResponses];
|
|
1194
|
+
|
|
1065
1195
|
export type SetCreateUploadJwtData = {
|
|
1066
1196
|
body?: {
|
|
1067
1197
|
creatorAddress: string;
|
|
@@ -1097,6 +1227,48 @@ export type SetCreateUploadJwtResponses = {
|
|
|
1097
1227
|
export type SetCreateUploadJwtResponse =
|
|
1098
1228
|
SetCreateUploadJwtResponses[keyof SetCreateUploadJwtResponses];
|
|
1099
1229
|
|
|
1230
|
+
export type GetCreatorCoinPoolConfigData = {
|
|
1231
|
+
body?: never;
|
|
1232
|
+
path?: never;
|
|
1233
|
+
query?: {
|
|
1234
|
+
targetMarketCapUsd?: number;
|
|
1235
|
+
};
|
|
1236
|
+
url: "/creatorCoinPoolConfig";
|
|
1237
|
+
};
|
|
1238
|
+
|
|
1239
|
+
export type GetCreatorCoinPoolConfigErrors = {
|
|
1240
|
+
/**
|
|
1241
|
+
* Bad request
|
|
1242
|
+
*/
|
|
1243
|
+
400: unknown;
|
|
1244
|
+
/**
|
|
1245
|
+
* Internal server error
|
|
1246
|
+
*/
|
|
1247
|
+
500: unknown;
|
|
1248
|
+
};
|
|
1249
|
+
|
|
1250
|
+
export type GetCreatorCoinPoolConfigResponses = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Successful operation
|
|
1253
|
+
*/
|
|
1254
|
+
200: {
|
|
1255
|
+
creatorCoinPoolConfig: {
|
|
1256
|
+
/**
|
|
1257
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1258
|
+
*/
|
|
1259
|
+
encodedConfig: string;
|
|
1260
|
+
currency: string;
|
|
1261
|
+
lowerTicks: Array<number>;
|
|
1262
|
+
upperTicks: Array<number>;
|
|
1263
|
+
numDiscoveryPositions: Array<number>;
|
|
1264
|
+
maxDiscoverySupplyShares: Array<string>;
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
export type GetCreatorCoinPoolConfigResponse =
|
|
1270
|
+
GetCreatorCoinPoolConfigResponses[keyof GetCreatorCoinPoolConfigResponses];
|
|
1271
|
+
|
|
1100
1272
|
export type GetExploreData = {
|
|
1101
1273
|
body?: never;
|
|
1102
1274
|
path?: never;
|
|
@@ -1112,7 +1284,11 @@ export type GetExploreData = {
|
|
|
1112
1284
|
| "FEATURED"
|
|
1113
1285
|
| "FEATURED_VIDEOS"
|
|
1114
1286
|
| "NEW_CREATORS"
|
|
1115
|
-
| "MOST_VALUABLE_CREATORS"
|
|
1287
|
+
| "MOST_VALUABLE_CREATORS"
|
|
1288
|
+
| "FEATURED_CREATORS"
|
|
1289
|
+
| "TOP_VOLUME_CREATORS_24H"
|
|
1290
|
+
| "TOP_VOLUME_ALL_24H"
|
|
1291
|
+
| "NEW_ALL";
|
|
1116
1292
|
count?: number;
|
|
1117
1293
|
after?: string;
|
|
1118
1294
|
};
|
|
@@ -1142,6 +1318,10 @@ export type GetExploreResponses = {
|
|
|
1142
1318
|
* The Globally Unique ID of this object
|
|
1143
1319
|
*/
|
|
1144
1320
|
id: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
1323
|
+
*/
|
|
1324
|
+
platformBlocked: boolean;
|
|
1145
1325
|
/**
|
|
1146
1326
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1147
1327
|
*/
|
|
@@ -1188,12 +1368,15 @@ export type GetExploreResponses = {
|
|
|
1188
1368
|
};
|
|
1189
1369
|
tokenPrice?: {
|
|
1190
1370
|
/**
|
|
1191
|
-
*
|
|
1371
|
+
* Price of the pool in respect to USDC, not always available
|
|
1192
1372
|
*/
|
|
1193
1373
|
priceInUsdc?: string;
|
|
1374
|
+
/**
|
|
1375
|
+
* Ethereum address of the currency
|
|
1376
|
+
*/
|
|
1194
1377
|
currencyAddress: string;
|
|
1195
1378
|
/**
|
|
1196
|
-
*
|
|
1379
|
+
* Price against the native token of the primary currency pool
|
|
1197
1380
|
*/
|
|
1198
1381
|
priceInPoolToken: string;
|
|
1199
1382
|
};
|
|
@@ -1221,9 +1404,13 @@ export type GetExploreResponses = {
|
|
|
1221
1404
|
*/
|
|
1222
1405
|
id: string;
|
|
1223
1406
|
/**
|
|
1224
|
-
*
|
|
1407
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1225
1408
|
*/
|
|
1226
1409
|
handle: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
1412
|
+
*/
|
|
1413
|
+
platformBlocked: boolean;
|
|
1227
1414
|
avatar?: {
|
|
1228
1415
|
previewImage: {
|
|
1229
1416
|
/**
|
|
@@ -1250,6 +1437,10 @@ export type GetExploreResponses = {
|
|
|
1250
1437
|
* The `String` scalar type represents 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
1438
|
*/
|
|
1252
1439
|
displayName?: string;
|
|
1440
|
+
/**
|
|
1441
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1442
|
+
*/
|
|
1443
|
+
followerCount?: number;
|
|
1253
1444
|
/**
|
|
1254
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.
|
|
1255
1446
|
*/
|
|
@@ -1264,6 +1455,10 @@ export type GetExploreResponses = {
|
|
|
1264
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.
|
|
1265
1456
|
*/
|
|
1266
1457
|
displayName?: string;
|
|
1458
|
+
/**
|
|
1459
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1460
|
+
*/
|
|
1461
|
+
followerCount?: number;
|
|
1267
1462
|
/**
|
|
1268
1463
|
* The `String` scalar type represents 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
1464
|
*/
|
|
@@ -1278,6 +1473,10 @@ export type GetExploreResponses = {
|
|
|
1278
1473
|
* The `String` scalar type represents 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
1474
|
*/
|
|
1280
1475
|
displayName?: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1478
|
+
*/
|
|
1479
|
+
followerCount?: number;
|
|
1281
1480
|
/**
|
|
1282
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.
|
|
1283
1482
|
*/
|
|
@@ -1292,6 +1491,10 @@ export type GetExploreResponses = {
|
|
|
1292
1491
|
* The `String` scalar type represents 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
1492
|
*/
|
|
1294
1493
|
displayName?: string;
|
|
1494
|
+
/**
|
|
1495
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1496
|
+
*/
|
|
1497
|
+
followerCount?: number;
|
|
1295
1498
|
/**
|
|
1296
1499
|
* The `String` scalar type represents 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
1500
|
*/
|
|
@@ -1325,6 +1528,14 @@ export type GetExploreResponses = {
|
|
|
1325
1528
|
*/
|
|
1326
1529
|
blurhash?: string;
|
|
1327
1530
|
};
|
|
1531
|
+
/**
|
|
1532
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1533
|
+
*/
|
|
1534
|
+
videoPreviewUrl?: string;
|
|
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
|
+
videoHlsUrl?: string;
|
|
1328
1539
|
};
|
|
1329
1540
|
/**
|
|
1330
1541
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -1366,6 +1577,68 @@ export type GetExploreResponses = {
|
|
|
1366
1577
|
|
|
1367
1578
|
export type GetExploreResponse = GetExploreResponses[keyof GetExploreResponses];
|
|
1368
1579
|
|
|
1580
|
+
export type GetFeaturedCreatorsData = {
|
|
1581
|
+
body?: never;
|
|
1582
|
+
path?: never;
|
|
1583
|
+
query?: {
|
|
1584
|
+
year?: number;
|
|
1585
|
+
week?: number;
|
|
1586
|
+
first?: number;
|
|
1587
|
+
after?: string;
|
|
1588
|
+
};
|
|
1589
|
+
url: "/featuredCreators";
|
|
1590
|
+
};
|
|
1591
|
+
|
|
1592
|
+
export type GetFeaturedCreatorsErrors = {
|
|
1593
|
+
/**
|
|
1594
|
+
* Bad request
|
|
1595
|
+
*/
|
|
1596
|
+
400: unknown;
|
|
1597
|
+
/**
|
|
1598
|
+
* Internal server error
|
|
1599
|
+
*/
|
|
1600
|
+
500: unknown;
|
|
1601
|
+
};
|
|
1602
|
+
|
|
1603
|
+
export type GetFeaturedCreatorsResponses = {
|
|
1604
|
+
/**
|
|
1605
|
+
* Successful operation
|
|
1606
|
+
*/
|
|
1607
|
+
200: {
|
|
1608
|
+
traderLeaderboardFeaturedCreators: {
|
|
1609
|
+
/**
|
|
1610
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1611
|
+
*/
|
|
1612
|
+
count: number;
|
|
1613
|
+
pageInfo: {
|
|
1614
|
+
/**
|
|
1615
|
+
* When paginating forwards, are there more items?
|
|
1616
|
+
*/
|
|
1617
|
+
hasNextPage: boolean;
|
|
1618
|
+
/**
|
|
1619
|
+
* When paginating forwards, the cursor to continue.
|
|
1620
|
+
*/
|
|
1621
|
+
endCursor?: string;
|
|
1622
|
+
};
|
|
1623
|
+
edges: Array<{
|
|
1624
|
+
node: {
|
|
1625
|
+
/**
|
|
1626
|
+
* The Globally Unique ID of this object
|
|
1627
|
+
*/
|
|
1628
|
+
id: string;
|
|
1629
|
+
/**
|
|
1630
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1631
|
+
*/
|
|
1632
|
+
handle: string;
|
|
1633
|
+
};
|
|
1634
|
+
}>;
|
|
1635
|
+
};
|
|
1636
|
+
};
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
export type GetFeaturedCreatorsResponse =
|
|
1640
|
+
GetFeaturedCreatorsResponses[keyof GetFeaturedCreatorsResponses];
|
|
1641
|
+
|
|
1369
1642
|
export type GetProfileData = {
|
|
1370
1643
|
body?: never;
|
|
1371
1644
|
path?: never;
|
|
@@ -1397,9 +1670,13 @@ export type GetProfileResponses = {
|
|
|
1397
1670
|
*/
|
|
1398
1671
|
id: string;
|
|
1399
1672
|
/**
|
|
1400
|
-
*
|
|
1673
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1401
1674
|
*/
|
|
1402
1675
|
handle: string;
|
|
1676
|
+
/**
|
|
1677
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
1678
|
+
*/
|
|
1679
|
+
platformBlocked: boolean;
|
|
1403
1680
|
avatar?: {
|
|
1404
1681
|
/**
|
|
1405
1682
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
@@ -1418,12 +1695,16 @@ export type GetProfileResponses = {
|
|
|
1418
1695
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1419
1696
|
*/
|
|
1420
1697
|
username: string;
|
|
1698
|
+
/**
|
|
1699
|
+
* Date with time (isoformat)
|
|
1700
|
+
*/
|
|
1701
|
+
createdAt: string;
|
|
1421
1702
|
/**
|
|
1422
1703
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1423
1704
|
*/
|
|
1424
1705
|
displayName?: string;
|
|
1425
1706
|
/**
|
|
1426
|
-
*
|
|
1707
|
+
* Profile bio / description. May contain markdown formatting
|
|
1427
1708
|
*/
|
|
1428
1709
|
bio: string;
|
|
1429
1710
|
/**
|
|
@@ -1432,6 +1713,7 @@ export type GetProfileResponses = {
|
|
|
1432
1713
|
website?: string;
|
|
1433
1714
|
publicWallet: {
|
|
1434
1715
|
walletAddress: string;
|
|
1716
|
+
walletType: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
|
|
1435
1717
|
};
|
|
1436
1718
|
socialAccounts: {
|
|
1437
1719
|
instagram?: {
|
|
@@ -1443,6 +1725,10 @@ export type GetProfileResponses = {
|
|
|
1443
1725
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1444
1726
|
*/
|
|
1445
1727
|
displayName?: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1730
|
+
*/
|
|
1731
|
+
followerCount?: number;
|
|
1446
1732
|
/**
|
|
1447
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.
|
|
1448
1734
|
*/
|
|
@@ -1457,6 +1743,10 @@ export type GetProfileResponses = {
|
|
|
1457
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.
|
|
1458
1744
|
*/
|
|
1459
1745
|
displayName?: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1748
|
+
*/
|
|
1749
|
+
followerCount?: number;
|
|
1460
1750
|
/**
|
|
1461
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.
|
|
1462
1752
|
*/
|
|
@@ -1471,6 +1761,10 @@ export type GetProfileResponses = {
|
|
|
1471
1761
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1472
1762
|
*/
|
|
1473
1763
|
displayName?: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1766
|
+
*/
|
|
1767
|
+
followerCount?: number;
|
|
1474
1768
|
/**
|
|
1475
1769
|
* The `String` scalar type represents 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
1770
|
*/
|
|
@@ -1485,6 +1779,10 @@ export type GetProfileResponses = {
|
|
|
1485
1779
|
* The `String` scalar type represents 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
1780
|
*/
|
|
1487
1781
|
displayName?: string;
|
|
1782
|
+
/**
|
|
1783
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1784
|
+
*/
|
|
1785
|
+
followerCount?: number;
|
|
1488
1786
|
/**
|
|
1489
1787
|
* The `String` scalar type represents 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
1788
|
*/
|
|
@@ -1552,9 +1850,13 @@ export type GetProfileBalancesResponses = {
|
|
|
1552
1850
|
*/
|
|
1553
1851
|
id: string;
|
|
1554
1852
|
/**
|
|
1555
|
-
*
|
|
1853
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1556
1854
|
*/
|
|
1557
1855
|
handle: string;
|
|
1856
|
+
/**
|
|
1857
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
1858
|
+
*/
|
|
1859
|
+
platformBlocked: boolean;
|
|
1558
1860
|
avatar?: {
|
|
1559
1861
|
previewImage: {
|
|
1560
1862
|
/**
|
|
@@ -1581,6 +1883,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1581
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.
|
|
1582
1884
|
*/
|
|
1583
1885
|
displayName?: string;
|
|
1886
|
+
/**
|
|
1887
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1888
|
+
*/
|
|
1889
|
+
followerCount?: number;
|
|
1584
1890
|
/**
|
|
1585
1891
|
* The `String` scalar type represents 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
1892
|
*/
|
|
@@ -1595,6 +1901,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1595
1901
|
* The `String` scalar type represents 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
1902
|
*/
|
|
1597
1903
|
displayName?: string;
|
|
1904
|
+
/**
|
|
1905
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1906
|
+
*/
|
|
1907
|
+
followerCount?: number;
|
|
1598
1908
|
/**
|
|
1599
1909
|
* The `String` scalar type represents 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
1910
|
*/
|
|
@@ -1609,6 +1919,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1609
1919
|
* The `String` scalar type represents 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
1920
|
*/
|
|
1611
1921
|
displayName?: string;
|
|
1922
|
+
/**
|
|
1923
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1924
|
+
*/
|
|
1925
|
+
followerCount?: number;
|
|
1612
1926
|
/**
|
|
1613
1927
|
* The `String` scalar type represents 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
1928
|
*/
|
|
@@ -1623,6 +1937,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1623
1937
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1624
1938
|
*/
|
|
1625
1939
|
displayName?: string;
|
|
1940
|
+
/**
|
|
1941
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1942
|
+
*/
|
|
1943
|
+
followerCount?: number;
|
|
1626
1944
|
/**
|
|
1627
1945
|
* The `String` scalar type represents 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
1946
|
*/
|
|
@@ -1652,6 +1970,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1652
1970
|
* The Globally Unique ID of this object
|
|
1653
1971
|
*/
|
|
1654
1972
|
id: string;
|
|
1973
|
+
/**
|
|
1974
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
1975
|
+
*/
|
|
1976
|
+
platformBlocked: boolean;
|
|
1655
1977
|
/**
|
|
1656
1978
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1657
1979
|
*/
|
|
@@ -1698,12 +2020,15 @@ export type GetProfileBalancesResponses = {
|
|
|
1698
2020
|
};
|
|
1699
2021
|
tokenPrice?: {
|
|
1700
2022
|
/**
|
|
1701
|
-
*
|
|
2023
|
+
* Price of the pool in respect to USDC, not always available
|
|
1702
2024
|
*/
|
|
1703
2025
|
priceInUsdc?: string;
|
|
2026
|
+
/**
|
|
2027
|
+
* Ethereum address of the currency
|
|
2028
|
+
*/
|
|
1704
2029
|
currencyAddress: string;
|
|
1705
2030
|
/**
|
|
1706
|
-
*
|
|
2031
|
+
* Price against the native token of the primary currency pool
|
|
1707
2032
|
*/
|
|
1708
2033
|
priceInPoolToken: string;
|
|
1709
2034
|
};
|
|
@@ -1731,9 +2056,13 @@ export type GetProfileBalancesResponses = {
|
|
|
1731
2056
|
*/
|
|
1732
2057
|
id: string;
|
|
1733
2058
|
/**
|
|
1734
|
-
*
|
|
2059
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1735
2060
|
*/
|
|
1736
2061
|
handle: string;
|
|
2062
|
+
/**
|
|
2063
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
2064
|
+
*/
|
|
2065
|
+
platformBlocked: boolean;
|
|
1737
2066
|
avatar?: {
|
|
1738
2067
|
previewImage: {
|
|
1739
2068
|
/**
|
|
@@ -1760,6 +2089,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1760
2089
|
* The `String` scalar type represents 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
2090
|
*/
|
|
1762
2091
|
displayName?: string;
|
|
2092
|
+
/**
|
|
2093
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2094
|
+
*/
|
|
2095
|
+
followerCount?: number;
|
|
1763
2096
|
/**
|
|
1764
2097
|
* The `String` scalar type represents 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
2098
|
*/
|
|
@@ -1774,6 +2107,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1774
2107
|
* The `String` scalar type represents 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
2108
|
*/
|
|
1776
2109
|
displayName?: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2112
|
+
*/
|
|
2113
|
+
followerCount?: number;
|
|
1777
2114
|
/**
|
|
1778
2115
|
* The `String` scalar type represents 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
2116
|
*/
|
|
@@ -1788,6 +2125,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1788
2125
|
* The `String` scalar type represents 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
2126
|
*/
|
|
1790
2127
|
displayName?: string;
|
|
2128
|
+
/**
|
|
2129
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2130
|
+
*/
|
|
2131
|
+
followerCount?: number;
|
|
1791
2132
|
/**
|
|
1792
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.
|
|
1793
2134
|
*/
|
|
@@ -1802,6 +2143,10 @@ export type GetProfileBalancesResponses = {
|
|
|
1802
2143
|
* The `String` scalar type represents 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
2144
|
*/
|
|
1804
2145
|
displayName?: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2148
|
+
*/
|
|
2149
|
+
followerCount?: number;
|
|
1805
2150
|
/**
|
|
1806
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.
|
|
1807
2152
|
*/
|
|
@@ -1835,6 +2180,14 @@ export type GetProfileBalancesResponses = {
|
|
|
1835
2180
|
*/
|
|
1836
2181
|
blurhash?: string;
|
|
1837
2182
|
};
|
|
2183
|
+
/**
|
|
2184
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2185
|
+
*/
|
|
2186
|
+
videoPreviewUrl?: string;
|
|
2187
|
+
/**
|
|
2188
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2189
|
+
*/
|
|
2190
|
+
videoHlsUrl?: string;
|
|
1838
2191
|
};
|
|
1839
2192
|
/**
|
|
1840
2193
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -1910,9 +2263,13 @@ export type GetProfileCoinsResponses = {
|
|
|
1910
2263
|
*/
|
|
1911
2264
|
id: string;
|
|
1912
2265
|
/**
|
|
1913
|
-
*
|
|
2266
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1914
2267
|
*/
|
|
1915
2268
|
handle: string;
|
|
2269
|
+
/**
|
|
2270
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
2271
|
+
*/
|
|
2272
|
+
platformBlocked: boolean;
|
|
1916
2273
|
avatar?: {
|
|
1917
2274
|
previewImage: {
|
|
1918
2275
|
/**
|
|
@@ -1939,6 +2296,10 @@ export type GetProfileCoinsResponses = {
|
|
|
1939
2296
|
* The `String` scalar type represents 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
2297
|
*/
|
|
1941
2298
|
displayName?: string;
|
|
2299
|
+
/**
|
|
2300
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2301
|
+
*/
|
|
2302
|
+
followerCount?: number;
|
|
1942
2303
|
/**
|
|
1943
2304
|
* The `String` scalar type represents 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
2305
|
*/
|
|
@@ -1953,6 +2314,10 @@ export type GetProfileCoinsResponses = {
|
|
|
1953
2314
|
* The `String` scalar type represents 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
2315
|
*/
|
|
1955
2316
|
displayName?: string;
|
|
2317
|
+
/**
|
|
2318
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2319
|
+
*/
|
|
2320
|
+
followerCount?: number;
|
|
1956
2321
|
/**
|
|
1957
2322
|
* The `String` scalar type represents 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
2323
|
*/
|
|
@@ -1967,6 +2332,10 @@ export type GetProfileCoinsResponses = {
|
|
|
1967
2332
|
* The `String` scalar type represents 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
2333
|
*/
|
|
1969
2334
|
displayName?: string;
|
|
2335
|
+
/**
|
|
2336
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2337
|
+
*/
|
|
2338
|
+
followerCount?: number;
|
|
1970
2339
|
/**
|
|
1971
2340
|
* The `String` scalar type represents 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
2341
|
*/
|
|
@@ -1981,6 +2350,10 @@ export type GetProfileCoinsResponses = {
|
|
|
1981
2350
|
* The `String` scalar type represents 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
2351
|
*/
|
|
1983
2352
|
displayName?: string;
|
|
2353
|
+
/**
|
|
2354
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2355
|
+
*/
|
|
2356
|
+
followerCount?: number;
|
|
1984
2357
|
/**
|
|
1985
2358
|
* The `String` scalar type represents 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
2359
|
*/
|
|
@@ -2001,6 +2374,10 @@ export type GetProfileCoinsResponses = {
|
|
|
2001
2374
|
* The Globally Unique ID of this object
|
|
2002
2375
|
*/
|
|
2003
2376
|
id: string;
|
|
2377
|
+
/**
|
|
2378
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
2379
|
+
*/
|
|
2380
|
+
platformBlocked: boolean;
|
|
2004
2381
|
/**
|
|
2005
2382
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2006
2383
|
*/
|
|
@@ -2047,12 +2424,15 @@ export type GetProfileCoinsResponses = {
|
|
|
2047
2424
|
};
|
|
2048
2425
|
tokenPrice?: {
|
|
2049
2426
|
/**
|
|
2050
|
-
*
|
|
2427
|
+
* Price of the pool in respect to USDC, not always available
|
|
2051
2428
|
*/
|
|
2052
2429
|
priceInUsdc?: string;
|
|
2430
|
+
/**
|
|
2431
|
+
* Ethereum address of the currency
|
|
2432
|
+
*/
|
|
2053
2433
|
currencyAddress: string;
|
|
2054
2434
|
/**
|
|
2055
|
-
*
|
|
2435
|
+
* Price against the native token of the primary currency pool
|
|
2056
2436
|
*/
|
|
2057
2437
|
priceInPoolToken: string;
|
|
2058
2438
|
};
|
|
@@ -2080,9 +2460,13 @@ export type GetProfileCoinsResponses = {
|
|
|
2080
2460
|
*/
|
|
2081
2461
|
id: string;
|
|
2082
2462
|
/**
|
|
2083
|
-
*
|
|
2463
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
2084
2464
|
*/
|
|
2085
2465
|
handle: string;
|
|
2466
|
+
/**
|
|
2467
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
2468
|
+
*/
|
|
2469
|
+
platformBlocked: boolean;
|
|
2086
2470
|
avatar?: {
|
|
2087
2471
|
previewImage: {
|
|
2088
2472
|
/**
|
|
@@ -2109,6 +2493,10 @@ export type GetProfileCoinsResponses = {
|
|
|
2109
2493
|
* The `String` scalar type represents 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
2494
|
*/
|
|
2111
2495
|
displayName?: string;
|
|
2496
|
+
/**
|
|
2497
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2498
|
+
*/
|
|
2499
|
+
followerCount?: number;
|
|
2112
2500
|
/**
|
|
2113
2501
|
* The `String` scalar type represents 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
2502
|
*/
|
|
@@ -2123,6 +2511,10 @@ export type GetProfileCoinsResponses = {
|
|
|
2123
2511
|
* The `String` scalar type represents 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
2512
|
*/
|
|
2125
2513
|
displayName?: string;
|
|
2514
|
+
/**
|
|
2515
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2516
|
+
*/
|
|
2517
|
+
followerCount?: number;
|
|
2126
2518
|
/**
|
|
2127
2519
|
* The `String` scalar type represents 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
2520
|
*/
|
|
@@ -2137,6 +2529,10 @@ export type GetProfileCoinsResponses = {
|
|
|
2137
2529
|
* The `String` scalar type represents 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
2530
|
*/
|
|
2139
2531
|
displayName?: string;
|
|
2532
|
+
/**
|
|
2533
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2534
|
+
*/
|
|
2535
|
+
followerCount?: number;
|
|
2140
2536
|
/**
|
|
2141
2537
|
* The `String` scalar type represents 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
2538
|
*/
|
|
@@ -2151,6 +2547,10 @@ export type GetProfileCoinsResponses = {
|
|
|
2151
2547
|
* The `String` scalar type represents 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
2548
|
*/
|
|
2153
2549
|
displayName?: string;
|
|
2550
|
+
/**
|
|
2551
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2552
|
+
*/
|
|
2553
|
+
followerCount?: number;
|
|
2154
2554
|
/**
|
|
2155
2555
|
* The `String` scalar type represents 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
2556
|
*/
|
|
@@ -2184,6 +2584,14 @@ export type GetProfileCoinsResponses = {
|
|
|
2184
2584
|
*/
|
|
2185
2585
|
blurhash?: string;
|
|
2186
2586
|
};
|
|
2587
|
+
/**
|
|
2588
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2589
|
+
*/
|
|
2590
|
+
videoPreviewUrl?: string;
|
|
2591
|
+
/**
|
|
2592
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2593
|
+
*/
|
|
2594
|
+
videoHlsUrl?: string;
|
|
2187
2595
|
};
|
|
2188
2596
|
/**
|
|
2189
2597
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -2247,7 +2655,7 @@ export type GetProfileCoinsResponses = {
|
|
|
2247
2655
|
*/
|
|
2248
2656
|
id: string;
|
|
2249
2657
|
/**
|
|
2250
|
-
*
|
|
2658
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
2251
2659
|
*/
|
|
2252
2660
|
handle: string;
|
|
2253
2661
|
avatar?: {
|
|
@@ -2290,6 +2698,361 @@ export type GetProfileCoinsResponses = {
|
|
|
2290
2698
|
export type GetProfileCoinsResponse =
|
|
2291
2699
|
GetProfileCoinsResponses[keyof GetProfileCoinsResponses];
|
|
2292
2700
|
|
|
2701
|
+
export type GetProfileSocialData = {
|
|
2702
|
+
body?: never;
|
|
2703
|
+
path?: never;
|
|
2704
|
+
query: {
|
|
2705
|
+
identifier: string;
|
|
2706
|
+
};
|
|
2707
|
+
url: "/profileSocial";
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
export type GetProfileSocialErrors = {
|
|
2711
|
+
/**
|
|
2712
|
+
* Bad request
|
|
2713
|
+
*/
|
|
2714
|
+
400: unknown;
|
|
2715
|
+
/**
|
|
2716
|
+
* Internal server error
|
|
2717
|
+
*/
|
|
2718
|
+
500: unknown;
|
|
2719
|
+
};
|
|
2720
|
+
|
|
2721
|
+
export type GetProfileSocialResponses = {
|
|
2722
|
+
/**
|
|
2723
|
+
* Successful operation
|
|
2724
|
+
*/
|
|
2725
|
+
200: {
|
|
2726
|
+
profile?: {
|
|
2727
|
+
/**
|
|
2728
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2729
|
+
*/
|
|
2730
|
+
username: string;
|
|
2731
|
+
/**
|
|
2732
|
+
* Date with time (isoformat)
|
|
2733
|
+
*/
|
|
2734
|
+
createdAt: string;
|
|
2735
|
+
/**
|
|
2736
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2737
|
+
*/
|
|
2738
|
+
displayName?: string;
|
|
2739
|
+
/**
|
|
2740
|
+
* Profile bio / description. May contain markdown formatting
|
|
2741
|
+
*/
|
|
2742
|
+
bio: string;
|
|
2743
|
+
/**
|
|
2744
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2745
|
+
*/
|
|
2746
|
+
website?: string;
|
|
2747
|
+
publicWallet: {
|
|
2748
|
+
walletAddress: string;
|
|
2749
|
+
walletType: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
|
|
2750
|
+
};
|
|
2751
|
+
socialAccounts: {
|
|
2752
|
+
instagram?: {
|
|
2753
|
+
/**
|
|
2754
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2755
|
+
*/
|
|
2756
|
+
username?: string;
|
|
2757
|
+
/**
|
|
2758
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2759
|
+
*/
|
|
2760
|
+
displayName?: string;
|
|
2761
|
+
/**
|
|
2762
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2763
|
+
*/
|
|
2764
|
+
followerCount?: number;
|
|
2765
|
+
/**
|
|
2766
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2767
|
+
*/
|
|
2768
|
+
id?: string;
|
|
2769
|
+
};
|
|
2770
|
+
tiktok?: {
|
|
2771
|
+
/**
|
|
2772
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2773
|
+
*/
|
|
2774
|
+
username?: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2777
|
+
*/
|
|
2778
|
+
displayName?: string;
|
|
2779
|
+
/**
|
|
2780
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2781
|
+
*/
|
|
2782
|
+
followerCount?: number;
|
|
2783
|
+
/**
|
|
2784
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2785
|
+
*/
|
|
2786
|
+
id?: string;
|
|
2787
|
+
};
|
|
2788
|
+
twitter?: {
|
|
2789
|
+
/**
|
|
2790
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2791
|
+
*/
|
|
2792
|
+
username?: string;
|
|
2793
|
+
/**
|
|
2794
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2795
|
+
*/
|
|
2796
|
+
displayName?: string;
|
|
2797
|
+
/**
|
|
2798
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2799
|
+
*/
|
|
2800
|
+
followerCount?: number;
|
|
2801
|
+
/**
|
|
2802
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2803
|
+
*/
|
|
2804
|
+
id?: string;
|
|
2805
|
+
};
|
|
2806
|
+
farcaster?: {
|
|
2807
|
+
/**
|
|
2808
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2809
|
+
*/
|
|
2810
|
+
username?: string;
|
|
2811
|
+
/**
|
|
2812
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2813
|
+
*/
|
|
2814
|
+
displayName?: string;
|
|
2815
|
+
/**
|
|
2816
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2817
|
+
*/
|
|
2818
|
+
followerCount?: number;
|
|
2819
|
+
/**
|
|
2820
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2821
|
+
*/
|
|
2822
|
+
id?: string;
|
|
2823
|
+
};
|
|
2824
|
+
};
|
|
2825
|
+
linkedWallets: {
|
|
2826
|
+
edges: Array<{
|
|
2827
|
+
node: {
|
|
2828
|
+
walletType: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
|
|
2829
|
+
walletAddress: string;
|
|
2830
|
+
};
|
|
2831
|
+
}>;
|
|
2832
|
+
};
|
|
2833
|
+
creatorCoin?: {
|
|
2834
|
+
address: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2837
|
+
*/
|
|
2838
|
+
marketCap: string;
|
|
2839
|
+
/**
|
|
2840
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2841
|
+
*/
|
|
2842
|
+
marketCapDelta24h: string;
|
|
2843
|
+
};
|
|
2844
|
+
/**
|
|
2845
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
2846
|
+
*/
|
|
2847
|
+
handle: string;
|
|
2848
|
+
/**
|
|
2849
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
2850
|
+
*/
|
|
2851
|
+
platformBlocked: boolean;
|
|
2852
|
+
avatar?: {
|
|
2853
|
+
/**
|
|
2854
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2855
|
+
*/
|
|
2856
|
+
small: string;
|
|
2857
|
+
/**
|
|
2858
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2859
|
+
*/
|
|
2860
|
+
medium: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2863
|
+
*/
|
|
2864
|
+
blurhash?: string;
|
|
2865
|
+
};
|
|
2866
|
+
/**
|
|
2867
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2868
|
+
*/
|
|
2869
|
+
usernameChangesCount: number;
|
|
2870
|
+
externalWallet?: {
|
|
2871
|
+
/**
|
|
2872
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2873
|
+
*/
|
|
2874
|
+
ensName?: string;
|
|
2875
|
+
walletAddress: string;
|
|
2876
|
+
};
|
|
2877
|
+
followers: {
|
|
2878
|
+
/**
|
|
2879
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2880
|
+
*/
|
|
2881
|
+
count: number;
|
|
2882
|
+
};
|
|
2883
|
+
following: {
|
|
2884
|
+
/**
|
|
2885
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2886
|
+
*/
|
|
2887
|
+
count: number;
|
|
2888
|
+
};
|
|
2889
|
+
socialAccountLinkedEvents: {
|
|
2890
|
+
edges: Array<{
|
|
2891
|
+
node: {
|
|
2892
|
+
/**
|
|
2893
|
+
* The Globally Unique ID of this object
|
|
2894
|
+
*/
|
|
2895
|
+
id: string;
|
|
2896
|
+
platform: "TWITTER" | "TIKTOK" | "FARCASTER" | "INSTAGRAM";
|
|
2897
|
+
/**
|
|
2898
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2899
|
+
*/
|
|
2900
|
+
socialAccountUsername: string;
|
|
2901
|
+
/**
|
|
2902
|
+
* Date with time (isoformat)
|
|
2903
|
+
*/
|
|
2904
|
+
occurredAt: string;
|
|
2905
|
+
eventType: "LINK" | "UNLINK";
|
|
2906
|
+
};
|
|
2907
|
+
}>;
|
|
2908
|
+
};
|
|
2909
|
+
};
|
|
2910
|
+
};
|
|
2911
|
+
};
|
|
2912
|
+
|
|
2913
|
+
export type GetProfileSocialResponse =
|
|
2914
|
+
GetProfileSocialResponses[keyof GetProfileSocialResponses];
|
|
2915
|
+
|
|
2916
|
+
export type GetTokenInfoData = {
|
|
2917
|
+
body?: never;
|
|
2918
|
+
path?: never;
|
|
2919
|
+
query: {
|
|
2920
|
+
address: string;
|
|
2921
|
+
chainId?: number;
|
|
2922
|
+
};
|
|
2923
|
+
url: "/tokenInfo";
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2926
|
+
export type GetTokenInfoErrors = {
|
|
2927
|
+
/**
|
|
2928
|
+
* Bad request
|
|
2929
|
+
*/
|
|
2930
|
+
400: unknown;
|
|
2931
|
+
/**
|
|
2932
|
+
* Internal server error
|
|
2933
|
+
*/
|
|
2934
|
+
500: unknown;
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2937
|
+
export type GetTokenInfoResponses = {
|
|
2938
|
+
/**
|
|
2939
|
+
* Successful operation
|
|
2940
|
+
*/
|
|
2941
|
+
200: {
|
|
2942
|
+
erc20Token?: {
|
|
2943
|
+
currency?: {
|
|
2944
|
+
/**
|
|
2945
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2946
|
+
*/
|
|
2947
|
+
priceUsd?: string;
|
|
2948
|
+
/**
|
|
2949
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2950
|
+
*/
|
|
2951
|
+
decimals?: number;
|
|
2952
|
+
/**
|
|
2953
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2954
|
+
*/
|
|
2955
|
+
name?: string;
|
|
2956
|
+
/**
|
|
2957
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2958
|
+
*/
|
|
2959
|
+
symbol?: string;
|
|
2960
|
+
/**
|
|
2961
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2962
|
+
*/
|
|
2963
|
+
icon?: string;
|
|
2964
|
+
};
|
|
2965
|
+
};
|
|
2966
|
+
};
|
|
2967
|
+
};
|
|
2968
|
+
|
|
2969
|
+
export type GetTokenInfoResponse =
|
|
2970
|
+
GetTokenInfoResponses[keyof GetTokenInfoResponses];
|
|
2971
|
+
|
|
2972
|
+
export type GetTraderLeaderboardData = {
|
|
2973
|
+
body?: never;
|
|
2974
|
+
path?: never;
|
|
2975
|
+
query?: {
|
|
2976
|
+
week?: number;
|
|
2977
|
+
year?: number;
|
|
2978
|
+
first?: number;
|
|
2979
|
+
after?: string;
|
|
2980
|
+
};
|
|
2981
|
+
url: "/traderLeaderboard";
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
export type GetTraderLeaderboardErrors = {
|
|
2985
|
+
/**
|
|
2986
|
+
* Bad request
|
|
2987
|
+
*/
|
|
2988
|
+
400: unknown;
|
|
2989
|
+
/**
|
|
2990
|
+
* Internal server error
|
|
2991
|
+
*/
|
|
2992
|
+
500: unknown;
|
|
2993
|
+
};
|
|
2994
|
+
|
|
2995
|
+
export type GetTraderLeaderboardResponses = {
|
|
2996
|
+
/**
|
|
2997
|
+
* Successful operation
|
|
2998
|
+
*/
|
|
2999
|
+
200: {
|
|
3000
|
+
exploreTraderLeaderboard: {
|
|
3001
|
+
/**
|
|
3002
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3003
|
+
*/
|
|
3004
|
+
count: number;
|
|
3005
|
+
edges: Array<{
|
|
3006
|
+
node: {
|
|
3007
|
+
/**
|
|
3008
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3009
|
+
*/
|
|
3010
|
+
entityName: string;
|
|
3011
|
+
/**
|
|
3012
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3013
|
+
*/
|
|
3014
|
+
score: number;
|
|
3015
|
+
/**
|
|
3016
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
3017
|
+
*/
|
|
3018
|
+
weekVolumeUsd: number;
|
|
3019
|
+
/**
|
|
3020
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3021
|
+
*/
|
|
3022
|
+
weekTradesCount: number;
|
|
3023
|
+
/**
|
|
3024
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
3025
|
+
*/
|
|
3026
|
+
weekGrossVolumeZora: number;
|
|
3027
|
+
traderProfile?: {
|
|
3028
|
+
/**
|
|
3029
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
3030
|
+
*/
|
|
3031
|
+
handle: string;
|
|
3032
|
+
/**
|
|
3033
|
+
* The Globally Unique ID of this object
|
|
3034
|
+
*/
|
|
3035
|
+
id: string;
|
|
3036
|
+
};
|
|
3037
|
+
};
|
|
3038
|
+
}>;
|
|
3039
|
+
pageInfo: {
|
|
3040
|
+
/**
|
|
3041
|
+
* When paginating forwards, are there more items?
|
|
3042
|
+
*/
|
|
3043
|
+
hasNextPage: boolean;
|
|
3044
|
+
/**
|
|
3045
|
+
* When paginating forwards, the cursor to continue.
|
|
3046
|
+
*/
|
|
3047
|
+
endCursor?: string;
|
|
3048
|
+
};
|
|
3049
|
+
};
|
|
3050
|
+
};
|
|
3051
|
+
};
|
|
3052
|
+
|
|
3053
|
+
export type GetTraderLeaderboardResponse =
|
|
3054
|
+
GetTraderLeaderboardResponses[keyof GetTraderLeaderboardResponses];
|
|
3055
|
+
|
|
2293
3056
|
export type PostQuoteData = {
|
|
2294
3057
|
body?: {
|
|
2295
3058
|
referrer?: string;
|
|
@@ -2382,45 +3145,6 @@ export type PostQuoteResponses = {
|
|
|
2382
3145
|
|
|
2383
3146
|
export type PostQuoteResponse = PostQuoteResponses[keyof PostQuoteResponses];
|
|
2384
3147
|
|
|
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
3148
|
export type PostCreateContentData = {
|
|
2425
3149
|
body?: {
|
|
2426
3150
|
/**
|
|
@@ -2473,9 +3197,9 @@ export type PostCreateContentData = {
|
|
|
2473
3197
|
*/
|
|
2474
3198
|
payoutRecipientOverride?: string;
|
|
2475
3199
|
/**
|
|
2476
|
-
* Optional smart wallet routing. Defaults to
|
|
3200
|
+
* Optional flag to enable smart wallet routing. Defaults to false if omitted.
|
|
2477
3201
|
*/
|
|
2478
|
-
|
|
3202
|
+
enableSmartWalletRouting?: boolean;
|
|
2479
3203
|
};
|
|
2480
3204
|
path?: never;
|
|
2481
3205
|
query?: never;
|
|
@@ -2499,7 +3223,7 @@ export type PostCreateContentResponses = {
|
|
|
2499
3223
|
* Content coin creation parameters
|
|
2500
3224
|
*/
|
|
2501
3225
|
200: {
|
|
2502
|
-
calls
|
|
3226
|
+
calls: Array<{
|
|
2503
3227
|
/**
|
|
2504
3228
|
* Encoded function call data
|
|
2505
3229
|
*/
|
|
@@ -2513,6 +3237,14 @@ export type PostCreateContentResponses = {
|
|
|
2513
3237
|
*/
|
|
2514
3238
|
value: string;
|
|
2515
3239
|
}>;
|
|
3240
|
+
/**
|
|
3241
|
+
* The predicted address where the coin will be deployed
|
|
3242
|
+
*/
|
|
3243
|
+
predictedCoinAddress: string;
|
|
3244
|
+
/**
|
|
3245
|
+
* The currency that the coin will be backed by
|
|
3246
|
+
*/
|
|
3247
|
+
backingCurrency?: string;
|
|
2516
3248
|
};
|
|
2517
3249
|
};
|
|
2518
3250
|
|