@zoralabs/coins-sdk 0.3.3 → 0.4.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.
@@ -63,6 +63,10 @@ export type GetCoinResponses = {
63
63
  * The Globally Unique ID of this object
64
64
  */
65
65
  id: string;
66
+ /**
67
+ * The `Boolean` scalar type represents `true` or `false`.
68
+ */
69
+ platformBlocked: boolean;
66
70
  /**
67
71
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
68
72
  */
@@ -109,12 +113,15 @@ export type GetCoinResponses = {
109
113
  };
110
114
  tokenPrice?: {
111
115
  /**
112
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
116
+ * Price of the pool in respect to USDC, not always available
113
117
  */
114
118
  priceInUsdc?: string;
119
+ /**
120
+ * Ethereum address of the currency
121
+ */
115
122
  currencyAddress: string;
116
123
  /**
117
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
124
+ * Price against the native token of the primary currency pool
118
125
  */
119
126
  priceInPoolToken: string;
120
127
  };
@@ -142,9 +149,13 @@ export type GetCoinResponses = {
142
149
  */
143
150
  id: string;
144
151
  /**
145
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
152
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
146
153
  */
147
154
  handle: string;
155
+ /**
156
+ * The `Boolean` scalar type represents `true` or `false`.
157
+ */
158
+ platformBlocked: boolean;
148
159
  avatar?: {
149
160
  previewImage: {
150
161
  /**
@@ -171,6 +182,10 @@ export type GetCoinResponses = {
171
182
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
172
183
  */
173
184
  displayName?: string;
185
+ /**
186
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
187
+ */
188
+ followerCount?: number;
174
189
  /**
175
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.
176
191
  */
@@ -185,6 +200,10 @@ export type GetCoinResponses = {
185
200
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
186
201
  */
187
202
  displayName?: string;
203
+ /**
204
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
205
+ */
206
+ followerCount?: number;
188
207
  /**
189
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.
190
209
  */
@@ -199,6 +218,10 @@ export type GetCoinResponses = {
199
218
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
200
219
  */
201
220
  displayName?: string;
221
+ /**
222
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
223
+ */
224
+ followerCount?: number;
202
225
  /**
203
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.
204
227
  */
@@ -213,6 +236,10 @@ export type GetCoinResponses = {
213
236
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
214
237
  */
215
238
  displayName?: string;
239
+ /**
240
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
241
+ */
242
+ followerCount?: number;
216
243
  /**
217
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.
218
245
  */
@@ -246,6 +273,14 @@ export type GetCoinResponses = {
246
273
  */
247
274
  blurhash?: string;
248
275
  };
276
+ /**
277
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
278
+ */
279
+ videoPreviewUrl?: string;
280
+ /**
281
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
282
+ */
283
+ videoHlsUrl?: string;
249
284
  };
250
285
  /**
251
286
  * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
@@ -309,7 +344,7 @@ export type GetCoinResponses = {
309
344
  */
310
345
  id: string;
311
346
  /**
312
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
347
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
313
348
  */
314
349
  handle: string;
315
350
  avatar?: {
@@ -334,13 +369,16 @@ export type GetCoinResponses = {
334
369
  };
335
370
  creatorEarnings?: Array<{
336
371
  amount: {
372
+ /**
373
+ * Ethereum address of the currency
374
+ */
337
375
  currencyAddress: string;
338
376
  /**
339
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
377
+ * Raw amount of the currency, in wei. Not formatted with decimals
340
378
  */
341
379
  amountRaw: string;
342
380
  /**
343
- * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
381
+ * Amount of the currency, in float format accounting for currency decimals
344
382
  */
345
383
  amountDecimal: number;
346
384
  };
@@ -424,7 +462,7 @@ export type GetCoinCommentsResponses = {
424
462
  */
425
463
  id: string;
426
464
  /**
427
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
465
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
428
466
  */
429
467
  handle: string;
430
468
  avatar?: {
@@ -478,7 +516,7 @@ export type GetCoinCommentsResponses = {
478
516
  */
479
517
  id: string;
480
518
  /**
481
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
519
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
482
520
  */
483
521
  handle: string;
484
522
  avatar?: {
@@ -563,9 +601,13 @@ export type GetCoinHoldersResponses = {
563
601
  */
564
602
  id: string;
565
603
  /**
566
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
604
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
567
605
  */
568
606
  handle: string;
607
+ /**
608
+ * The `Boolean` scalar type represents `true` or `false`.
609
+ */
610
+ platformBlocked: boolean;
569
611
  avatar?: {
570
612
  previewImage: {
571
613
  /**
@@ -634,9 +676,12 @@ export type GetCoinSwapsResponses = {
634
676
  */
635
677
  priceUsdc?: string;
636
678
  currencyAmount: {
679
+ /**
680
+ * Ethereum address of the currency
681
+ */
637
682
  currencyAddress: string;
638
683
  /**
639
- * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
684
+ * Amount of the currency, in float format accounting for currency decimals
640
685
  */
641
686
  amountDecimal: number;
642
687
  };
@@ -668,9 +713,13 @@ export type GetCoinSwapsResponses = {
668
713
  */
669
714
  id: string;
670
715
  /**
671
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
716
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
672
717
  */
673
718
  handle: string;
719
+ /**
720
+ * The `Boolean` scalar type represents `true` or `false`.
721
+ */
722
+ platformBlocked: boolean;
674
723
  avatar?: {
675
724
  previewImage: {
676
725
  /**
@@ -743,6 +792,10 @@ export type GetCoinsResponses = {
743
792
  * The Globally Unique ID of this object
744
793
  */
745
794
  id: string;
795
+ /**
796
+ * The `Boolean` scalar type represents `true` or `false`.
797
+ */
798
+ platformBlocked: boolean;
746
799
  /**
747
800
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
748
801
  */
@@ -789,12 +842,15 @@ export type GetCoinsResponses = {
789
842
  };
790
843
  tokenPrice?: {
791
844
  /**
792
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
845
+ * Price of the pool in respect to USDC, not always available
793
846
  */
794
847
  priceInUsdc?: string;
848
+ /**
849
+ * Ethereum address of the currency
850
+ */
795
851
  currencyAddress: string;
796
852
  /**
797
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
853
+ * Price against the native token of the primary currency pool
798
854
  */
799
855
  priceInPoolToken: string;
800
856
  };
@@ -822,9 +878,13 @@ export type GetCoinsResponses = {
822
878
  */
823
879
  id: string;
824
880
  /**
825
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
881
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
826
882
  */
827
883
  handle: string;
884
+ /**
885
+ * The `Boolean` scalar type represents `true` or `false`.
886
+ */
887
+ platformBlocked: boolean;
828
888
  avatar?: {
829
889
  previewImage: {
830
890
  /**
@@ -851,6 +911,10 @@ export type GetCoinsResponses = {
851
911
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
852
912
  */
853
913
  displayName?: string;
914
+ /**
915
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
916
+ */
917
+ followerCount?: number;
854
918
  /**
855
919
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
856
920
  */
@@ -865,6 +929,10 @@ export type GetCoinsResponses = {
865
929
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
866
930
  */
867
931
  displayName?: string;
932
+ /**
933
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
934
+ */
935
+ followerCount?: number;
868
936
  /**
869
937
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
870
938
  */
@@ -879,6 +947,10 @@ export type GetCoinsResponses = {
879
947
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
880
948
  */
881
949
  displayName?: string;
950
+ /**
951
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
952
+ */
953
+ followerCount?: number;
882
954
  /**
883
955
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
884
956
  */
@@ -893,6 +965,10 @@ export type GetCoinsResponses = {
893
965
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
894
966
  */
895
967
  displayName?: string;
968
+ /**
969
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
970
+ */
971
+ followerCount?: number;
896
972
  /**
897
973
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
898
974
  */
@@ -926,6 +1002,14 @@ export type GetCoinsResponses = {
926
1002
  */
927
1003
  blurhash?: string;
928
1004
  };
1005
+ /**
1006
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1007
+ */
1008
+ videoPreviewUrl?: string;
1009
+ /**
1010
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1011
+ */
1012
+ videoHlsUrl?: string;
929
1013
  };
930
1014
  /**
931
1015
  * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
@@ -989,7 +1073,7 @@ export type GetCoinsResponses = {
989
1073
  */
990
1074
  id: string;
991
1075
  /**
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.
1076
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
993
1077
  */
994
1078
  handle: string;
995
1079
  avatar?: {
@@ -1014,13 +1098,16 @@ export type GetCoinsResponses = {
1014
1098
  };
1015
1099
  creatorEarnings?: Array<{
1016
1100
  amount: {
1101
+ /**
1102
+ * Ethereum address of the currency
1103
+ */
1017
1104
  currencyAddress: string;
1018
1105
  /**
1019
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1106
+ * Raw amount of the currency, in wei. Not formatted with decimals
1020
1107
  */
1021
1108
  amountRaw: string;
1022
1109
  /**
1023
- * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
1110
+ * Amount of the currency, in float format accounting for currency decimals
1024
1111
  */
1025
1112
  amountDecimal: number;
1026
1113
  };
@@ -1033,6 +1120,44 @@ export type GetCoinsResponses = {
1033
1120
  };
1034
1121
  };
1035
1122
  export type GetCoinsResponse = GetCoinsResponses[keyof GetCoinsResponses];
1123
+ export type GetContentCoinPoolConfigData = {
1124
+ body?: never;
1125
+ path?: never;
1126
+ query: {
1127
+ creatorIdentifier?: string;
1128
+ currencyType: "ETH" | "ZORA" | "CREATOR_COIN" | "CREATOR_COIN_OR_ZORA";
1129
+ };
1130
+ url: "/contentCoinPoolConfig";
1131
+ };
1132
+ export type GetContentCoinPoolConfigErrors = {
1133
+ /**
1134
+ * Bad request
1135
+ */
1136
+ 400: unknown;
1137
+ /**
1138
+ * Internal server error
1139
+ */
1140
+ 500: unknown;
1141
+ };
1142
+ export type GetContentCoinPoolConfigResponses = {
1143
+ /**
1144
+ * Successful operation
1145
+ */
1146
+ 200: {
1147
+ contentCoinPoolConfig: {
1148
+ /**
1149
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1150
+ */
1151
+ encodedConfig: string;
1152
+ currency: string;
1153
+ lowerTicks: Array<number>;
1154
+ upperTicks: Array<number>;
1155
+ numDiscoveryPositions: Array<number>;
1156
+ maxDiscoverySupplyShares: Array<string>;
1157
+ };
1158
+ };
1159
+ };
1160
+ export type GetContentCoinPoolConfigResponse = GetContentCoinPoolConfigResponses[keyof GetContentCoinPoolConfigResponses];
1036
1161
  export type SetCreateUploadJwtData = {
1037
1162
  body?: {
1038
1163
  creatorAddress: string;
@@ -1063,11 +1188,48 @@ export type SetCreateUploadJwtResponses = {
1063
1188
  };
1064
1189
  };
1065
1190
  export type SetCreateUploadJwtResponse = SetCreateUploadJwtResponses[keyof SetCreateUploadJwtResponses];
1191
+ export type GetCreatorCoinPoolConfigData = {
1192
+ body?: never;
1193
+ path?: never;
1194
+ query?: {
1195
+ targetMarketCapUsd?: number;
1196
+ };
1197
+ url: "/creatorCoinPoolConfig";
1198
+ };
1199
+ export type GetCreatorCoinPoolConfigErrors = {
1200
+ /**
1201
+ * Bad request
1202
+ */
1203
+ 400: unknown;
1204
+ /**
1205
+ * Internal server error
1206
+ */
1207
+ 500: unknown;
1208
+ };
1209
+ export type GetCreatorCoinPoolConfigResponses = {
1210
+ /**
1211
+ * Successful operation
1212
+ */
1213
+ 200: {
1214
+ creatorCoinPoolConfig: {
1215
+ /**
1216
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1217
+ */
1218
+ encodedConfig: string;
1219
+ currency: string;
1220
+ lowerTicks: Array<number>;
1221
+ upperTicks: Array<number>;
1222
+ numDiscoveryPositions: Array<number>;
1223
+ maxDiscoverySupplyShares: Array<string>;
1224
+ };
1225
+ };
1226
+ };
1227
+ export type GetCreatorCoinPoolConfigResponse = GetCreatorCoinPoolConfigResponses[keyof GetCreatorCoinPoolConfigResponses];
1066
1228
  export type GetExploreData = {
1067
1229
  body?: never;
1068
1230
  path?: never;
1069
1231
  query: {
1070
- listType: "TOP_GAINERS" | "TOP_VOLUME_24H" | "MOST_VALUABLE" | "NEW" | "OLD" | "LAST_TRADED" | "LAST_TRADED_UNIQUE" | "FEATURED" | "FEATURED_VIDEOS" | "NEW_CREATORS" | "MOST_VALUABLE_CREATORS";
1232
+ listType: "TOP_GAINERS" | "TOP_VOLUME_24H" | "MOST_VALUABLE" | "NEW" | "OLD" | "LAST_TRADED" | "LAST_TRADED_UNIQUE" | "FEATURED" | "FEATURED_VIDEOS" | "NEW_CREATORS" | "MOST_VALUABLE_CREATORS" | "FEATURED_CREATORS" | "TOP_VOLUME_CREATORS_24H" | "TOP_VOLUME_ALL_24H" | "NEW_ALL";
1071
1233
  count?: number;
1072
1234
  after?: string;
1073
1235
  };
@@ -1095,6 +1257,10 @@ export type GetExploreResponses = {
1095
1257
  * The Globally Unique ID of this object
1096
1258
  */
1097
1259
  id: string;
1260
+ /**
1261
+ * The `Boolean` scalar type represents `true` or `false`.
1262
+ */
1263
+ platformBlocked: boolean;
1098
1264
  /**
1099
1265
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1100
1266
  */
@@ -1141,12 +1307,15 @@ export type GetExploreResponses = {
1141
1307
  };
1142
1308
  tokenPrice?: {
1143
1309
  /**
1144
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1310
+ * Price of the pool in respect to USDC, not always available
1145
1311
  */
1146
1312
  priceInUsdc?: string;
1313
+ /**
1314
+ * Ethereum address of the currency
1315
+ */
1147
1316
  currencyAddress: string;
1148
1317
  /**
1149
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1318
+ * Price against the native token of the primary currency pool
1150
1319
  */
1151
1320
  priceInPoolToken: string;
1152
1321
  };
@@ -1174,9 +1343,13 @@ export type GetExploreResponses = {
1174
1343
  */
1175
1344
  id: string;
1176
1345
  /**
1177
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1346
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
1178
1347
  */
1179
1348
  handle: string;
1349
+ /**
1350
+ * The `Boolean` scalar type represents `true` or `false`.
1351
+ */
1352
+ platformBlocked: boolean;
1180
1353
  avatar?: {
1181
1354
  previewImage: {
1182
1355
  /**
@@ -1203,6 +1376,10 @@ export type GetExploreResponses = {
1203
1376
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1204
1377
  */
1205
1378
  displayName?: string;
1379
+ /**
1380
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1381
+ */
1382
+ followerCount?: number;
1206
1383
  /**
1207
1384
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1208
1385
  */
@@ -1217,6 +1394,10 @@ export type GetExploreResponses = {
1217
1394
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1218
1395
  */
1219
1396
  displayName?: string;
1397
+ /**
1398
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1399
+ */
1400
+ followerCount?: number;
1220
1401
  /**
1221
1402
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1222
1403
  */
@@ -1231,6 +1412,10 @@ export type GetExploreResponses = {
1231
1412
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1232
1413
  */
1233
1414
  displayName?: string;
1415
+ /**
1416
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1417
+ */
1418
+ followerCount?: number;
1234
1419
  /**
1235
1420
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1236
1421
  */
@@ -1245,6 +1430,10 @@ export type GetExploreResponses = {
1245
1430
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1246
1431
  */
1247
1432
  displayName?: string;
1433
+ /**
1434
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1435
+ */
1436
+ followerCount?: number;
1248
1437
  /**
1249
1438
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1250
1439
  */
@@ -1278,6 +1467,14 @@ export type GetExploreResponses = {
1278
1467
  */
1279
1468
  blurhash?: string;
1280
1469
  };
1470
+ /**
1471
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1472
+ */
1473
+ videoPreviewUrl?: string;
1474
+ /**
1475
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1476
+ */
1477
+ videoHlsUrl?: string;
1281
1478
  };
1282
1479
  /**
1283
1480
  * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
@@ -1317,6 +1514,63 @@ export type GetExploreResponses = {
1317
1514
  };
1318
1515
  };
1319
1516
  export type GetExploreResponse = GetExploreResponses[keyof GetExploreResponses];
1517
+ export type GetFeaturedCreatorsData = {
1518
+ body?: never;
1519
+ path?: never;
1520
+ query?: {
1521
+ year?: number;
1522
+ week?: number;
1523
+ first?: number;
1524
+ after?: string;
1525
+ };
1526
+ url: "/featuredCreators";
1527
+ };
1528
+ export type GetFeaturedCreatorsErrors = {
1529
+ /**
1530
+ * Bad request
1531
+ */
1532
+ 400: unknown;
1533
+ /**
1534
+ * Internal server error
1535
+ */
1536
+ 500: unknown;
1537
+ };
1538
+ export type GetFeaturedCreatorsResponses = {
1539
+ /**
1540
+ * Successful operation
1541
+ */
1542
+ 200: {
1543
+ traderLeaderboardFeaturedCreators: {
1544
+ /**
1545
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1546
+ */
1547
+ count: number;
1548
+ pageInfo: {
1549
+ /**
1550
+ * When paginating forwards, are there more items?
1551
+ */
1552
+ hasNextPage: boolean;
1553
+ /**
1554
+ * When paginating forwards, the cursor to continue.
1555
+ */
1556
+ endCursor?: string;
1557
+ };
1558
+ edges: Array<{
1559
+ node: {
1560
+ /**
1561
+ * The Globally Unique ID of this object
1562
+ */
1563
+ id: string;
1564
+ /**
1565
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
1566
+ */
1567
+ handle: string;
1568
+ };
1569
+ }>;
1570
+ };
1571
+ };
1572
+ };
1573
+ export type GetFeaturedCreatorsResponse = GetFeaturedCreatorsResponses[keyof GetFeaturedCreatorsResponses];
1320
1574
  export type GetProfileData = {
1321
1575
  body?: never;
1322
1576
  path?: never;
@@ -1346,9 +1600,13 @@ export type GetProfileResponses = {
1346
1600
  */
1347
1601
  id: string;
1348
1602
  /**
1349
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1603
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
1350
1604
  */
1351
1605
  handle: string;
1606
+ /**
1607
+ * The `Boolean` scalar type represents `true` or `false`.
1608
+ */
1609
+ platformBlocked: boolean;
1352
1610
  avatar?: {
1353
1611
  /**
1354
1612
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
@@ -1367,12 +1625,16 @@ export type GetProfileResponses = {
1367
1625
  * The `String` scalar type represents 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
1626
  */
1369
1627
  username: string;
1628
+ /**
1629
+ * Date with time (isoformat)
1630
+ */
1631
+ createdAt: string;
1370
1632
  /**
1371
1633
  * The `String` scalar type represents 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
1634
  */
1373
1635
  displayName?: string;
1374
1636
  /**
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.
1637
+ * Profile bio / description. May contain markdown formatting
1376
1638
  */
1377
1639
  bio: string;
1378
1640
  /**
@@ -1381,6 +1643,7 @@ export type GetProfileResponses = {
1381
1643
  website?: string;
1382
1644
  publicWallet: {
1383
1645
  walletAddress: string;
1646
+ walletType: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
1384
1647
  };
1385
1648
  socialAccounts: {
1386
1649
  instagram?: {
@@ -1392,6 +1655,10 @@ export type GetProfileResponses = {
1392
1655
  * The `String` scalar type represents 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
1656
  */
1394
1657
  displayName?: string;
1658
+ /**
1659
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1660
+ */
1661
+ followerCount?: number;
1395
1662
  /**
1396
1663
  * The `String` scalar type represents 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
1664
  */
@@ -1406,6 +1673,10 @@ export type GetProfileResponses = {
1406
1673
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1407
1674
  */
1408
1675
  displayName?: string;
1676
+ /**
1677
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1678
+ */
1679
+ followerCount?: number;
1409
1680
  /**
1410
1681
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1411
1682
  */
@@ -1420,6 +1691,10 @@ export type GetProfileResponses = {
1420
1691
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1421
1692
  */
1422
1693
  displayName?: string;
1694
+ /**
1695
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1696
+ */
1697
+ followerCount?: number;
1423
1698
  /**
1424
1699
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1425
1700
  */
@@ -1434,6 +1709,10 @@ export type GetProfileResponses = {
1434
1709
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1435
1710
  */
1436
1711
  displayName?: string;
1712
+ /**
1713
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1714
+ */
1715
+ followerCount?: number;
1437
1716
  /**
1438
1717
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1439
1718
  */
@@ -1497,9 +1776,13 @@ export type GetProfileBalancesResponses = {
1497
1776
  */
1498
1777
  id: string;
1499
1778
  /**
1500
- * The `String` scalar type represents 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
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
1501
1780
  */
1502
1781
  handle: string;
1782
+ /**
1783
+ * The `Boolean` scalar type represents `true` or `false`.
1784
+ */
1785
+ platformBlocked: boolean;
1503
1786
  avatar?: {
1504
1787
  previewImage: {
1505
1788
  /**
@@ -1526,6 +1809,10 @@ export type GetProfileBalancesResponses = {
1526
1809
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1527
1810
  */
1528
1811
  displayName?: string;
1812
+ /**
1813
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1814
+ */
1815
+ followerCount?: number;
1529
1816
  /**
1530
1817
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1531
1818
  */
@@ -1540,6 +1827,10 @@ export type GetProfileBalancesResponses = {
1540
1827
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1541
1828
  */
1542
1829
  displayName?: string;
1830
+ /**
1831
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1832
+ */
1833
+ followerCount?: number;
1543
1834
  /**
1544
1835
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1545
1836
  */
@@ -1554,6 +1845,10 @@ export type GetProfileBalancesResponses = {
1554
1845
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1555
1846
  */
1556
1847
  displayName?: string;
1848
+ /**
1849
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1850
+ */
1851
+ followerCount?: number;
1557
1852
  /**
1558
1853
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1559
1854
  */
@@ -1568,6 +1863,10 @@ export type GetProfileBalancesResponses = {
1568
1863
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1569
1864
  */
1570
1865
  displayName?: string;
1866
+ /**
1867
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1868
+ */
1869
+ followerCount?: number;
1571
1870
  /**
1572
1871
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1573
1872
  */
@@ -1597,6 +1896,10 @@ export type GetProfileBalancesResponses = {
1597
1896
  * The Globally Unique ID of this object
1598
1897
  */
1599
1898
  id: string;
1899
+ /**
1900
+ * The `Boolean` scalar type represents `true` or `false`.
1901
+ */
1902
+ platformBlocked: boolean;
1600
1903
  /**
1601
1904
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1602
1905
  */
@@ -1643,12 +1946,15 @@ export type GetProfileBalancesResponses = {
1643
1946
  };
1644
1947
  tokenPrice?: {
1645
1948
  /**
1646
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1949
+ * Price of the pool in respect to USDC, not always available
1647
1950
  */
1648
1951
  priceInUsdc?: string;
1952
+ /**
1953
+ * Ethereum address of the currency
1954
+ */
1649
1955
  currencyAddress: string;
1650
1956
  /**
1651
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1957
+ * Price against the native token of the primary currency pool
1652
1958
  */
1653
1959
  priceInPoolToken: string;
1654
1960
  };
@@ -1676,9 +1982,13 @@ export type GetProfileBalancesResponses = {
1676
1982
  */
1677
1983
  id: string;
1678
1984
  /**
1679
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1985
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
1680
1986
  */
1681
1987
  handle: string;
1988
+ /**
1989
+ * The `Boolean` scalar type represents `true` or `false`.
1990
+ */
1991
+ platformBlocked: boolean;
1682
1992
  avatar?: {
1683
1993
  previewImage: {
1684
1994
  /**
@@ -1705,6 +2015,10 @@ export type GetProfileBalancesResponses = {
1705
2015
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1706
2016
  */
1707
2017
  displayName?: string;
2018
+ /**
2019
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2020
+ */
2021
+ followerCount?: number;
1708
2022
  /**
1709
2023
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1710
2024
  */
@@ -1719,6 +2033,10 @@ export type GetProfileBalancesResponses = {
1719
2033
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1720
2034
  */
1721
2035
  displayName?: string;
2036
+ /**
2037
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2038
+ */
2039
+ followerCount?: number;
1722
2040
  /**
1723
2041
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1724
2042
  */
@@ -1733,6 +2051,10 @@ export type GetProfileBalancesResponses = {
1733
2051
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1734
2052
  */
1735
2053
  displayName?: string;
2054
+ /**
2055
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2056
+ */
2057
+ followerCount?: number;
1736
2058
  /**
1737
2059
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1738
2060
  */
@@ -1747,6 +2069,10 @@ export type GetProfileBalancesResponses = {
1747
2069
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1748
2070
  */
1749
2071
  displayName?: string;
2072
+ /**
2073
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2074
+ */
2075
+ followerCount?: number;
1750
2076
  /**
1751
2077
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1752
2078
  */
@@ -1780,6 +2106,14 @@ export type GetProfileBalancesResponses = {
1780
2106
  */
1781
2107
  blurhash?: string;
1782
2108
  };
2109
+ /**
2110
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2111
+ */
2112
+ videoPreviewUrl?: string;
2113
+ /**
2114
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2115
+ */
2116
+ videoHlsUrl?: string;
1783
2117
  };
1784
2118
  /**
1785
2119
  * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
@@ -1850,9 +2184,13 @@ export type GetProfileCoinsResponses = {
1850
2184
  */
1851
2185
  id: string;
1852
2186
  /**
1853
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2187
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
1854
2188
  */
1855
2189
  handle: string;
2190
+ /**
2191
+ * The `Boolean` scalar type represents `true` or `false`.
2192
+ */
2193
+ platformBlocked: boolean;
1856
2194
  avatar?: {
1857
2195
  previewImage: {
1858
2196
  /**
@@ -1879,6 +2217,10 @@ export type GetProfileCoinsResponses = {
1879
2217
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1880
2218
  */
1881
2219
  displayName?: string;
2220
+ /**
2221
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2222
+ */
2223
+ followerCount?: number;
1882
2224
  /**
1883
2225
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1884
2226
  */
@@ -1893,6 +2235,10 @@ export type GetProfileCoinsResponses = {
1893
2235
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1894
2236
  */
1895
2237
  displayName?: string;
2238
+ /**
2239
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2240
+ */
2241
+ followerCount?: number;
1896
2242
  /**
1897
2243
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1898
2244
  */
@@ -1907,6 +2253,10 @@ export type GetProfileCoinsResponses = {
1907
2253
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1908
2254
  */
1909
2255
  displayName?: string;
2256
+ /**
2257
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2258
+ */
2259
+ followerCount?: number;
1910
2260
  /**
1911
2261
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1912
2262
  */
@@ -1921,6 +2271,10 @@ export type GetProfileCoinsResponses = {
1921
2271
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1922
2272
  */
1923
2273
  displayName?: string;
2274
+ /**
2275
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2276
+ */
2277
+ followerCount?: number;
1924
2278
  /**
1925
2279
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1926
2280
  */
@@ -1941,6 +2295,10 @@ export type GetProfileCoinsResponses = {
1941
2295
  * The Globally Unique ID of this object
1942
2296
  */
1943
2297
  id: string;
2298
+ /**
2299
+ * The `Boolean` scalar type represents `true` or `false`.
2300
+ */
2301
+ platformBlocked: boolean;
1944
2302
  /**
1945
2303
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1946
2304
  */
@@ -1987,12 +2345,15 @@ export type GetProfileCoinsResponses = {
1987
2345
  };
1988
2346
  tokenPrice?: {
1989
2347
  /**
1990
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2348
+ * Price of the pool in respect to USDC, not always available
1991
2349
  */
1992
2350
  priceInUsdc?: string;
2351
+ /**
2352
+ * Ethereum address of the currency
2353
+ */
1993
2354
  currencyAddress: string;
1994
2355
  /**
1995
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2356
+ * Price against the native token of the primary currency pool
1996
2357
  */
1997
2358
  priceInPoolToken: string;
1998
2359
  };
@@ -2020,9 +2381,13 @@ export type GetProfileCoinsResponses = {
2020
2381
  */
2021
2382
  id: string;
2022
2383
  /**
2023
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2384
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
2024
2385
  */
2025
2386
  handle: string;
2387
+ /**
2388
+ * The `Boolean` scalar type represents `true` or `false`.
2389
+ */
2390
+ platformBlocked: boolean;
2026
2391
  avatar?: {
2027
2392
  previewImage: {
2028
2393
  /**
@@ -2049,6 +2414,10 @@ export type GetProfileCoinsResponses = {
2049
2414
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2050
2415
  */
2051
2416
  displayName?: string;
2417
+ /**
2418
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2419
+ */
2420
+ followerCount?: number;
2052
2421
  /**
2053
2422
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2054
2423
  */
@@ -2063,6 +2432,10 @@ export type GetProfileCoinsResponses = {
2063
2432
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2064
2433
  */
2065
2434
  displayName?: string;
2435
+ /**
2436
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2437
+ */
2438
+ followerCount?: number;
2066
2439
  /**
2067
2440
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2068
2441
  */
@@ -2077,6 +2450,10 @@ export type GetProfileCoinsResponses = {
2077
2450
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2078
2451
  */
2079
2452
  displayName?: string;
2453
+ /**
2454
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2455
+ */
2456
+ followerCount?: number;
2080
2457
  /**
2081
2458
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2082
2459
  */
@@ -2091,6 +2468,10 @@ export type GetProfileCoinsResponses = {
2091
2468
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2092
2469
  */
2093
2470
  displayName?: string;
2471
+ /**
2472
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2473
+ */
2474
+ followerCount?: number;
2094
2475
  /**
2095
2476
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2096
2477
  */
@@ -2124,6 +2505,14 @@ export type GetProfileCoinsResponses = {
2124
2505
  */
2125
2506
  blurhash?: string;
2126
2507
  };
2508
+ /**
2509
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2510
+ */
2511
+ videoPreviewUrl?: string;
2512
+ /**
2513
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2514
+ */
2515
+ videoHlsUrl?: string;
2127
2516
  };
2128
2517
  /**
2129
2518
  * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
@@ -2187,7 +2576,7 @@ export type GetProfileCoinsResponses = {
2187
2576
  */
2188
2577
  id: string;
2189
2578
  /**
2190
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2579
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
2191
2580
  */
2192
2581
  handle: string;
2193
2582
  avatar?: {
@@ -2227,6 +2616,346 @@ export type GetProfileCoinsResponses = {
2227
2616
  };
2228
2617
  };
2229
2618
  export type GetProfileCoinsResponse = GetProfileCoinsResponses[keyof GetProfileCoinsResponses];
2619
+ export type GetProfileSocialData = {
2620
+ body?: never;
2621
+ path?: never;
2622
+ query: {
2623
+ identifier: string;
2624
+ };
2625
+ url: "/profileSocial";
2626
+ };
2627
+ export type GetProfileSocialErrors = {
2628
+ /**
2629
+ * Bad request
2630
+ */
2631
+ 400: unknown;
2632
+ /**
2633
+ * Internal server error
2634
+ */
2635
+ 500: unknown;
2636
+ };
2637
+ export type GetProfileSocialResponses = {
2638
+ /**
2639
+ * Successful operation
2640
+ */
2641
+ 200: {
2642
+ profile?: {
2643
+ /**
2644
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2645
+ */
2646
+ username: string;
2647
+ /**
2648
+ * Date with time (isoformat)
2649
+ */
2650
+ createdAt: string;
2651
+ /**
2652
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2653
+ */
2654
+ displayName?: string;
2655
+ /**
2656
+ * Profile bio / description. May contain markdown formatting
2657
+ */
2658
+ bio: string;
2659
+ /**
2660
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2661
+ */
2662
+ website?: string;
2663
+ publicWallet: {
2664
+ walletAddress: string;
2665
+ walletType: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
2666
+ };
2667
+ socialAccounts: {
2668
+ instagram?: {
2669
+ /**
2670
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2671
+ */
2672
+ username?: string;
2673
+ /**
2674
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2675
+ */
2676
+ displayName?: string;
2677
+ /**
2678
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2679
+ */
2680
+ followerCount?: number;
2681
+ /**
2682
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2683
+ */
2684
+ id?: string;
2685
+ };
2686
+ tiktok?: {
2687
+ /**
2688
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2689
+ */
2690
+ username?: string;
2691
+ /**
2692
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2693
+ */
2694
+ displayName?: string;
2695
+ /**
2696
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2697
+ */
2698
+ followerCount?: number;
2699
+ /**
2700
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2701
+ */
2702
+ id?: string;
2703
+ };
2704
+ twitter?: {
2705
+ /**
2706
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2707
+ */
2708
+ username?: string;
2709
+ /**
2710
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2711
+ */
2712
+ displayName?: string;
2713
+ /**
2714
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2715
+ */
2716
+ followerCount?: number;
2717
+ /**
2718
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2719
+ */
2720
+ id?: string;
2721
+ };
2722
+ farcaster?: {
2723
+ /**
2724
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2725
+ */
2726
+ username?: string;
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
+ displayName?: string;
2731
+ /**
2732
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2733
+ */
2734
+ followerCount?: number;
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
+ id?: string;
2739
+ };
2740
+ };
2741
+ linkedWallets: {
2742
+ edges: Array<{
2743
+ node: {
2744
+ walletType: "PRIVY" | "EXTERNAL" | "SMART_WALLET";
2745
+ walletAddress: string;
2746
+ };
2747
+ }>;
2748
+ };
2749
+ creatorCoin?: {
2750
+ address: string;
2751
+ /**
2752
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2753
+ */
2754
+ marketCap: string;
2755
+ /**
2756
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2757
+ */
2758
+ marketCapDelta24h: string;
2759
+ };
2760
+ /**
2761
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
2762
+ */
2763
+ handle: string;
2764
+ /**
2765
+ * The `Boolean` scalar type represents `true` or `false`.
2766
+ */
2767
+ platformBlocked: boolean;
2768
+ avatar?: {
2769
+ /**
2770
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2771
+ */
2772
+ small: string;
2773
+ /**
2774
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2775
+ */
2776
+ medium: string;
2777
+ /**
2778
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2779
+ */
2780
+ blurhash?: string;
2781
+ };
2782
+ /**
2783
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2784
+ */
2785
+ usernameChangesCount: number;
2786
+ externalWallet?: {
2787
+ /**
2788
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2789
+ */
2790
+ ensName?: string;
2791
+ walletAddress: string;
2792
+ };
2793
+ followers: {
2794
+ /**
2795
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2796
+ */
2797
+ count: number;
2798
+ };
2799
+ following: {
2800
+ /**
2801
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2802
+ */
2803
+ count: number;
2804
+ };
2805
+ socialAccountLinkedEvents: {
2806
+ edges: Array<{
2807
+ node: {
2808
+ /**
2809
+ * The Globally Unique ID of this object
2810
+ */
2811
+ id: string;
2812
+ platform: "TWITTER" | "TIKTOK" | "FARCASTER" | "INSTAGRAM";
2813
+ /**
2814
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2815
+ */
2816
+ socialAccountUsername: string;
2817
+ /**
2818
+ * Date with time (isoformat)
2819
+ */
2820
+ occurredAt: string;
2821
+ eventType: "LINK" | "UNLINK";
2822
+ };
2823
+ }>;
2824
+ };
2825
+ };
2826
+ };
2827
+ };
2828
+ export type GetProfileSocialResponse = GetProfileSocialResponses[keyof GetProfileSocialResponses];
2829
+ export type GetTokenInfoData = {
2830
+ body?: never;
2831
+ path?: never;
2832
+ query: {
2833
+ address: string;
2834
+ chainId?: number;
2835
+ };
2836
+ url: "/tokenInfo";
2837
+ };
2838
+ export type GetTokenInfoErrors = {
2839
+ /**
2840
+ * Bad request
2841
+ */
2842
+ 400: unknown;
2843
+ /**
2844
+ * Internal server error
2845
+ */
2846
+ 500: unknown;
2847
+ };
2848
+ export type GetTokenInfoResponses = {
2849
+ /**
2850
+ * Successful operation
2851
+ */
2852
+ 200: {
2853
+ erc20Token?: {
2854
+ currency?: {
2855
+ /**
2856
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2857
+ */
2858
+ priceUsd?: string;
2859
+ /**
2860
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2861
+ */
2862
+ decimals?: number;
2863
+ /**
2864
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2865
+ */
2866
+ name?: string;
2867
+ /**
2868
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2869
+ */
2870
+ symbol?: string;
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
+ icon?: string;
2875
+ };
2876
+ };
2877
+ };
2878
+ };
2879
+ export type GetTokenInfoResponse = GetTokenInfoResponses[keyof GetTokenInfoResponses];
2880
+ export type GetTraderLeaderboardData = {
2881
+ body?: never;
2882
+ path?: never;
2883
+ query?: {
2884
+ week?: number;
2885
+ year?: number;
2886
+ first?: number;
2887
+ after?: string;
2888
+ };
2889
+ url: "/traderLeaderboard";
2890
+ };
2891
+ export type GetTraderLeaderboardErrors = {
2892
+ /**
2893
+ * Bad request
2894
+ */
2895
+ 400: unknown;
2896
+ /**
2897
+ * Internal server error
2898
+ */
2899
+ 500: unknown;
2900
+ };
2901
+ export type GetTraderLeaderboardResponses = {
2902
+ /**
2903
+ * Successful operation
2904
+ */
2905
+ 200: {
2906
+ exploreTraderLeaderboard: {
2907
+ /**
2908
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2909
+ */
2910
+ count: number;
2911
+ edges: Array<{
2912
+ node: {
2913
+ /**
2914
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2915
+ */
2916
+ entityName: string;
2917
+ /**
2918
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2919
+ */
2920
+ score: number;
2921
+ /**
2922
+ * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
2923
+ */
2924
+ weekVolumeUsd: number;
2925
+ /**
2926
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2927
+ */
2928
+ weekTradesCount: number;
2929
+ /**
2930
+ * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
2931
+ */
2932
+ weekGrossVolumeZora: number;
2933
+ traderProfile?: {
2934
+ /**
2935
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
2936
+ */
2937
+ handle: string;
2938
+ /**
2939
+ * The Globally Unique ID of this object
2940
+ */
2941
+ id: string;
2942
+ };
2943
+ };
2944
+ }>;
2945
+ pageInfo: {
2946
+ /**
2947
+ * When paginating forwards, are there more items?
2948
+ */
2949
+ hasNextPage: boolean;
2950
+ /**
2951
+ * When paginating forwards, the cursor to continue.
2952
+ */
2953
+ endCursor?: string;
2954
+ };
2955
+ };
2956
+ };
2957
+ };
2958
+ export type GetTraderLeaderboardResponse = GetTraderLeaderboardResponses[keyof GetTraderLeaderboardResponses];
2230
2959
  export type PostQuoteData = {
2231
2960
  body?: {
2232
2961
  referrer?: string;
@@ -2314,38 +3043,6 @@ export type PostQuoteResponses = {
2314
3043
  };
2315
3044
  };
2316
3045
  export type PostQuoteResponse = PostQuoteResponses[keyof PostQuoteResponses];
2317
- export type GetCreateContentPoolConfigData = {
2318
- body?: never;
2319
- path?: never;
2320
- query?: {
2321
- starting_market_cap?: "HIGH" | "LOW";
2322
- currency?: "CREATOR_COIN" | "ZORA" | "ETH" | "CREATOR_COIN_OR_ZORA";
2323
- creator_identifier?: string;
2324
- chain_id?: string;
2325
- };
2326
- url: "/create/content/pool-config";
2327
- };
2328
- export type GetCreateContentPoolConfigErrors = {
2329
- /**
2330
- * Invalid backing currency address
2331
- */
2332
- 400: {
2333
- error: string;
2334
- };
2335
- };
2336
- export type GetCreateContentPoolConfigError = GetCreateContentPoolConfigErrors[keyof GetCreateContentPoolConfigErrors];
2337
- export type GetCreateContentPoolConfigResponses = {
2338
- /**
2339
- * Content pool configuration
2340
- */
2341
- 200: {
2342
- /**
2343
- * Encoded pool configuration as hex string
2344
- */
2345
- poolConfig: string;
2346
- };
2347
- };
2348
- export type GetCreateContentPoolConfigResponse = GetCreateContentPoolConfigResponses[keyof GetCreateContentPoolConfigResponses];
2349
3046
  export type PostCreateContentData = {
2350
3047
  body?: {
2351
3048
  /**
@@ -2398,9 +3095,9 @@ export type PostCreateContentData = {
2398
3095
  */
2399
3096
  payoutRecipientOverride?: string;
2400
3097
  /**
2401
- * Optional smart wallet routing. Defaults to AUTO if omitted.
3098
+ * Optional flag to enable smart wallet routing. Defaults to false if omitted.
2402
3099
  */
2403
- smartWalletRouting?: "AUTO" | "DISABLE";
3100
+ enableSmartWalletRouting?: boolean;
2404
3101
  };
2405
3102
  path?: never;
2406
3103
  query?: never;
@@ -2420,7 +3117,7 @@ export type PostCreateContentResponses = {
2420
3117
  * Content coin creation parameters
2421
3118
  */
2422
3119
  200: {
2423
- calls?: Array<{
3120
+ calls: Array<{
2424
3121
  /**
2425
3122
  * Encoded function call data
2426
3123
  */
@@ -2434,6 +3131,14 @@ export type PostCreateContentResponses = {
2434
3131
  */
2435
3132
  value: string;
2436
3133
  }>;
3134
+ /**
3135
+ * The predicted address where the coin will be deployed
3136
+ */
3137
+ predictedCoinAddress: string;
3138
+ /**
3139
+ * The currency that the coin will be backed by
3140
+ */
3141
+ backingCurrency?: string;
2437
3142
  };
2438
3143
  };
2439
3144
  export type PostCreateContentResponse = PostCreateContentResponses[keyof PostCreateContentResponses];