@exchanges/binance
Version:
Exchange provider for Binance API
24 lines (23 loc) • 737 B
TypeScript
import { BinanceSignedClient } from '../../../clients';
import { spot } from '../../../info';
export interface WithdrawHistoryPayload {
coin?: string;
status?: spot.WithdrawHistoryStatusEnum;
offset?: number;
limit?: number;
startTime?: Date | number;
endTime?: Date | number;
}
export interface WithdrawHistoryResponse {
address: string;
amount: number;
applyTime: Date;
coin: string;
id: string;
withdrawOrderId: string;
network: string;
transferType: spot.TransferTypeEnum;
status: spot.WithdrawHistoryStatusEnum;
txId: string;
}
export declare function withdrawHistory(client: BinanceSignedClient, payload?: WithdrawHistoryPayload): Promise<WithdrawHistoryResponse[]>;