@exchanges/binance
Version:
Exchange provider for Binance API
23 lines (22 loc) • 740 B
TypeScript
import { BinanceSignedClient } from '../../../clients';
import { XOR } from '../../../info';
export declare type QuerySubAccountSpotAssetTransferHistoryPayload = XOR<{
fromEmail?: string;
}, {
toEmail?: string;
}> & {
startTime?: Date | number;
endTime?: Date | number;
page?: number;
limit?: number;
};
export interface QuerySubAccountSpotAssetTransferHistoryResponse {
from: string;
to: string;
asset: string;
quantity: number;
status: string;
tranId: number;
time: Date;
}
export declare function querySubAccountSpotAssetTransferHistory(client: BinanceSignedClient, payload?: QuerySubAccountSpotAssetTransferHistoryPayload): Promise<QuerySubAccountSpotAssetTransferHistoryResponse[]>;