add v5 leverage token and spot margin endpoints
This commit is contained in:
@@ -14,3 +14,4 @@ export * from './v5-market';
|
||||
export * from './v5-position';
|
||||
export * from './v5-trade';
|
||||
export * from './v5-user';
|
||||
export * from './v5-spot-leverage-token';
|
||||
|
||||
23
src/types/request/v5-spot-leverage-token.ts
Normal file
23
src/types/request/v5-spot-leverage-token.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { LTOrderTypeV5 } from '../v5-shared';
|
||||
|
||||
export interface PurchaseSpotLeveragedTokenParamsV5 {
|
||||
ltCoin: string;
|
||||
ltAmount: string;
|
||||
serialNo?: string;
|
||||
}
|
||||
|
||||
export interface RedeemSpotLeveragedTokenParamsV5 {
|
||||
ltCoin: string;
|
||||
quantity: string;
|
||||
serialNo?: string;
|
||||
}
|
||||
|
||||
export interface GetSpotLeveragedTokenOrderHistoryParamsV5 {
|
||||
ltCoin?: string;
|
||||
orderId?: string;
|
||||
startTime?: number;
|
||||
endTime?: number;
|
||||
limit?: number;
|
||||
ltOrderType?: LTOrderTypeV5;
|
||||
serialNo?: string;
|
||||
}
|
||||
Reference in New Issue
Block a user