UNPKG

@exchanges/binance

Version:

Exchange provider for Binance API

13 lines (12 loc) 358 B
import { AxiosInstance } from 'axios'; export interface PublicCallOptions { axios: AxiosInstance; host: string; path: string; method: 'GET' | 'POST' | 'DELETE' | 'PUT'; data?: { [name: string]: any; }; headers?: HeadersInit; } export declare function publicCall<TResponse>(options: PublicCallOptions): Promise<TResponse>;