@sui-tracker/shared 1.0.60 → 1.0.61
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.
|
@@ -35,6 +35,7 @@ export interface PoolDataDetail {
|
|
|
35
35
|
reserveA?: number;
|
|
36
36
|
reserveB?: number;
|
|
37
37
|
currentPrice: string;
|
|
38
|
+
poolCreatedTime?: Date;
|
|
38
39
|
dex: string;
|
|
39
40
|
statsData: {
|
|
40
41
|
volume: {
|
|
@@ -64,9 +65,13 @@ export interface CandleData {
|
|
|
64
65
|
}
|
|
65
66
|
export interface GetTrendingPoolsRequest {
|
|
66
67
|
label: number;
|
|
68
|
+
page?: number;
|
|
69
|
+
limit?: number;
|
|
67
70
|
}
|
|
68
71
|
export interface GetNewPoolsRequest {
|
|
69
72
|
label: number;
|
|
73
|
+
page?: number;
|
|
74
|
+
limit?: number;
|
|
70
75
|
}
|
|
71
76
|
export interface GetPoolRequest {
|
|
72
77
|
id: string;
|
|
@@ -80,10 +85,10 @@ export interface GetCandleChartRequest {
|
|
|
80
85
|
type?: 'usd' | 'token';
|
|
81
86
|
}
|
|
82
87
|
export interface GetTrendingPoolsResponse extends BaseResponse {
|
|
83
|
-
data:
|
|
88
|
+
data: PoolDataDetail[];
|
|
84
89
|
}
|
|
85
90
|
export interface GetNewPoolsResponse extends BaseResponse {
|
|
86
|
-
data:
|
|
91
|
+
data: PoolDataDetail[];
|
|
87
92
|
}
|
|
88
93
|
export interface GetPoolResponse extends BaseResponse {
|
|
89
94
|
data: PoolDataDetail | null;
|
|
@@ -62,8 +62,9 @@ message PoolDataDetail {
|
|
|
62
62
|
optional double reserveA = 5;
|
|
63
63
|
optional double reserveB = 6;
|
|
64
64
|
string currentPrice = 7;
|
|
65
|
-
string
|
|
66
|
-
|
|
65
|
+
string poolCreatedTime = 8;
|
|
66
|
+
string dex = 9;
|
|
67
|
+
StatsData statsData = 10;
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
// Candle data structure matching CandleData interface
|
|
@@ -114,10 +115,14 @@ message TrendingTokenData {
|
|
|
114
115
|
// Request messages matching TypeScript interfaces
|
|
115
116
|
message GetTrendingPoolsRequest {
|
|
116
117
|
int32 label = 1; // 5 | 60 | 360 | 1440
|
|
118
|
+
optional int32 page = 2;
|
|
119
|
+
optional int32 limit = 3;
|
|
117
120
|
}
|
|
118
121
|
|
|
119
122
|
message GetNewPoolsRequest {
|
|
120
123
|
int32 label = 1; // 5 | 60 | 360 | 1440
|
|
124
|
+
optional int32 page = 2;
|
|
125
|
+
optional int32 limit = 3;
|
|
121
126
|
}
|
|
122
127
|
|
|
123
128
|
message GetPoolRequest {
|
|
@@ -158,13 +163,13 @@ message GetTokensRequest {
|
|
|
158
163
|
message GetTrendingPoolsResponse {
|
|
159
164
|
bool success = 1;
|
|
160
165
|
string message = 2;
|
|
161
|
-
repeated
|
|
166
|
+
repeated PoolDataDetail data = 3;
|
|
162
167
|
}
|
|
163
168
|
|
|
164
169
|
message GetNewPoolsResponse {
|
|
165
170
|
bool success = 1;
|
|
166
171
|
string message = 2;
|
|
167
|
-
repeated
|
|
172
|
+
repeated PoolDataDetail data = 3;
|
|
168
173
|
}
|
|
169
174
|
|
|
170
175
|
message GetPoolResponse {
|