@exchanges/binance
Version:
Exchange provider for Binance API
23 lines (22 loc) • 774 B
TypeScript
import { BinanceSignedClient } from '../../../clients';
import { spot } from '../../../info';
export interface SubAccountTransferHistoryPayload {
asset?: string;
type?: spot.SubAccountTransferTypeEnum;
startTime?: Date | number;
endTime?: Date | number;
limit?: number;
}
export interface SubAccountTransferHistoryResponse {
counterParty: 'master' | 'subAccount';
email: string;
type: spot.SubAccountTransferTypeEnum;
asset: string;
quantity: number;
fromAccountType: string;
toAccountType: string;
status: string;
tranId: number;
time: Date;
}
export declare function subAccountTransferHistory(client: BinanceSignedClient, payload: SubAccountTransferHistoryPayload): Promise<SubAccountTransferHistoryResponse[]>;