@yoroi/types
Version:
The Yoroi Types package of Yoroi SDK
16 lines (14 loc) • 406 B
Flow
/**
* Flowtype definitions for api
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { AxiosRequestConfig } from "axios";
import { ExchangeProvider } from "./provider";
export interface ExchangeApi {
getBaseUrl(
providerId: string,
fetcherOptions?: AxiosRequestConfig
): Promise<string>;
getProviders(): Promise<{ [key: string]: ExchangeProvider, ... }>;
}