@uniswap/client-data-api 0.0.176 → 0.0.177

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.
@@ -562,6 +562,21 @@ export declare class GetTokenTradesRequest extends Message<GetTokenTradesRequest
562
562
  * @generated from field: optional string wallet = 3;
563
563
  */
564
564
  wallet?: string;
565
+ /**
566
+ * Minimum trade size: keep only trades whose amount_usd is >= this
567
+ * threshold. Trades with no known USD amount are excluded when set (they
568
+ * cannot be proven to clear the bar). Omitted or 0 = no filtering; negative
569
+ * or non-finite values are rejected. Applied before the page cut, so a page
570
+ * holds up to page_size MATCHING trades — but the server bounds how far it
571
+ * scans per request, so a page may come back short of page_size while
572
+ * next_page_token is still set; presence of next_page_token, not page
573
+ * fullness, signals more data under this filter. Like wallet, page_token
574
+ * carries only a keyset position — the client must resend the same
575
+ * min_amount_usd on every page.
576
+ *
577
+ * @generated from field: optional double min_amount_usd = 4;
578
+ */
579
+ minAmountUsd?: number;
565
580
  constructor(data?: PartialMessage<GetTokenTradesRequest>);
566
581
  static readonly runtime: typeof proto3;
567
582
  static readonly typeName = "data.v2.GetTokenTradesRequest";
@@ -683,6 +683,7 @@ GetTokenTradesRequest.fields = proto3.util.newFieldList(() => [
683
683
  { no: 1, name: "token", kind: "message", T: TokenIdentifier },
684
684
  { no: 2, name: "page", kind: "message", T: PageRequest, opt: true },
685
685
  { no: 3, name: "wallet", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
686
+ { no: 4, name: "min_amount_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
686
687
  ]);
687
688
  /**
688
689
  * @generated from message data.v2.GetTokenTradesResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.176",
3
+ "version": "0.0.177",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },