@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.
- package/CHANGELOG.md +22 -0
- package/dist/api/index.d.ts +2 -0
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/queries.d.ts +13 -1
- package/dist/api/queries.d.ts.map +1 -1
- package/dist/api/social.d.ts +8 -0
- package/dist/api/social.d.ts.map +1 -0
- package/dist/client/sdk.gen.d.ts +256 -4
- package/dist/client/sdk.gen.d.ts.map +1 -1
- package/dist/client/types.gen.d.ts +835 -102
- package/dist/client/types.gen.d.ts.map +1 -1
- package/dist/index.cjs +129 -19
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +128 -18
- package/dist/index.js.map +1 -1
- package/dist/uploader/providers/zora.d.ts +6 -3
- package/dist/uploader/providers/zora.d.ts.map +1 -1
- package/dist/uploader/types.d.ts +10 -1
- package/dist/uploader/types.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/api/index.ts +4 -0
- package/src/api/queries.ts +58 -0
- package/src/api/social.ts +23 -0
- package/src/client/sdk.gen.ts +98 -0
- package/src/client/types.gen.ts +847 -94
- package/src/index.ts +4 -0
- package/src/uploader/providers/zora.ts +61 -19
- package/src/uploader/tests/providers.test.ts +169 -49
- package/src/uploader/types.ts +11 -1
package/src/client/types.gen.ts
CHANGED
|
@@ -653,6 +653,90 @@ export type GetCoinHoldersResponses = {
|
|
|
653
653
|
export type GetCoinHoldersResponse =
|
|
654
654
|
GetCoinHoldersResponses[keyof GetCoinHoldersResponses];
|
|
655
655
|
|
|
656
|
+
export type GetCoinPriceHistoryData = {
|
|
657
|
+
body?: never;
|
|
658
|
+
path?: never;
|
|
659
|
+
query: {
|
|
660
|
+
address: string;
|
|
661
|
+
chain?: number;
|
|
662
|
+
};
|
|
663
|
+
url: "/coinPriceHistory";
|
|
664
|
+
};
|
|
665
|
+
|
|
666
|
+
export type GetCoinPriceHistoryErrors = {
|
|
667
|
+
/**
|
|
668
|
+
* Bad request
|
|
669
|
+
*/
|
|
670
|
+
400: unknown;
|
|
671
|
+
/**
|
|
672
|
+
* Internal server error
|
|
673
|
+
*/
|
|
674
|
+
500: unknown;
|
|
675
|
+
};
|
|
676
|
+
|
|
677
|
+
export type GetCoinPriceHistoryResponses = {
|
|
678
|
+
/**
|
|
679
|
+
* Successful operation
|
|
680
|
+
*/
|
|
681
|
+
200: {
|
|
682
|
+
zora20Token?: {
|
|
683
|
+
oneHour: Array<{
|
|
684
|
+
/**
|
|
685
|
+
* Date with time (isoformat)
|
|
686
|
+
*/
|
|
687
|
+
timestamp: string;
|
|
688
|
+
/**
|
|
689
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
690
|
+
*/
|
|
691
|
+
closePrice: string;
|
|
692
|
+
}>;
|
|
693
|
+
oneDay: Array<{
|
|
694
|
+
/**
|
|
695
|
+
* Date with time (isoformat)
|
|
696
|
+
*/
|
|
697
|
+
timestamp: string;
|
|
698
|
+
/**
|
|
699
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
700
|
+
*/
|
|
701
|
+
closePrice: string;
|
|
702
|
+
}>;
|
|
703
|
+
oneWeek: Array<{
|
|
704
|
+
/**
|
|
705
|
+
* Date with time (isoformat)
|
|
706
|
+
*/
|
|
707
|
+
timestamp: string;
|
|
708
|
+
/**
|
|
709
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
710
|
+
*/
|
|
711
|
+
closePrice: string;
|
|
712
|
+
}>;
|
|
713
|
+
oneMonth: Array<{
|
|
714
|
+
/**
|
|
715
|
+
* Date with time (isoformat)
|
|
716
|
+
*/
|
|
717
|
+
timestamp: string;
|
|
718
|
+
/**
|
|
719
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
720
|
+
*/
|
|
721
|
+
closePrice: string;
|
|
722
|
+
}>;
|
|
723
|
+
all: Array<{
|
|
724
|
+
/**
|
|
725
|
+
* Date with time (isoformat)
|
|
726
|
+
*/
|
|
727
|
+
timestamp: string;
|
|
728
|
+
/**
|
|
729
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
730
|
+
*/
|
|
731
|
+
closePrice: string;
|
|
732
|
+
}>;
|
|
733
|
+
};
|
|
734
|
+
};
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
export type GetCoinPriceHistoryResponse =
|
|
738
|
+
GetCoinPriceHistoryResponses[keyof GetCoinPriceHistoryResponses];
|
|
739
|
+
|
|
656
740
|
export type GetCoinSwapsData = {
|
|
657
741
|
body?: never;
|
|
658
742
|
path?: never;
|
|
@@ -815,6 +899,9 @@ export type GetCoinsResponses = {
|
|
|
815
899
|
* Successful operation
|
|
816
900
|
*/
|
|
817
901
|
200: {
|
|
902
|
+
/**
|
|
903
|
+
* Batch-resolve Zora ERC-20 coins. Returns nulls for unknown IDs. Preserves input order.
|
|
904
|
+
*/
|
|
818
905
|
zora20Tokens: Array<{
|
|
819
906
|
/**
|
|
820
907
|
* The Globally Unique ID of this object
|
|
@@ -1305,7 +1392,7 @@ export type SetCreateUploadJwtResponses = {
|
|
|
1305
1392
|
*/
|
|
1306
1393
|
200: {
|
|
1307
1394
|
/**
|
|
1308
|
-
*
|
|
1395
|
+
* Generate a signed JWT for media uploads, authenticated via API key.
|
|
1309
1396
|
*/
|
|
1310
1397
|
createUploadJwtFromApiKey: string;
|
|
1311
1398
|
};
|
|
@@ -1356,6 +1443,193 @@ export type GetCreatorCoinPoolConfigResponses = {
|
|
|
1356
1443
|
export type GetCreatorCoinPoolConfigResponse =
|
|
1357
1444
|
GetCreatorCoinPoolConfigResponses[keyof GetCreatorCoinPoolConfigResponses];
|
|
1358
1445
|
|
|
1446
|
+
export type GetCreatorLivestreamCommentsData = {
|
|
1447
|
+
body?: never;
|
|
1448
|
+
path?: never;
|
|
1449
|
+
query: {
|
|
1450
|
+
address: string;
|
|
1451
|
+
chain?: number;
|
|
1452
|
+
after?: string;
|
|
1453
|
+
count?: number;
|
|
1454
|
+
};
|
|
1455
|
+
url: "/creatorLivestreamComments";
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
export type GetCreatorLivestreamCommentsErrors = {
|
|
1459
|
+
/**
|
|
1460
|
+
* Bad request
|
|
1461
|
+
*/
|
|
1462
|
+
400: unknown;
|
|
1463
|
+
/**
|
|
1464
|
+
* Internal server error
|
|
1465
|
+
*/
|
|
1466
|
+
500: unknown;
|
|
1467
|
+
};
|
|
1468
|
+
|
|
1469
|
+
export type GetCreatorLivestreamCommentsResponses = {
|
|
1470
|
+
/**
|
|
1471
|
+
* Successful operation
|
|
1472
|
+
*/
|
|
1473
|
+
200: {
|
|
1474
|
+
zora20Token?: {
|
|
1475
|
+
creatorProfile?: {
|
|
1476
|
+
liveStream?: {
|
|
1477
|
+
comments: {
|
|
1478
|
+
pageInfo: {
|
|
1479
|
+
/**
|
|
1480
|
+
* When paginating forwards, the cursor to continue.
|
|
1481
|
+
*/
|
|
1482
|
+
endCursor?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* When paginating forwards, are there more items?
|
|
1485
|
+
*/
|
|
1486
|
+
hasNextPage: boolean;
|
|
1487
|
+
};
|
|
1488
|
+
/**
|
|
1489
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1490
|
+
*/
|
|
1491
|
+
count: number;
|
|
1492
|
+
edges: Array<{
|
|
1493
|
+
/**
|
|
1494
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1495
|
+
*/
|
|
1496
|
+
cursor: string;
|
|
1497
|
+
node: {
|
|
1498
|
+
/**
|
|
1499
|
+
* The Globally Unique ID of this object
|
|
1500
|
+
*/
|
|
1501
|
+
id: string;
|
|
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
|
+
commentId: string;
|
|
1506
|
+
/**
|
|
1507
|
+
* Date with time (isoformat)
|
|
1508
|
+
*/
|
|
1509
|
+
commentedAt: string;
|
|
1510
|
+
/**
|
|
1511
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1512
|
+
*/
|
|
1513
|
+
comment: string;
|
|
1514
|
+
profile?: {
|
|
1515
|
+
/**
|
|
1516
|
+
* The Globally Unique ID of this object
|
|
1517
|
+
*/
|
|
1518
|
+
id: string;
|
|
1519
|
+
/**
|
|
1520
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
1521
|
+
*/
|
|
1522
|
+
handle: string;
|
|
1523
|
+
/**
|
|
1524
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
1525
|
+
*/
|
|
1526
|
+
platformBlocked: boolean;
|
|
1527
|
+
avatar?: {
|
|
1528
|
+
previewImage: {
|
|
1529
|
+
/**
|
|
1530
|
+
* The `String` scalar type represents 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
|
+
*/
|
|
1532
|
+
blurhash?: string;
|
|
1533
|
+
/**
|
|
1534
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1535
|
+
*/
|
|
1536
|
+
medium: string;
|
|
1537
|
+
/**
|
|
1538
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1539
|
+
*/
|
|
1540
|
+
small: string;
|
|
1541
|
+
};
|
|
1542
|
+
};
|
|
1543
|
+
socialAccounts: {
|
|
1544
|
+
instagram?: {
|
|
1545
|
+
/**
|
|
1546
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1547
|
+
*/
|
|
1548
|
+
username?: string;
|
|
1549
|
+
/**
|
|
1550
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1551
|
+
*/
|
|
1552
|
+
displayName?: string;
|
|
1553
|
+
/**
|
|
1554
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1555
|
+
*/
|
|
1556
|
+
followerCount?: number;
|
|
1557
|
+
/**
|
|
1558
|
+
* The `String` scalar type represents 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
|
+
*/
|
|
1560
|
+
id?: string;
|
|
1561
|
+
};
|
|
1562
|
+
tiktok?: {
|
|
1563
|
+
/**
|
|
1564
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1565
|
+
*/
|
|
1566
|
+
username?: string;
|
|
1567
|
+
/**
|
|
1568
|
+
* The `String` scalar type represents 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
|
+
*/
|
|
1570
|
+
displayName?: string;
|
|
1571
|
+
/**
|
|
1572
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1573
|
+
*/
|
|
1574
|
+
followerCount?: number;
|
|
1575
|
+
/**
|
|
1576
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1577
|
+
*/
|
|
1578
|
+
id?: string;
|
|
1579
|
+
};
|
|
1580
|
+
twitter?: {
|
|
1581
|
+
/**
|
|
1582
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1583
|
+
*/
|
|
1584
|
+
username?: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1587
|
+
*/
|
|
1588
|
+
displayName?: string;
|
|
1589
|
+
/**
|
|
1590
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1591
|
+
*/
|
|
1592
|
+
followerCount?: number;
|
|
1593
|
+
/**
|
|
1594
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1595
|
+
*/
|
|
1596
|
+
id?: string;
|
|
1597
|
+
};
|
|
1598
|
+
farcaster?: {
|
|
1599
|
+
/**
|
|
1600
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1601
|
+
*/
|
|
1602
|
+
username?: string;
|
|
1603
|
+
/**
|
|
1604
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
1605
|
+
*/
|
|
1606
|
+
displayName?: string;
|
|
1607
|
+
/**
|
|
1608
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
1609
|
+
*/
|
|
1610
|
+
followerCount?: number;
|
|
1611
|
+
/**
|
|
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.
|
|
1613
|
+
*/
|
|
1614
|
+
id?: string;
|
|
1615
|
+
};
|
|
1616
|
+
};
|
|
1617
|
+
creatorCoin?: {
|
|
1618
|
+
address: string;
|
|
1619
|
+
};
|
|
1620
|
+
};
|
|
1621
|
+
};
|
|
1622
|
+
}>;
|
|
1623
|
+
};
|
|
1624
|
+
};
|
|
1625
|
+
};
|
|
1626
|
+
};
|
|
1627
|
+
};
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
export type GetCreatorLivestreamCommentsResponse =
|
|
1631
|
+
GetCreatorLivestreamCommentsResponses[keyof GetCreatorLivestreamCommentsResponses];
|
|
1632
|
+
|
|
1359
1633
|
export type GetExploreData = {
|
|
1360
1634
|
body?: never;
|
|
1361
1635
|
path?: never;
|
|
@@ -2241,10 +2515,52 @@ export type GetProfileBalancesResponses = {
|
|
|
2241
2515
|
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2242
2516
|
*/
|
|
2243
2517
|
balance: string;
|
|
2518
|
+
/**
|
|
2519
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2520
|
+
*/
|
|
2521
|
+
walletBalance: string;
|
|
2244
2522
|
/**
|
|
2245
2523
|
* The Globally Unique ID of this object
|
|
2246
2524
|
*/
|
|
2247
2525
|
id: string;
|
|
2526
|
+
valuation?: {
|
|
2527
|
+
/**
|
|
2528
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2529
|
+
*/
|
|
2530
|
+
marketValueUsd?: string;
|
|
2531
|
+
/**
|
|
2532
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2533
|
+
*/
|
|
2534
|
+
faceValueUsd?: string;
|
|
2535
|
+
/**
|
|
2536
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
2537
|
+
*/
|
|
2538
|
+
blockNumber?: number;
|
|
2539
|
+
maxSwappable?: {
|
|
2540
|
+
/**
|
|
2541
|
+
* Raw amount of the currency, in wei. Not formatted with decimals
|
|
2542
|
+
*/
|
|
2543
|
+
amountRaw: string;
|
|
2544
|
+
/**
|
|
2545
|
+
* Amount of the currency, in float format accounting for currency decimals
|
|
2546
|
+
*/
|
|
2547
|
+
amountDecimal: number;
|
|
2548
|
+
};
|
|
2549
|
+
currencyAmount: {
|
|
2550
|
+
/**
|
|
2551
|
+
* Raw amount of the currency, in wei. Not formatted with decimals
|
|
2552
|
+
*/
|
|
2553
|
+
amountRaw: string;
|
|
2554
|
+
/**
|
|
2555
|
+
* Amount of the currency, in float format accounting for currency decimals
|
|
2556
|
+
*/
|
|
2557
|
+
amountDecimal: number;
|
|
2558
|
+
};
|
|
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
|
+
error?: string;
|
|
2563
|
+
};
|
|
2248
2564
|
coin?: {
|
|
2249
2565
|
/**
|
|
2250
2566
|
* The Globally Unique ID of this object
|
|
@@ -2509,20 +2825,17 @@ export type GetProfileBalancesResponses = {
|
|
|
2509
2825
|
export type GetProfileBalancesResponse =
|
|
2510
2826
|
GetProfileBalancesResponses[keyof GetProfileBalancesResponses];
|
|
2511
2827
|
|
|
2512
|
-
export type
|
|
2828
|
+
export type GetProfileBySocialHandleData = {
|
|
2513
2829
|
body?: never;
|
|
2514
2830
|
path?: never;
|
|
2515
2831
|
query: {
|
|
2516
|
-
|
|
2517
|
-
|
|
2518
|
-
after?: string;
|
|
2519
|
-
chainIds?: Array<number>;
|
|
2520
|
-
platformReferrerAddress?: Array<string>;
|
|
2832
|
+
platform: "TWITTER" | "TIKTOK" | "FARCASTER" | "INSTAGRAM";
|
|
2833
|
+
handle: string;
|
|
2521
2834
|
};
|
|
2522
|
-
url: "/
|
|
2835
|
+
url: "/profileBySocialHandle";
|
|
2523
2836
|
};
|
|
2524
2837
|
|
|
2525
|
-
export type
|
|
2838
|
+
export type GetProfileBySocialHandleErrors = {
|
|
2526
2839
|
/**
|
|
2527
2840
|
* Bad request
|
|
2528
2841
|
*/
|
|
@@ -2533,12 +2846,12 @@ export type GetProfileCoinsErrors = {
|
|
|
2533
2846
|
500: unknown;
|
|
2534
2847
|
};
|
|
2535
2848
|
|
|
2536
|
-
export type
|
|
2849
|
+
export type GetProfileBySocialHandleResponses = {
|
|
2537
2850
|
/**
|
|
2538
2851
|
* Successful operation
|
|
2539
2852
|
*/
|
|
2540
2853
|
200: {
|
|
2541
|
-
|
|
2854
|
+
profileBySocialHandle?: {
|
|
2542
2855
|
/**
|
|
2543
2856
|
* The Globally Unique ID of this object
|
|
2544
2857
|
*/
|
|
@@ -2642,89 +2955,251 @@ export type GetProfileCoinsResponses = {
|
|
|
2642
2955
|
};
|
|
2643
2956
|
};
|
|
2644
2957
|
creatorCoin?: {
|
|
2645
|
-
address: string;
|
|
2646
|
-
};
|
|
2647
|
-
createdCoins?: {
|
|
2648
2958
|
/**
|
|
2649
|
-
* The `
|
|
2959
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2650
2960
|
*/
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2654
|
-
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2961
|
+
symbol: string;
|
|
2962
|
+
/**
|
|
2963
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2964
|
+
*/
|
|
2965
|
+
marketCap: string;
|
|
2966
|
+
/**
|
|
2967
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2968
|
+
*/
|
|
2969
|
+
marketCapDelta24h: string;
|
|
2970
|
+
multichainAddress: string;
|
|
2971
|
+
};
|
|
2972
|
+
/**
|
|
2973
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2974
|
+
*/
|
|
2975
|
+
username: string;
|
|
2976
|
+
/**
|
|
2977
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
2978
|
+
*/
|
|
2979
|
+
displayName?: string;
|
|
2980
|
+
};
|
|
2981
|
+
};
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
export type GetProfileBySocialHandleResponse =
|
|
2985
|
+
GetProfileBySocialHandleResponses[keyof GetProfileBySocialHandleResponses];
|
|
2986
|
+
|
|
2987
|
+
export type GetProfileCoinsData = {
|
|
2988
|
+
body?: never;
|
|
2989
|
+
path?: never;
|
|
2990
|
+
query: {
|
|
2991
|
+
identifier: string;
|
|
2992
|
+
count?: number;
|
|
2993
|
+
after?: string;
|
|
2994
|
+
chainIds?: Array<number>;
|
|
2995
|
+
platformReferrerAddress?: Array<string>;
|
|
2996
|
+
};
|
|
2997
|
+
url: "/profileCoins";
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
export type GetProfileCoinsErrors = {
|
|
3001
|
+
/**
|
|
3002
|
+
* Bad request
|
|
3003
|
+
*/
|
|
3004
|
+
400: unknown;
|
|
3005
|
+
/**
|
|
3006
|
+
* Internal server error
|
|
3007
|
+
*/
|
|
3008
|
+
500: unknown;
|
|
3009
|
+
};
|
|
3010
|
+
|
|
3011
|
+
export type GetProfileCoinsResponses = {
|
|
3012
|
+
/**
|
|
3013
|
+
* Successful operation
|
|
3014
|
+
*/
|
|
3015
|
+
200: {
|
|
3016
|
+
profile?: {
|
|
3017
|
+
/**
|
|
3018
|
+
* The Globally Unique ID of this object
|
|
3019
|
+
*/
|
|
3020
|
+
id: string;
|
|
3021
|
+
/**
|
|
3022
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
3023
|
+
*/
|
|
3024
|
+
handle: string;
|
|
3025
|
+
/**
|
|
3026
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
3027
|
+
*/
|
|
3028
|
+
platformBlocked: boolean;
|
|
3029
|
+
avatar?: {
|
|
3030
|
+
previewImage: {
|
|
3031
|
+
/**
|
|
3032
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3033
|
+
*/
|
|
3034
|
+
blurhash?: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3037
|
+
*/
|
|
3038
|
+
medium: string;
|
|
3039
|
+
/**
|
|
3040
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3041
|
+
*/
|
|
3042
|
+
small: string;
|
|
3043
|
+
};
|
|
3044
|
+
};
|
|
3045
|
+
socialAccounts: {
|
|
3046
|
+
instagram?: {
|
|
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
|
+
username?: 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
|
+
displayName?: 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
|
+
followerCount?: number;
|
|
3059
|
+
/**
|
|
3060
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3061
|
+
*/
|
|
3062
|
+
id?: string;
|
|
3063
|
+
};
|
|
3064
|
+
tiktok?: {
|
|
3065
|
+
/**
|
|
3066
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3067
|
+
*/
|
|
3068
|
+
username?: string;
|
|
3069
|
+
/**
|
|
3070
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3071
|
+
*/
|
|
3072
|
+
displayName?: string;
|
|
3073
|
+
/**
|
|
3074
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3075
|
+
*/
|
|
3076
|
+
followerCount?: number;
|
|
3077
|
+
/**
|
|
3078
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3079
|
+
*/
|
|
3080
|
+
id?: string;
|
|
3081
|
+
};
|
|
3082
|
+
twitter?: {
|
|
3083
|
+
/**
|
|
3084
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3085
|
+
*/
|
|
3086
|
+
username?: string;
|
|
3087
|
+
/**
|
|
3088
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3089
|
+
*/
|
|
3090
|
+
displayName?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3093
|
+
*/
|
|
3094
|
+
followerCount?: number;
|
|
3095
|
+
/**
|
|
3096
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3097
|
+
*/
|
|
3098
|
+
id?: string;
|
|
3099
|
+
};
|
|
3100
|
+
farcaster?: {
|
|
3101
|
+
/**
|
|
3102
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3103
|
+
*/
|
|
3104
|
+
username?: string;
|
|
3105
|
+
/**
|
|
3106
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3107
|
+
*/
|
|
3108
|
+
displayName?: string;
|
|
3109
|
+
/**
|
|
3110
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3111
|
+
*/
|
|
3112
|
+
followerCount?: number;
|
|
3113
|
+
/**
|
|
3114
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3115
|
+
*/
|
|
3116
|
+
id?: string;
|
|
3117
|
+
};
|
|
3118
|
+
};
|
|
3119
|
+
creatorCoin?: {
|
|
3120
|
+
address: string;
|
|
3121
|
+
};
|
|
3122
|
+
createdCoins?: {
|
|
3123
|
+
/**
|
|
3124
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3125
|
+
*/
|
|
3126
|
+
count: number;
|
|
3127
|
+
edges: Array<{
|
|
3128
|
+
node: {
|
|
3129
|
+
/**
|
|
3130
|
+
* The Globally Unique ID of this object
|
|
3131
|
+
*/
|
|
3132
|
+
id: string;
|
|
3133
|
+
/**
|
|
3134
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
3135
|
+
*/
|
|
3136
|
+
platformBlocked: boolean;
|
|
3137
|
+
/**
|
|
3138
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3139
|
+
*/
|
|
3140
|
+
name: string;
|
|
3141
|
+
/**
|
|
3142
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3143
|
+
*/
|
|
3144
|
+
description: string;
|
|
3145
|
+
address: string;
|
|
3146
|
+
coinType: "CREATOR" | "CONTENT" | "TREND";
|
|
3147
|
+
/**
|
|
3148
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3149
|
+
*/
|
|
3150
|
+
symbol: string;
|
|
3151
|
+
/**
|
|
3152
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3153
|
+
*/
|
|
3154
|
+
totalSupply: string;
|
|
3155
|
+
/**
|
|
3156
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3157
|
+
*/
|
|
3158
|
+
totalVolume: string;
|
|
3159
|
+
/**
|
|
3160
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3161
|
+
*/
|
|
3162
|
+
volume24h: string;
|
|
3163
|
+
/**
|
|
3164
|
+
* Date with time (isoformat)
|
|
3165
|
+
*/
|
|
3166
|
+
createdAt?: string;
|
|
3167
|
+
creatorAddress?: string;
|
|
3168
|
+
poolCurrencyToken?: {
|
|
3169
|
+
/**
|
|
3170
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3171
|
+
*/
|
|
3172
|
+
address?: string;
|
|
3173
|
+
/**
|
|
3174
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3175
|
+
*/
|
|
3176
|
+
name?: string;
|
|
3177
|
+
/**
|
|
3178
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
3179
|
+
*/
|
|
3180
|
+
decimals?: number;
|
|
3181
|
+
};
|
|
3182
|
+
tokenPrice?: {
|
|
3183
|
+
/**
|
|
3184
|
+
* Price of the pool in respect to USDC, not always available
|
|
3185
|
+
*/
|
|
3186
|
+
priceInUsdc?: string;
|
|
3187
|
+
/**
|
|
3188
|
+
* Ethereum address of the currency
|
|
3189
|
+
*/
|
|
3190
|
+
currencyAddress: string;
|
|
3191
|
+
/**
|
|
3192
|
+
* Price against the native token of the primary currency pool
|
|
3193
|
+
*/
|
|
3194
|
+
priceInPoolToken: string;
|
|
3195
|
+
};
|
|
3196
|
+
/**
|
|
3197
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3198
|
+
*/
|
|
3199
|
+
marketCap: string;
|
|
3200
|
+
/**
|
|
3201
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
3202
|
+
*/
|
|
2728
3203
|
marketCapDelta24h: string;
|
|
2729
3204
|
/**
|
|
2730
3205
|
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
@@ -3819,6 +4294,10 @@ export type GetTrendsByNameResponses = {
|
|
|
3819
4294
|
200: {
|
|
3820
4295
|
trendsByName: {
|
|
3821
4296
|
pageInfo: {
|
|
4297
|
+
/**
|
|
4298
|
+
* When paginating forwards, are there more items?
|
|
4299
|
+
*/
|
|
4300
|
+
hasNextPage: boolean;
|
|
3822
4301
|
/**
|
|
3823
4302
|
* When paginating backwards, the cursor to continue.
|
|
3824
4303
|
*/
|
|
@@ -4089,6 +4568,264 @@ export type GetTrendsByNameResponses = {
|
|
|
4089
4568
|
export type GetTrendsByNameResponse =
|
|
4090
4569
|
GetTrendsByNameResponses[keyof GetTrendsByNameResponses];
|
|
4091
4570
|
|
|
4571
|
+
export type GetWalletTradeActivityData = {
|
|
4572
|
+
body?: never;
|
|
4573
|
+
path?: never;
|
|
4574
|
+
query: {
|
|
4575
|
+
identifier: string;
|
|
4576
|
+
after?: string;
|
|
4577
|
+
first?: number;
|
|
4578
|
+
};
|
|
4579
|
+
url: "/walletTradeActivity";
|
|
4580
|
+
};
|
|
4581
|
+
|
|
4582
|
+
export type GetWalletTradeActivityErrors = {
|
|
4583
|
+
/**
|
|
4584
|
+
* Bad request
|
|
4585
|
+
*/
|
|
4586
|
+
400: unknown;
|
|
4587
|
+
/**
|
|
4588
|
+
* Internal server error
|
|
4589
|
+
*/
|
|
4590
|
+
500: unknown;
|
|
4591
|
+
};
|
|
4592
|
+
|
|
4593
|
+
export type GetWalletTradeActivityResponses = {
|
|
4594
|
+
/**
|
|
4595
|
+
* Successful operation
|
|
4596
|
+
*/
|
|
4597
|
+
200: {
|
|
4598
|
+
walletAddressTradeActivity: {
|
|
4599
|
+
/**
|
|
4600
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
4601
|
+
*/
|
|
4602
|
+
count: number;
|
|
4603
|
+
edges: Array<{
|
|
4604
|
+
node: {
|
|
4605
|
+
/**
|
|
4606
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4607
|
+
*/
|
|
4608
|
+
transactionHash: string;
|
|
4609
|
+
/**
|
|
4610
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
4611
|
+
*/
|
|
4612
|
+
transactionLogIndex?: number;
|
|
4613
|
+
/**
|
|
4614
|
+
* Date with time (isoformat)
|
|
4615
|
+
*/
|
|
4616
|
+
blockTimestamp: string;
|
|
4617
|
+
/**
|
|
4618
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4619
|
+
*/
|
|
4620
|
+
coinAmount: string;
|
|
4621
|
+
coin?: {
|
|
4622
|
+
/**
|
|
4623
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
4624
|
+
*/
|
|
4625
|
+
platformBlocked: boolean;
|
|
4626
|
+
address: string;
|
|
4627
|
+
coinType: "CREATOR" | "CONTENT" | "TREND";
|
|
4628
|
+
/**
|
|
4629
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4630
|
+
*/
|
|
4631
|
+
name: string;
|
|
4632
|
+
/**
|
|
4633
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4634
|
+
*/
|
|
4635
|
+
symbol: string;
|
|
4636
|
+
/**
|
|
4637
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4638
|
+
*/
|
|
4639
|
+
description: string;
|
|
4640
|
+
/**
|
|
4641
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4642
|
+
*/
|
|
4643
|
+
tokenUri?: string;
|
|
4644
|
+
mediaContent?: {
|
|
4645
|
+
previewImage?: {
|
|
4646
|
+
/**
|
|
4647
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4648
|
+
*/
|
|
4649
|
+
small: string;
|
|
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
|
+
blurhash?: string;
|
|
4654
|
+
/**
|
|
4655
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4656
|
+
*/
|
|
4657
|
+
medium: string;
|
|
4658
|
+
};
|
|
4659
|
+
};
|
|
4660
|
+
creatorAddress?: string;
|
|
4661
|
+
creatorProfile?: {
|
|
4662
|
+
/**
|
|
4663
|
+
* The Globally Unique ID of this object
|
|
4664
|
+
*/
|
|
4665
|
+
id: string;
|
|
4666
|
+
/**
|
|
4667
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
4668
|
+
*/
|
|
4669
|
+
handle: string;
|
|
4670
|
+
/**
|
|
4671
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
4672
|
+
*/
|
|
4673
|
+
platformBlocked: boolean;
|
|
4674
|
+
avatar?: {
|
|
4675
|
+
previewImage: {
|
|
4676
|
+
/**
|
|
4677
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4678
|
+
*/
|
|
4679
|
+
blurhash?: string;
|
|
4680
|
+
/**
|
|
4681
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4682
|
+
*/
|
|
4683
|
+
medium: string;
|
|
4684
|
+
/**
|
|
4685
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4686
|
+
*/
|
|
4687
|
+
small: string;
|
|
4688
|
+
};
|
|
4689
|
+
};
|
|
4690
|
+
};
|
|
4691
|
+
uniswapPoolAddress: string;
|
|
4692
|
+
/**
|
|
4693
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4694
|
+
*/
|
|
4695
|
+
totalSupply: string;
|
|
4696
|
+
};
|
|
4697
|
+
/**
|
|
4698
|
+
* The Globally Unique ID of this object
|
|
4699
|
+
*/
|
|
4700
|
+
id: string;
|
|
4701
|
+
swapActivityType?: "BUY" | "SELL";
|
|
4702
|
+
currencyAmountWithPrice: {
|
|
4703
|
+
/**
|
|
4704
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4705
|
+
*/
|
|
4706
|
+
amountUsd?: string;
|
|
4707
|
+
/**
|
|
4708
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4709
|
+
*/
|
|
4710
|
+
priceUsdc?: string;
|
|
4711
|
+
/**
|
|
4712
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4713
|
+
*/
|
|
4714
|
+
priceDelta24h?: string;
|
|
4715
|
+
currencyAmount: {
|
|
4716
|
+
/**
|
|
4717
|
+
* Ethereum address of the currency
|
|
4718
|
+
*/
|
|
4719
|
+
currencyAddress: string;
|
|
4720
|
+
/**
|
|
4721
|
+
* Amount of the currency, in float format accounting for currency decimals
|
|
4722
|
+
*/
|
|
4723
|
+
amountDecimal: number;
|
|
4724
|
+
/**
|
|
4725
|
+
* Raw amount of the currency, in wei. Not formatted with decimals
|
|
4726
|
+
*/
|
|
4727
|
+
amountRaw: string;
|
|
4728
|
+
};
|
|
4729
|
+
};
|
|
4730
|
+
senderProfile?: {
|
|
4731
|
+
/**
|
|
4732
|
+
* The Globally Unique ID of this object
|
|
4733
|
+
*/
|
|
4734
|
+
id: string;
|
|
4735
|
+
/**
|
|
4736
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
4737
|
+
*/
|
|
4738
|
+
handle: string;
|
|
4739
|
+
/**
|
|
4740
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
4741
|
+
*/
|
|
4742
|
+
platformBlocked: boolean;
|
|
4743
|
+
avatar?: {
|
|
4744
|
+
previewImage: {
|
|
4745
|
+
/**
|
|
4746
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4747
|
+
*/
|
|
4748
|
+
blurhash?: string;
|
|
4749
|
+
/**
|
|
4750
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4751
|
+
*/
|
|
4752
|
+
medium: string;
|
|
4753
|
+
/**
|
|
4754
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4755
|
+
*/
|
|
4756
|
+
small: string;
|
|
4757
|
+
};
|
|
4758
|
+
};
|
|
4759
|
+
};
|
|
4760
|
+
/**
|
|
4761
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4762
|
+
*/
|
|
4763
|
+
orderId: string;
|
|
4764
|
+
/**
|
|
4765
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4766
|
+
*/
|
|
4767
|
+
initialBuyAmount?: string;
|
|
4768
|
+
/**
|
|
4769
|
+
* The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).
|
|
4770
|
+
*/
|
|
4771
|
+
initialBuyAmountUsd?: number;
|
|
4772
|
+
/**
|
|
4773
|
+
* The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.
|
|
4774
|
+
*/
|
|
4775
|
+
multiplier: number;
|
|
4776
|
+
makerProfile?: {
|
|
4777
|
+
/**
|
|
4778
|
+
* The Globally Unique ID of this object
|
|
4779
|
+
*/
|
|
4780
|
+
id: string;
|
|
4781
|
+
/**
|
|
4782
|
+
* Manually set username, or truncated wallet address if the profile isn't a GraphQLAccountProfile. For full wallet address, use the profile_id field instead.
|
|
4783
|
+
*/
|
|
4784
|
+
handle: string;
|
|
4785
|
+
/**
|
|
4786
|
+
* The `Boolean` scalar type represents `true` or `false`.
|
|
4787
|
+
*/
|
|
4788
|
+
platformBlocked: boolean;
|
|
4789
|
+
avatar?: {
|
|
4790
|
+
previewImage: {
|
|
4791
|
+
/**
|
|
4792
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4793
|
+
*/
|
|
4794
|
+
blurhash?: string;
|
|
4795
|
+
/**
|
|
4796
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4797
|
+
*/
|
|
4798
|
+
medium: string;
|
|
4799
|
+
/**
|
|
4800
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4801
|
+
*/
|
|
4802
|
+
small: string;
|
|
4803
|
+
};
|
|
4804
|
+
};
|
|
4805
|
+
};
|
|
4806
|
+
};
|
|
4807
|
+
/**
|
|
4808
|
+
* The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.
|
|
4809
|
+
*/
|
|
4810
|
+
cursor: string;
|
|
4811
|
+
}>;
|
|
4812
|
+
pageInfo: {
|
|
4813
|
+
/**
|
|
4814
|
+
* When paginating forwards, the cursor to continue.
|
|
4815
|
+
*/
|
|
4816
|
+
endCursor?: string;
|
|
4817
|
+
/**
|
|
4818
|
+
* When paginating forwards, are there more items?
|
|
4819
|
+
*/
|
|
4820
|
+
hasNextPage: boolean;
|
|
4821
|
+
};
|
|
4822
|
+
};
|
|
4823
|
+
};
|
|
4824
|
+
};
|
|
4825
|
+
|
|
4826
|
+
export type GetWalletTradeActivityResponse =
|
|
4827
|
+
GetWalletTradeActivityResponses[keyof GetWalletTradeActivityResponses];
|
|
4828
|
+
|
|
4092
4829
|
export type PostQuoteData = {
|
|
4093
4830
|
body?: {
|
|
4094
4831
|
referrer?: string;
|
|
@@ -4127,10 +4864,26 @@ export type PostQuoteData = {
|
|
|
4127
4864
|
|
|
4128
4865
|
export type PostQuoteErrors = {
|
|
4129
4866
|
/**
|
|
4130
|
-
*
|
|
4867
|
+
* Liquidity error — not enough pool liquidity for the requested trade
|
|
4868
|
+
*/
|
|
4869
|
+
422: {
|
|
4870
|
+
success: "false";
|
|
4871
|
+
error: string;
|
|
4872
|
+
/**
|
|
4873
|
+
* The type of error. LIQUIDITY indicates insufficient pool liquidity for the requested trade.
|
|
4874
|
+
*/
|
|
4875
|
+
errorType: "LIQUIDITY" | "UNKNOWN";
|
|
4876
|
+
};
|
|
4877
|
+
/**
|
|
4878
|
+
* Server error
|
|
4131
4879
|
*/
|
|
4132
4880
|
500: {
|
|
4133
|
-
|
|
4881
|
+
success: "false";
|
|
4882
|
+
error: string;
|
|
4883
|
+
/**
|
|
4884
|
+
* The type of error. LIQUIDITY indicates insufficient pool liquidity for the requested trade.
|
|
4885
|
+
*/
|
|
4886
|
+
errorType: "LIQUIDITY" | "UNKNOWN";
|
|
4134
4887
|
};
|
|
4135
4888
|
};
|
|
4136
4889
|
|