bitmart-api
Version:
Complete & robust Node.js SDK for BitMart's REST APIs and WebSockets, with TypeScript declarations.
18 lines (17 loc) • 377 B
TypeScript
export interface APIResponse<TData = {}, TCode = number> {
message: string;
code: TCode;
trace: string;
data: TData;
}
export type OrderSide = 'buy' | 'sell';
/**
* Spot & Futures uses this
*/
export interface AccountCurrencyBalanceV1 {
currency: string;
name: string;
available: string;
available_usd_valuation: string;
frozen: string;
}