@uniswap/client-data-api 0.0.167 → 0.0.168

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.
@@ -409,7 +409,8 @@ export declare enum TradeSide {
409
409
  SELL = 2
410
410
  }
411
411
  /**
412
- * Volume, TVL, FDV, and price-change stats for a ranked token. All values are USD-denominated.
412
+ * Volume, TVL, FDV, market-cap, and price-change stats for a ranked token.
413
+ * All values are USD-denominated.
413
414
  * All fields are populated from Clickhouse aggregations.
414
415
  *
415
416
  * @generated from message data.v2.TokenRankStats
@@ -467,6 +468,15 @@ export declare class TokenRankStats extends Message<TokenRankStats> {
467
468
  * @generated from field: optional double price = 11;
468
469
  */
469
470
  price?: number;
471
+ /**
472
+ * price * circulating supply (chain_token_stats.market_cap_usd). Like fdv,
473
+ * not additive across a multichain group's members: the canonical chain's
474
+ * value. Unset where the pipeline has no circulating-supply source, and
475
+ * unset for Solana (no Codex source wired here).
476
+ *
477
+ * @generated from field: optional double market_cap = 12;
478
+ */
479
+ marketCap?: number;
470
480
  constructor(data?: PartialMessage<TokenRankStats>);
471
481
  static readonly runtime: typeof proto3;
472
482
  static readonly typeName = "data.v2.TokenRankStats";
@@ -530,7 +530,8 @@ proto3.util.setEnumType(TradeSide, "data.v2.TradeSide", [
530
530
  { no: 2, name: "TRADE_SIDE_SELL" },
531
531
  ]);
532
532
  /**
533
- * Volume, TVL, FDV, and price-change stats for a ranked token. All values are USD-denominated.
533
+ * Volume, TVL, FDV, market-cap, and price-change stats for a ranked token.
534
+ * All values are USD-denominated.
534
535
  * All fields are populated from Clickhouse aggregations.
535
536
  *
536
537
  * @generated from message data.v2.TokenRankStats
@@ -567,6 +568,7 @@ TokenRankStats.fields = proto3.util.newFieldList(() => [
567
568
  { no: 9, name: "price_change_1h", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
568
569
  { no: 10, name: "price_change_1d", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
569
570
  { no: 11, name: "price", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
571
+ { no: 12, name: "market_cap", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
570
572
  ]);
571
573
  /**
572
574
  * Sort field and direction for ListTokens.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.167",
3
+ "version": "0.0.168",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },