@sui-tracker/shared 1.1.9 → 1.1.10
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.
|
@@ -397,7 +397,12 @@ export interface MarketData {
|
|
|
397
397
|
}
|
|
398
398
|
export interface GetMarketsByTokenRequest {
|
|
399
399
|
tokenAddress: string;
|
|
400
|
+
page?: number;
|
|
401
|
+
limit?: number;
|
|
400
402
|
}
|
|
401
403
|
export interface GetMarketsByTokenResponse extends BaseResponse {
|
|
402
|
-
data:
|
|
404
|
+
data: {
|
|
405
|
+
list: MarketData[];
|
|
406
|
+
total: number;
|
|
407
|
+
};
|
|
403
408
|
}
|
|
@@ -514,10 +514,16 @@ message MarketData {
|
|
|
514
514
|
|
|
515
515
|
message GetMarketsByTokenRequest {
|
|
516
516
|
string tokenAddress = 1;
|
|
517
|
+
int32 page = 2;
|
|
518
|
+
int32 limit = 3;
|
|
517
519
|
}
|
|
518
520
|
|
|
519
521
|
message GetMarketsByTokenResponse {
|
|
522
|
+
message Data {
|
|
523
|
+
repeated MarketData list = 1;
|
|
524
|
+
int32 total = 2;
|
|
525
|
+
}
|
|
520
526
|
bool success = 1;
|
|
521
527
|
string message = 2;
|
|
522
|
-
|
|
528
|
+
Data data = 3;
|
|
523
529
|
}
|