UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

28 lines (27 loc) 888 B
import { BinanceSignedClient } from '../../../clients'; import { spot, XOR } from '../../../info'; export declare type QueryUniversalTransferHistoryPayload = XOR<{ fromEmail?: string; }, { toEmail?: string; }> & { startTime?: Date | number; endTime?: Date | number; page?: number; limit?: number; }; export interface QueryUniversalTransferHistoryResponse { totalCount: number; result: { tranId: number; fromEmail: string; toEmail: string; asset: string; amount: number; fromAccountType: spot.TransferAccountType; toAccountType: spot.TransferAccountType; status: string; createTimeStamp: Date; }[]; } export declare function queryUniversalTransferHistory(client: BinanceSignedClient, payload?: QueryUniversalTransferHistoryPayload): Promise<QueryUniversalTransferHistoryResponse>;