@exchanges/binance
Version:
Exchange provider for Binance API
21 lines (20 loc) • 624 B
TypeScript
import { BinanceSignedClient } from '../../../clients';
import { spot } from '../../../info';
export interface AccountInformationResponse {
makerCommission: number;
takerCommission: number;
buyerCommission: number;
sellerCommission: number;
canTrade: boolean;
canWithdraw: boolean;
canDeposit: boolean;
updateTime: Date;
accountType: 'SPOT';
balances: {
asset: string;
free: number;
locked: number;
}[];
permissions: spot.PermissionType[];
}
export declare function accountInformation(client: BinanceSignedClient): Promise<AccountInformationResponse>;