add v5 account rest endpoints
This commit is contained in:
@@ -8,6 +8,7 @@ export * from './usdc-perp';
|
||||
export * from './usdc-options';
|
||||
export * from './usdc-shared';
|
||||
export * from './unified-margin';
|
||||
export * from './v5-account';
|
||||
export * from './v5-market';
|
||||
export * from './v5-position';
|
||||
export * from './v5-trade';
|
||||
|
||||
34
src/types/request/v5-account.ts
Normal file
34
src/types/request/v5-account.ts
Normal file
@@ -0,0 +1,34 @@
|
||||
import { AccountTypeV5, CategoryV5, TransactionTypeV5 } from '../v5-shared';
|
||||
|
||||
export interface GetWalletBalanceParamsV5 {
|
||||
accountType: AccountTypeV5;
|
||||
coin?: string;
|
||||
}
|
||||
|
||||
export interface GetBorrowHistoryParamsV5 {
|
||||
currency?: string;
|
||||
startTime?: number;
|
||||
endTime?: number;
|
||||
limit?: number;
|
||||
cursor?: string;
|
||||
}
|
||||
|
||||
export interface GetTransactionLogParamsV5 {
|
||||
accountType?: AccountTypeV5;
|
||||
category?: CategoryV5;
|
||||
currency?: string;
|
||||
baseCoin?: string;
|
||||
type?: TransactionTypeV5;
|
||||
startTime?: number;
|
||||
endTime?: number;
|
||||
limit?: number;
|
||||
cursor?: string;
|
||||
}
|
||||
|
||||
export interface MMPModifyParamsV5 {
|
||||
baseCoin: string;
|
||||
window: string;
|
||||
frozenPeriod: string;
|
||||
qtyLimit: string;
|
||||
deltaLimit: string;
|
||||
}
|
||||
Reference in New Issue
Block a user