@tapline/client 0.2.22 → 0.2.23

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.
@@ -41,19 +41,6 @@ export interface ApprovedCreatorParams {
41
41
  /** Coin address: a Solana mint or an EVM token (0x). */
42
42
  mint: string;
43
43
  }
44
- export interface AthBatchRequest {
45
- /** Coin addresses (Solana mints or EVM tokens), 1 to 100. */
46
- mints: string[];
47
- }
48
- export type AthCurrency = "USD" | "SOL" | "BASE" | "QUOTE";
49
- export interface AthParams {
50
- /** Coin address: a Solana mint or an EVM token (0x). */
51
- mint: string;
52
- /** Quote currency. */
53
- currency?: AthCurrency;
54
- /** Chain of the coin. Omit for a Solana pump.fun coin, the original behaviour; set it for an EVM token or to pin a coin to one chain. */
55
- chain?: TokenChain | null;
56
- }
57
44
  export interface Attachment {
58
45
  key: string;
59
46
  url: string;
@@ -654,14 +641,6 @@ export interface CoinSocial {
654
641
  }
655
642
  export type CoinSort = "created_timestamp" | "market_cap" | "ath_market_cap" | "reply_count" | "last_reply" | "last_trade_timestamp";
656
643
  export type CoinSortDirection = "ASC" | "DESC";
657
- export interface CoinTimelineParams {
658
- /** Coin address: a Solana mint or an EVM token (0x). */
659
- mint: string;
660
- /** Maximum timeline events to return. */
661
- limit?: number;
662
- /** `nextCursor` from the previous page; omit for the first page. */
663
- cursor?: string | null;
664
- }
665
644
  export interface CoinTopCalloutsParams {
666
645
  /** Coin address: a Solana mint or an EVM token (0x). */
667
646
  mint: string;
@@ -1053,14 +1032,6 @@ export interface FeeDetail {
1053
1032
  cashback: CostBasis;
1054
1033
  }
1055
1034
  export type FeePeriod = "1d" | "7d" | "30d";
1056
- export interface FeeSharingSharesParams {
1057
- /** Solana wallet address. pump.fun refuses EVM wallets here. */
1058
- address: string;
1059
- /** Maximum shares to return. */
1060
- limit?: number;
1061
- /** Cursor from a previous page. */
1062
- cursor?: string;
1063
- }
1064
1035
  export interface FeeSharingTotalsParams {
1065
1036
  /** Wallet address, Solana or EVM (0x). */
1066
1037
  address: string;
@@ -1074,10 +1045,6 @@ export interface Finishe {
1074
1045
  rank: number;
1075
1046
  periodStart: string;
1076
1047
  }
1077
- export interface FirstTradeParams {
1078
- /** Coin address: a Solana mint or an EVM token (0x). */
1079
- mint: string;
1080
- }
1081
1048
  export interface Firstappearance {
1082
1049
  periodLabel: string;
1083
1050
  periodType: number;
@@ -1140,10 +1107,6 @@ export interface GetAchievementCatalogResponse {
1140
1107
  export interface GetApprovedCreatorResponse {
1141
1108
  isApprovedCreator: boolean;
1142
1109
  }
1143
- export type GetAthBatchResponse = Record<string, GetAthResponse>;
1144
- export interface GetAthResponse {
1145
- athMarketCap: number | string;
1146
- }
1147
1110
  export type GetBanStatusResponse = boolean | Record<string, unknown> | null;
1148
1111
  export interface GetBountyFeedRecentResponse {
1149
1112
  items: Item[];
@@ -1445,19 +1408,6 @@ export interface GetCoinResponse {
1445
1408
  is_backfill?: boolean;
1446
1409
  telegram?: string;
1447
1410
  }
1448
- export interface GetCoinTimelineResponse {
1449
- items: GetCoinTimelineResponseItem[];
1450
- pagination: PageCursor;
1451
- }
1452
- export interface GetCoinTimelineResponseItem {
1453
- eventType: string;
1454
- timestamp: string;
1455
- creator?: string;
1456
- shareholders?: ItemShareholder[];
1457
- tx?: string;
1458
- totalDistributed?: string;
1459
- recipients?: ItemRecipient[];
1460
- }
1461
1411
  export interface GetCoinTopCalloutsResponse {
1462
1412
  callouts: GetMintPositionsResponsePosition[];
1463
1413
  totalCount: number;
@@ -1490,34 +1440,6 @@ export interface GetCreatorFeesResponse {
1490
1440
  series: Series[];
1491
1441
  claimable?: SeriesEarned;
1492
1442
  }
1493
- export interface GetFeeSharingSharesResponse {
1494
- items: GetFeeSharingSharesResponseItem[];
1495
- pagination: PageCursor;
1496
- }
1497
- export interface GetFeeSharingSharesResponseItem {
1498
- mint: string;
1499
- bps: number;
1500
- isAdmin: boolean;
1501
- sharingConfig: string;
1502
- poolAddress: string | null;
1503
- }
1504
- export interface GetFirstTradeResponse {
1505
- slotIndexId: string;
1506
- tx: string;
1507
- timestamp: string;
1508
- userAddress: string;
1509
- type: string;
1510
- program: string;
1511
- priceUsd: string;
1512
- priceSol: string;
1513
- amountUsd: string;
1514
- amountSol: string;
1515
- baseAmount: string;
1516
- quoteAmount: string;
1517
- fillPriceUsd: string;
1518
- fillPriceSol: string;
1519
- isDevBuy: boolean;
1520
- }
1521
1443
  export interface GetFollowSuggestionsResponse {
1522
1444
  entries: Entry[];
1523
1445
  periodLabel: string;
@@ -1750,13 +1672,13 @@ export interface GetMarketActivityResponse {
1750
1672
  export interface GetMarketActivityResponse5m {
1751
1673
  numTxs: number;
1752
1674
  volumeUSD: number;
1753
- numUsers: number;
1675
+ numUsers: number | null;
1754
1676
  numBuys: number;
1755
1677
  numSells: number;
1756
1678
  buyVolumeUSD: number;
1757
1679
  sellVolumeUSD: number;
1758
- numBuyers: number;
1759
- numSellers: number;
1680
+ numBuyers: number | null;
1681
+ numSellers: number | null;
1760
1682
  priceChangePercent: number;
1761
1683
  }
1762
1684
  export interface GetMayhemCoinTopTradersResponse {
@@ -2830,11 +2752,6 @@ export interface Item {
2830
2752
  parentBounty: Parentbounty;
2831
2753
  submission: Submission;
2832
2754
  }
2833
- export interface ItemRecipient {
2834
- address: string;
2835
- shareBps: number;
2836
- amount: string;
2837
- }
2838
2755
  export interface ItemResolution {
2839
2756
  firstPublishAt?: string;
2840
2757
  moderatorAddress: string;
@@ -2855,10 +2772,6 @@ export interface ItemResolutionhistory {
2855
2772
  decisionVersion: number;
2856
2773
  winners?: BountyResolutionHistoryWinner[];
2857
2774
  }
2858
- export interface ItemShareholder {
2859
- address: string;
2860
- shareBps: number;
2861
- }
2862
2775
  export interface ItemSubmission {
2863
2776
  submissionId: string;
2864
2777
  taskId: string;
@@ -3525,11 +3438,6 @@ export interface Page {
3525
3438
  to: number | null;
3526
3439
  limit: number;
3527
3440
  }
3528
- export interface PageCursor {
3529
- nextCursor: string | null;
3530
- hasMore: boolean;
3531
- limit: number;
3532
- }
3533
3441
  export interface Parentbounty {
3534
3442
  taskId: string;
3535
3443
  creatorAddress: string;