gateio-api
Version:
Complete & Robust Node.js SDK for Gate.com's REST APIs, WebSockets & WebSocket APIs, with TypeScript declarations.
33 lines (32 loc) • 944 B
TypeScript
/**==========================================================================================================================
* FLASH SWAP
* ==========================================================================================================================
*/
export interface FlashSwapCurrencyPair {
currency_pair: string;
sell_currency: string;
buy_currency: string;
sell_min_amount: string;
sell_max_amount: string;
buy_min_amount: string;
buy_max_amount: string;
}
export interface FlashSwapOrder {
id: number;
create_time: number;
user_id: number;
sell_currency: string;
sell_amount: string;
buy_currency: string;
buy_amount: string;
price: string;
status: number;
}
export interface SubmitFlashSwapOrderPreviewResp {
preview_id: string;
sell_currency: string;
sell_amount: string;
buy_currency: string;
buy_amount: string;
price: string;
}