add v5 leverage token and spot margin endpoints
This commit is contained in:
@@ -10,3 +10,4 @@ export * from './v5-market';
|
||||
export * from './v5-position';
|
||||
export * from './v5-trade';
|
||||
export * from './v5-user';
|
||||
export * from './v5-spot-leverage-token';
|
||||
|
||||
70
src/types/response/v5-spot-leverage-token.ts
Normal file
70
src/types/response/v5-spot-leverage-token.ts
Normal file
@@ -0,0 +1,70 @@
|
||||
import {
|
||||
LeverageTokenStatusV5,
|
||||
LTOrderStatusV5,
|
||||
LTOrderTypeV5,
|
||||
} from '../v5-shared';
|
||||
|
||||
export interface LeverageTokenInfoV5 {
|
||||
ltCoin: string;
|
||||
ltName: string;
|
||||
maxPurchase: string;
|
||||
minPurchase: string;
|
||||
maxPurchaseDaily: string;
|
||||
maxRedeem: string;
|
||||
minRedeem: string;
|
||||
maxRedeemDaily: string;
|
||||
purchaseFeeRate: string;
|
||||
redeemFeeRate: string;
|
||||
ltStatus: LeverageTokenStatusV5;
|
||||
fundFee: string;
|
||||
fundFeeTime: string;
|
||||
manageFeeRate: string;
|
||||
manageFeeTime: string;
|
||||
value: string;
|
||||
netValue: string;
|
||||
total: string;
|
||||
}
|
||||
|
||||
export interface LeveragedTokenMarketResultV5 {
|
||||
ltCoin: string;
|
||||
nav: string;
|
||||
navTime: string;
|
||||
circulation: string;
|
||||
basket: string;
|
||||
leverage: string;
|
||||
}
|
||||
|
||||
export interface PurchaseSpotLeveragedTokenResultV5 {
|
||||
ltCoin: string;
|
||||
ltOrderStatus: LTOrderStatusV5;
|
||||
execQty: string;
|
||||
execAmt: string;
|
||||
amount: string;
|
||||
purchaseId: string;
|
||||
serialNo: string;
|
||||
valueCoin: string;
|
||||
}
|
||||
export interface RedeemSpotLeveragedTokenResultV5 {
|
||||
ltCoin: string;
|
||||
ltOrderStatus: LTOrderStatusV5;
|
||||
quantity: string;
|
||||
execQty: string;
|
||||
execAmt: string;
|
||||
redeemId: string;
|
||||
serialNo: string;
|
||||
valueCoin: string;
|
||||
}
|
||||
|
||||
export interface SpotLeveragedTokenOrderHistoryV5 {
|
||||
ltCoin: string;
|
||||
orderId: string;
|
||||
ltOrderType: LTOrderTypeV5;
|
||||
orderTime: number;
|
||||
updateTime: number;
|
||||
ltOrderStatus: LTOrderStatusV5;
|
||||
fee: string;
|
||||
amount: string;
|
||||
value: string;
|
||||
valueCoin: string;
|
||||
serialNo: string;
|
||||
}
|
||||
Reference in New Issue
Block a user