@rabby-wallet/rabby-api 0.9.55-beta.6 → 0.9.55-beta.7
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.
- package/dist/index.d.ts +7 -1
- package/dist/index.js +8 -2
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -929,7 +929,13 @@ export declare class OpenApiService {
|
|
|
929
929
|
}) => Promise<{
|
|
930
930
|
has_permission: boolean;
|
|
931
931
|
}>;
|
|
932
|
-
|
|
932
|
+
/**
|
|
933
|
+
* @param params.dex_id - The ID of the DEX to get the top tokens for. If not provided, hyperliquid default DEXs will be included. if all is provided, all DEXs will be included. and xyz is xyz dex tokens
|
|
934
|
+
* @returns A list of top tokens for the given DEX.
|
|
935
|
+
*/
|
|
936
|
+
getPerpTopTokenList: (params: {
|
|
937
|
+
dex_id?: string;
|
|
938
|
+
}) => Promise<PerpTopToken[]>;
|
|
933
939
|
getPerpsBridgeIsSupportToken: (params: {
|
|
934
940
|
token_id: string;
|
|
935
941
|
chain_id: string;
|
package/dist/index.js
CHANGED
|
@@ -1303,8 +1303,14 @@ export class OpenApiService {
|
|
|
1303
1303
|
});
|
|
1304
1304
|
return data;
|
|
1305
1305
|
});
|
|
1306
|
-
|
|
1307
|
-
|
|
1306
|
+
/**
|
|
1307
|
+
* @param params.dex_id - The ID of the DEX to get the top tokens for. If not provided, hyperliquid default DEXs will be included. if all is provided, all DEXs will be included. and xyz is xyz dex tokens
|
|
1308
|
+
* @returns A list of top tokens for the given DEX.
|
|
1309
|
+
*/
|
|
1310
|
+
this.getPerpTopTokenList = (params) => __awaiter(this, void 0, void 0, function* () {
|
|
1311
|
+
const { data } = yield this.request.get('/v1/token/hyperliquid_top', {
|
|
1312
|
+
params,
|
|
1313
|
+
});
|
|
1308
1314
|
return data;
|
|
1309
1315
|
});
|
|
1310
1316
|
this.getPerpsBridgeIsSupportToken = (params) => __awaiter(this, void 0, void 0, function* () {
|
package/dist/types.d.ts
CHANGED