UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

9 lines (8 loc) 299 B
import { BinanceSignedClient } from '../../../clients'; export interface SwapPayload { quoteAsset: string; baseAsset: string; quoteQty: number; } export declare type SwapResponse = number; export declare function swap(client: BinanceSignedClient, payload: SwapPayload): Promise<number>;