@zoralabs/coins-sdk 0.5.1 → 0.6.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.
@@ -633,6 +633,85 @@ export type GetCoinHoldersResponses = {
633
633
  };
634
634
  };
635
635
  export type GetCoinHoldersResponse = GetCoinHoldersResponses[keyof GetCoinHoldersResponses];
636
+ export type GetCoinPriceHistoryData = {
637
+ body?: never;
638
+ path?: never;
639
+ query: {
640
+ address: string;
641
+ chain?: number;
642
+ };
643
+ url: "/coinPriceHistory";
644
+ };
645
+ export type GetCoinPriceHistoryErrors = {
646
+ /**
647
+ * Bad request
648
+ */
649
+ 400: unknown;
650
+ /**
651
+ * Internal server error
652
+ */
653
+ 500: unknown;
654
+ };
655
+ export type GetCoinPriceHistoryResponses = {
656
+ /**
657
+ * Successful operation
658
+ */
659
+ 200: {
660
+ zora20Token?: {
661
+ oneHour: Array<{
662
+ /**
663
+ * Date with time (isoformat)
664
+ */
665
+ timestamp: string;
666
+ /**
667
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
668
+ */
669
+ closePrice: string;
670
+ }>;
671
+ oneDay: Array<{
672
+ /**
673
+ * Date with time (isoformat)
674
+ */
675
+ timestamp: string;
676
+ /**
677
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
678
+ */
679
+ closePrice: string;
680
+ }>;
681
+ oneWeek: Array<{
682
+ /**
683
+ * Date with time (isoformat)
684
+ */
685
+ timestamp: string;
686
+ /**
687
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
688
+ */
689
+ closePrice: string;
690
+ }>;
691
+ oneMonth: Array<{
692
+ /**
693
+ * Date with time (isoformat)
694
+ */
695
+ timestamp: string;
696
+ /**
697
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
698
+ */
699
+ closePrice: string;
700
+ }>;
701
+ all: Array<{
702
+ /**
703
+ * Date with time (isoformat)
704
+ */
705
+ timestamp: string;
706
+ /**
707
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
708
+ */
709
+ closePrice: string;
710
+ }>;
711
+ };
712
+ };
713
+ };
714
+ export type GetCoinPriceHistoryResponse = GetCoinPriceHistoryResponses[keyof GetCoinPriceHistoryResponses];
636
715
  export type GetCoinSwapsData = {
637
716
  body?: never;
638
717
  path?: never;
@@ -788,6 +867,9 @@ export type GetCoinsResponses = {
788
867
  * Successful operation
789
868
  */
790
869
  200: {
870
+ /**
871
+ * Batch-resolve Zora ERC-20 coins. Returns nulls for unknown IDs. Preserves input order.
872
+ */
791
873
  zora20Tokens: Array<{
792
874
  /**
793
875
  * The Globally Unique ID of this object
@@ -1259,7 +1341,7 @@ export type SetCreateUploadJwtResponses = {
1259
1341
  */
1260
1342
  200: {
1261
1343
  /**
1262
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1344
+ * Generate a signed JWT for media uploads, authenticated via API key.
1263
1345
  */
1264
1346
  createUploadJwtFromApiKey: string;
1265
1347
  };
@@ -1302,6 +1384,188 @@ export type GetCreatorCoinPoolConfigResponses = {
1302
1384
  };
1303
1385
  };
1304
1386
  export type GetCreatorCoinPoolConfigResponse = GetCreatorCoinPoolConfigResponses[keyof GetCreatorCoinPoolConfigResponses];
1387
+ export type GetCreatorLivestreamCommentsData = {
1388
+ body?: never;
1389
+ path?: never;
1390
+ query: {
1391
+ address: string;
1392
+ chain?: number;
1393
+ after?: string;
1394
+ count?: number;
1395
+ };
1396
+ url: "/creatorLivestreamComments";
1397
+ };
1398
+ export type GetCreatorLivestreamCommentsErrors = {
1399
+ /**
1400
+ * Bad request
1401
+ */
1402
+ 400: unknown;
1403
+ /**
1404
+ * Internal server error
1405
+ */
1406
+ 500: unknown;
1407
+ };
1408
+ export type GetCreatorLivestreamCommentsResponses = {
1409
+ /**
1410
+ * Successful operation
1411
+ */
1412
+ 200: {
1413
+ zora20Token?: {
1414
+ creatorProfile?: {
1415
+ liveStream?: {
1416
+ comments: {
1417
+ pageInfo: {
1418
+ /**
1419
+ * When paginating forwards, the cursor to continue.
1420
+ */
1421
+ endCursor?: string;
1422
+ /**
1423
+ * When paginating forwards, are there more items?
1424
+ */
1425
+ hasNextPage: boolean;
1426
+ };
1427
+ /**
1428
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1429
+ */
1430
+ count: number;
1431
+ edges: Array<{
1432
+ /**
1433
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1434
+ */
1435
+ cursor: string;
1436
+ node: {
1437
+ /**
1438
+ * The Globally Unique ID of this object
1439
+ */
1440
+ id: string;
1441
+ /**
1442
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1443
+ */
1444
+ commentId: string;
1445
+ /**
1446
+ * Date with time (isoformat)
1447
+ */
1448
+ commentedAt: string;
1449
+ /**
1450
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1451
+ */
1452
+ comment: string;
1453
+ profile?: {
1454
+ /**
1455
+ * The Globally Unique ID of this object
1456
+ */
1457
+ id: string;
1458
+ /**
1459
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
1460
+ */
1461
+ handle: string;
1462
+ /**
1463
+ * The `Boolean` scalar type represents `true` or `false`.
1464
+ */
1465
+ platformBlocked: boolean;
1466
+ avatar?: {
1467
+ previewImage: {
1468
+ /**
1469
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1470
+ */
1471
+ blurhash?: string;
1472
+ /**
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.
1474
+ */
1475
+ medium: string;
1476
+ /**
1477
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1478
+ */
1479
+ small: string;
1480
+ };
1481
+ };
1482
+ socialAccounts: {
1483
+ instagram?: {
1484
+ /**
1485
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1486
+ */
1487
+ username?: string;
1488
+ /**
1489
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1490
+ */
1491
+ displayName?: string;
1492
+ /**
1493
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1494
+ */
1495
+ followerCount?: number;
1496
+ /**
1497
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1498
+ */
1499
+ id?: string;
1500
+ };
1501
+ tiktok?: {
1502
+ /**
1503
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1504
+ */
1505
+ username?: string;
1506
+ /**
1507
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1508
+ */
1509
+ displayName?: string;
1510
+ /**
1511
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1512
+ */
1513
+ followerCount?: number;
1514
+ /**
1515
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1516
+ */
1517
+ id?: string;
1518
+ };
1519
+ twitter?: {
1520
+ /**
1521
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1522
+ */
1523
+ username?: string;
1524
+ /**
1525
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1526
+ */
1527
+ displayName?: string;
1528
+ /**
1529
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1530
+ */
1531
+ followerCount?: number;
1532
+ /**
1533
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1534
+ */
1535
+ id?: string;
1536
+ };
1537
+ farcaster?: {
1538
+ /**
1539
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1540
+ */
1541
+ username?: string;
1542
+ /**
1543
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1544
+ */
1545
+ displayName?: string;
1546
+ /**
1547
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
1548
+ */
1549
+ followerCount?: number;
1550
+ /**
1551
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
1552
+ */
1553
+ id?: string;
1554
+ };
1555
+ };
1556
+ creatorCoin?: {
1557
+ address: string;
1558
+ };
1559
+ };
1560
+ };
1561
+ }>;
1562
+ };
1563
+ };
1564
+ };
1565
+ };
1566
+ };
1567
+ };
1568
+ export type GetCreatorLivestreamCommentsResponse = GetCreatorLivestreamCommentsResponses[keyof GetCreatorLivestreamCommentsResponses];
1305
1569
  export type GetExploreData = {
1306
1570
  body?: never;
1307
1571
  path?: never;
@@ -2139,10 +2403,52 @@ export type GetProfileBalancesResponses = {
2139
2403
  * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2140
2404
  */
2141
2405
  balance: string;
2406
+ /**
2407
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2408
+ */
2409
+ walletBalance: string;
2142
2410
  /**
2143
2411
  * The Globally Unique ID of this object
2144
2412
  */
2145
2413
  id: string;
2414
+ valuation?: {
2415
+ /**
2416
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2417
+ */
2418
+ marketValueUsd?: string;
2419
+ /**
2420
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2421
+ */
2422
+ faceValueUsd?: string;
2423
+ /**
2424
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2425
+ */
2426
+ blockNumber?: number;
2427
+ maxSwappable?: {
2428
+ /**
2429
+ * Raw amount of the currency, in wei. Not formatted with decimals
2430
+ */
2431
+ amountRaw: string;
2432
+ /**
2433
+ * Amount of the currency, in float format accounting for currency decimals
2434
+ */
2435
+ amountDecimal: number;
2436
+ };
2437
+ currencyAmount: {
2438
+ /**
2439
+ * Raw amount of the currency, in wei. Not formatted with decimals
2440
+ */
2441
+ amountRaw: string;
2442
+ /**
2443
+ * Amount of the currency, in float format accounting for currency decimals
2444
+ */
2445
+ amountDecimal: number;
2446
+ };
2447
+ /**
2448
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2449
+ */
2450
+ error?: string;
2451
+ };
2146
2452
  coin?: {
2147
2453
  /**
2148
2454
  * The Globally Unique ID of this object
@@ -2404,19 +2710,16 @@ export type GetProfileBalancesResponses = {
2404
2710
  };
2405
2711
  };
2406
2712
  export type GetProfileBalancesResponse = GetProfileBalancesResponses[keyof GetProfileBalancesResponses];
2407
- export type GetProfileCoinsData = {
2713
+ export type GetProfileBySocialHandleData = {
2408
2714
  body?: never;
2409
2715
  path?: never;
2410
2716
  query: {
2411
- identifier: string;
2412
- count?: number;
2413
- after?: string;
2414
- chainIds?: Array<number>;
2415
- platformReferrerAddress?: Array<string>;
2717
+ platform: "TWITTER" | "TIKTOK" | "FARCASTER" | "INSTAGRAM";
2718
+ handle: string;
2416
2719
  };
2417
- url: "/profileCoins";
2720
+ url: "/profileBySocialHandle";
2418
2721
  };
2419
- export type GetProfileCoinsErrors = {
2722
+ export type GetProfileBySocialHandleErrors = {
2420
2723
  /**
2421
2724
  * Bad request
2422
2725
  */
@@ -2426,12 +2729,12 @@ export type GetProfileCoinsErrors = {
2426
2729
  */
2427
2730
  500: unknown;
2428
2731
  };
2429
- export type GetProfileCoinsResponses = {
2732
+ export type GetProfileBySocialHandleResponses = {
2430
2733
  /**
2431
2734
  * Successful operation
2432
2735
  */
2433
2736
  200: {
2434
- profile?: {
2737
+ profileBySocialHandle?: {
2435
2738
  /**
2436
2739
  * The Globally Unique ID of this object
2437
2740
  */
@@ -2535,97 +2838,254 @@ export type GetProfileCoinsResponses = {
2535
2838
  };
2536
2839
  };
2537
2840
  creatorCoin?: {
2538
- address: string;
2539
- };
2540
- createdCoins?: {
2541
2841
  /**
2542
- * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2842
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2543
2843
  */
2544
- count: number;
2545
- edges: Array<{
2546
- node: {
2547
- /**
2548
- * The Globally Unique ID of this object
2549
- */
2550
- id: string;
2551
- /**
2552
- * The `Boolean` scalar type represents `true` or `false`.
2553
- */
2554
- platformBlocked: boolean;
2555
- /**
2556
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2557
- */
2558
- name: string;
2559
- /**
2560
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2561
- */
2562
- description: string;
2563
- address: string;
2564
- coinType: "CREATOR" | "CONTENT" | "TREND";
2565
- /**
2566
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2567
- */
2568
- symbol: string;
2569
- /**
2570
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2571
- */
2572
- totalSupply: string;
2573
- /**
2574
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2575
- */
2576
- totalVolume: string;
2577
- /**
2578
- * The `String` scalar type represents 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
- */
2580
- volume24h: string;
2581
- /**
2582
- * Date with time (isoformat)
2583
- */
2584
- createdAt?: string;
2585
- creatorAddress?: string;
2586
- poolCurrencyToken?: {
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
- address?: 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
- name?: string;
2595
- /**
2596
- * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2597
- */
2598
- decimals?: number;
2599
- };
2600
- tokenPrice?: {
2601
- /**
2602
- * Price of the pool in respect to USDC, not always available
2603
- */
2604
- priceInUsdc?: string;
2605
- /**
2606
- * Ethereum address of the currency
2607
- */
2608
- currencyAddress: string;
2609
- /**
2610
- * Price against the native token of the primary currency pool
2611
- */
2612
- priceInPoolToken: string;
2613
- };
2614
- /**
2615
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2616
- */
2617
- marketCap: string;
2618
- /**
2619
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2620
- */
2621
- marketCapDelta24h: string;
2622
- /**
2623
- * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2624
- */
2625
- chainId: number;
2626
- /**
2627
- * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2628
- */
2844
+ symbol: string;
2845
+ /**
2846
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2847
+ */
2848
+ marketCap: string;
2849
+ /**
2850
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2851
+ */
2852
+ marketCapDelta24h: string;
2853
+ multichainAddress: string;
2854
+ };
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
+ username: string;
2859
+ /**
2860
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2861
+ */
2862
+ displayName?: string;
2863
+ };
2864
+ };
2865
+ };
2866
+ export type GetProfileBySocialHandleResponse = GetProfileBySocialHandleResponses[keyof GetProfileBySocialHandleResponses];
2867
+ export type GetProfileCoinsData = {
2868
+ body?: never;
2869
+ path?: never;
2870
+ query: {
2871
+ identifier: string;
2872
+ count?: number;
2873
+ after?: string;
2874
+ chainIds?: Array<number>;
2875
+ platformReferrerAddress?: Array<string>;
2876
+ };
2877
+ url: "/profileCoins";
2878
+ };
2879
+ export type GetProfileCoinsErrors = {
2880
+ /**
2881
+ * Bad request
2882
+ */
2883
+ 400: unknown;
2884
+ /**
2885
+ * Internal server error
2886
+ */
2887
+ 500: unknown;
2888
+ };
2889
+ export type GetProfileCoinsResponses = {
2890
+ /**
2891
+ * Successful operation
2892
+ */
2893
+ 200: {
2894
+ profile?: {
2895
+ /**
2896
+ * The Globally Unique ID of this object
2897
+ */
2898
+ id: string;
2899
+ /**
2900
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
2901
+ */
2902
+ handle: string;
2903
+ /**
2904
+ * The `Boolean` scalar type represents `true` or `false`.
2905
+ */
2906
+ platformBlocked: boolean;
2907
+ avatar?: {
2908
+ previewImage: {
2909
+ /**
2910
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2911
+ */
2912
+ blurhash?: string;
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
+ medium: string;
2917
+ /**
2918
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2919
+ */
2920
+ small: string;
2921
+ };
2922
+ };
2923
+ socialAccounts: {
2924
+ instagram?: {
2925
+ /**
2926
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2927
+ */
2928
+ username?: string;
2929
+ /**
2930
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2931
+ */
2932
+ displayName?: string;
2933
+ /**
2934
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2935
+ */
2936
+ followerCount?: number;
2937
+ /**
2938
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2939
+ */
2940
+ id?: string;
2941
+ };
2942
+ tiktok?: {
2943
+ /**
2944
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2945
+ */
2946
+ username?: string;
2947
+ /**
2948
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2949
+ */
2950
+ displayName?: string;
2951
+ /**
2952
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2953
+ */
2954
+ followerCount?: number;
2955
+ /**
2956
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2957
+ */
2958
+ id?: string;
2959
+ };
2960
+ twitter?: {
2961
+ /**
2962
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2963
+ */
2964
+ username?: string;
2965
+ /**
2966
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2967
+ */
2968
+ displayName?: string;
2969
+ /**
2970
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2971
+ */
2972
+ followerCount?: number;
2973
+ /**
2974
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2975
+ */
2976
+ id?: string;
2977
+ };
2978
+ farcaster?: {
2979
+ /**
2980
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2981
+ */
2982
+ username?: string;
2983
+ /**
2984
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2985
+ */
2986
+ displayName?: string;
2987
+ /**
2988
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
2989
+ */
2990
+ followerCount?: number;
2991
+ /**
2992
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
2993
+ */
2994
+ id?: string;
2995
+ };
2996
+ };
2997
+ creatorCoin?: {
2998
+ address: string;
2999
+ };
3000
+ createdCoins?: {
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 Globally Unique ID of this object
3009
+ */
3010
+ id: string;
3011
+ /**
3012
+ * The `Boolean` scalar type represents `true` or `false`.
3013
+ */
3014
+ platformBlocked: boolean;
3015
+ /**
3016
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3017
+ */
3018
+ name: string;
3019
+ /**
3020
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3021
+ */
3022
+ description: string;
3023
+ address: string;
3024
+ coinType: "CREATOR" | "CONTENT" | "TREND";
3025
+ /**
3026
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3027
+ */
3028
+ symbol: string;
3029
+ /**
3030
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3031
+ */
3032
+ totalSupply: string;
3033
+ /**
3034
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3035
+ */
3036
+ totalVolume: string;
3037
+ /**
3038
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3039
+ */
3040
+ volume24h: string;
3041
+ /**
3042
+ * Date with time (isoformat)
3043
+ */
3044
+ createdAt?: string;
3045
+ creatorAddress?: string;
3046
+ poolCurrencyToken?: {
3047
+ /**
3048
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3049
+ */
3050
+ address?: string;
3051
+ /**
3052
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3053
+ */
3054
+ name?: string;
3055
+ /**
3056
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
3057
+ */
3058
+ decimals?: number;
3059
+ };
3060
+ tokenPrice?: {
3061
+ /**
3062
+ * Price of the pool in respect to USDC, not always available
3063
+ */
3064
+ priceInUsdc?: string;
3065
+ /**
3066
+ * Ethereum address of the currency
3067
+ */
3068
+ currencyAddress: string;
3069
+ /**
3070
+ * Price against the native token of the primary currency pool
3071
+ */
3072
+ priceInPoolToken: string;
3073
+ };
3074
+ /**
3075
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3076
+ */
3077
+ marketCap: string;
3078
+ /**
3079
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3080
+ */
3081
+ marketCapDelta24h: string;
3082
+ /**
3083
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
3084
+ */
3085
+ chainId: number;
3086
+ /**
3087
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
3088
+ */
2629
3089
  tokenUri?: string;
2630
3090
  platformReferrerAddress?: string;
2631
3091
  payoutRecipientAddress?: string;
@@ -3682,6 +4142,10 @@ export type GetTrendsByNameResponses = {
3682
4142
  200: {
3683
4143
  trendsByName: {
3684
4144
  pageInfo: {
4145
+ /**
4146
+ * When paginating forwards, are there more items?
4147
+ */
4148
+ hasNextPage: boolean;
3685
4149
  /**
3686
4150
  * When paginating backwards, the cursor to continue.
3687
4151
  */
@@ -3949,6 +4413,259 @@ export type GetTrendsByNameResponses = {
3949
4413
  };
3950
4414
  };
3951
4415
  export type GetTrendsByNameResponse = GetTrendsByNameResponses[keyof GetTrendsByNameResponses];
4416
+ export type GetWalletTradeActivityData = {
4417
+ body?: never;
4418
+ path?: never;
4419
+ query: {
4420
+ identifier: string;
4421
+ after?: string;
4422
+ first?: number;
4423
+ };
4424
+ url: "/walletTradeActivity";
4425
+ };
4426
+ export type GetWalletTradeActivityErrors = {
4427
+ /**
4428
+ * Bad request
4429
+ */
4430
+ 400: unknown;
4431
+ /**
4432
+ * Internal server error
4433
+ */
4434
+ 500: unknown;
4435
+ };
4436
+ export type GetWalletTradeActivityResponses = {
4437
+ /**
4438
+ * Successful operation
4439
+ */
4440
+ 200: {
4441
+ walletAddressTradeActivity: {
4442
+ /**
4443
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
4444
+ */
4445
+ count: number;
4446
+ edges: Array<{
4447
+ node: {
4448
+ /**
4449
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4450
+ */
4451
+ transactionHash: string;
4452
+ /**
4453
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
4454
+ */
4455
+ transactionLogIndex?: number;
4456
+ /**
4457
+ * Date with time (isoformat)
4458
+ */
4459
+ blockTimestamp: string;
4460
+ /**
4461
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4462
+ */
4463
+ coinAmount: string;
4464
+ coin?: {
4465
+ /**
4466
+ * The `Boolean` scalar type represents `true` or `false`.
4467
+ */
4468
+ platformBlocked: boolean;
4469
+ address: string;
4470
+ coinType: "CREATOR" | "CONTENT" | "TREND";
4471
+ /**
4472
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4473
+ */
4474
+ name: string;
4475
+ /**
4476
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4477
+ */
4478
+ symbol: string;
4479
+ /**
4480
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4481
+ */
4482
+ description: string;
4483
+ /**
4484
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4485
+ */
4486
+ tokenUri?: string;
4487
+ mediaContent?: {
4488
+ previewImage?: {
4489
+ /**
4490
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4491
+ */
4492
+ small: string;
4493
+ /**
4494
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4495
+ */
4496
+ blurhash?: string;
4497
+ /**
4498
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4499
+ */
4500
+ medium: string;
4501
+ };
4502
+ };
4503
+ creatorAddress?: string;
4504
+ creatorProfile?: {
4505
+ /**
4506
+ * The Globally Unique ID of this object
4507
+ */
4508
+ id: string;
4509
+ /**
4510
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
4511
+ */
4512
+ handle: string;
4513
+ /**
4514
+ * The `Boolean` scalar type represents `true` or `false`.
4515
+ */
4516
+ platformBlocked: boolean;
4517
+ avatar?: {
4518
+ previewImage: {
4519
+ /**
4520
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4521
+ */
4522
+ blurhash?: string;
4523
+ /**
4524
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4525
+ */
4526
+ medium: string;
4527
+ /**
4528
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4529
+ */
4530
+ small: string;
4531
+ };
4532
+ };
4533
+ };
4534
+ uniswapPoolAddress: string;
4535
+ /**
4536
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4537
+ */
4538
+ totalSupply: string;
4539
+ };
4540
+ /**
4541
+ * The Globally Unique ID of this object
4542
+ */
4543
+ id: string;
4544
+ swapActivityType?: "BUY" | "SELL";
4545
+ currencyAmountWithPrice: {
4546
+ /**
4547
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4548
+ */
4549
+ amountUsd?: string;
4550
+ /**
4551
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4552
+ */
4553
+ priceUsdc?: string;
4554
+ /**
4555
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4556
+ */
4557
+ priceDelta24h?: string;
4558
+ currencyAmount: {
4559
+ /**
4560
+ * Ethereum address of the currency
4561
+ */
4562
+ currencyAddress: string;
4563
+ /**
4564
+ * Amount of the currency, in float format accounting for currency decimals
4565
+ */
4566
+ amountDecimal: number;
4567
+ /**
4568
+ * Raw amount of the currency, in wei. Not formatted with decimals
4569
+ */
4570
+ amountRaw: string;
4571
+ };
4572
+ };
4573
+ senderProfile?: {
4574
+ /**
4575
+ * The Globally Unique ID of this object
4576
+ */
4577
+ id: string;
4578
+ /**
4579
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
4580
+ */
4581
+ handle: string;
4582
+ /**
4583
+ * The `Boolean` scalar type represents `true` or `false`.
4584
+ */
4585
+ platformBlocked: boolean;
4586
+ avatar?: {
4587
+ previewImage: {
4588
+ /**
4589
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4590
+ */
4591
+ blurhash?: string;
4592
+ /**
4593
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4594
+ */
4595
+ medium: string;
4596
+ /**
4597
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4598
+ */
4599
+ small: string;
4600
+ };
4601
+ };
4602
+ };
4603
+ /**
4604
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4605
+ */
4606
+ orderId: string;
4607
+ /**
4608
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4609
+ */
4610
+ initialBuyAmount?: string;
4611
+ /**
4612
+ * The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
4613
+ */
4614
+ initialBuyAmountUsd?: number;
4615
+ /**
4616
+ * The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
4617
+ */
4618
+ multiplier: number;
4619
+ makerProfile?: {
4620
+ /**
4621
+ * The Globally Unique ID of this object
4622
+ */
4623
+ id: string;
4624
+ /**
4625
+ * Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
4626
+ */
4627
+ handle: string;
4628
+ /**
4629
+ * The `Boolean` scalar type represents `true` or `false`.
4630
+ */
4631
+ platformBlocked: boolean;
4632
+ avatar?: {
4633
+ previewImage: {
4634
+ /**
4635
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4636
+ */
4637
+ blurhash?: string;
4638
+ /**
4639
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4640
+ */
4641
+ medium: string;
4642
+ /**
4643
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4644
+ */
4645
+ small: string;
4646
+ };
4647
+ };
4648
+ };
4649
+ };
4650
+ /**
4651
+ * The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
4652
+ */
4653
+ cursor: string;
4654
+ }>;
4655
+ pageInfo: {
4656
+ /**
4657
+ * When paginating forwards, the cursor to continue.
4658
+ */
4659
+ endCursor?: string;
4660
+ /**
4661
+ * When paginating forwards, are there more items?
4662
+ */
4663
+ hasNextPage: boolean;
4664
+ };
4665
+ };
4666
+ };
4667
+ };
4668
+ export type GetWalletTradeActivityResponse = GetWalletTradeActivityResponses[keyof GetWalletTradeActivityResponses];
3952
4669
  export type PostQuoteData = {
3953
4670
  body?: {
3954
4671
  referrer?: string;
@@ -3986,10 +4703,26 @@ export type PostQuoteData = {
3986
4703
  };
3987
4704
  export type PostQuoteErrors = {
3988
4705
  /**
3989
- * Error
4706
+ * Liquidity error — not enough pool liquidity for the requested trade
4707
+ */
4708
+ 422: {
4709
+ success: "false";
4710
+ error: string;
4711
+ /**
4712
+ * The type of error. LIQUIDITY indicates insufficient pool liquidity for the requested trade.
4713
+ */
4714
+ errorType: "LIQUIDITY" | "UNKNOWN";
4715
+ };
4716
+ /**
4717
+ * Server error
3990
4718
  */
3991
4719
  500: {
3992
- error?: string;
4720
+ success: "false";
4721
+ error: string;
4722
+ /**
4723
+ * The type of error. LIQUIDITY indicates insufficient pool liquidity for the requested trade.
4724
+ */
4725
+ errorType: "LIQUIDITY" | "UNKNOWN";
3993
4726
  };
3994
4727
  };
3995
4728
  export type PostQuoteError = PostQuoteErrors[keyof PostQuoteErrors];