UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

9 lines (8 loc) 364 B
import type { AxiosInstance } from 'axios'; export interface Proxy { host: string; port: number; login?: string; password?: string; } export declare function requestProxyInterceptor(getProxies: (Proxy | string)[] | (() => (Proxy | string)[] | Promise<(Proxy | string)[]>), proxyMaxRequestAttempt?: number): (instance: AxiosInstance) => () => void;