UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

21 lines (20 loc) 633 B
import { BinanceSignedClient } from '../../../clients'; import { coinM } from '../../../info'; export interface GetIncomeHistoryPayload { symbol?: string; incomeType?: coinM.IncomeType; startTime?: Date | number; endTime?: Date | number; limit?: number; } export interface GetIncomeHistoryResponse { symbol: string; incomeType: coinM.IncomeType; income: number; asset: string; info: string; time: Date; tranId: string; tradeId: string; } export declare function getIncomeHistory(client: BinanceSignedClient, payload?: GetIncomeHistoryPayload): Promise<GetIncomeHistoryResponse[]>;