UNPKG

nowpayments-api-typescript

Version:
13 lines (12 loc) 478 B
import { IGetEstimatePrice, IError } from './../interfaces'; export interface GetEstimatePriceResponse { currency_from: string; amount_from: number; currency_to: string; estimated_amount: number; } export interface GetEstimatePrice extends IGetEstimatePrice { apiKey: string; } declare const getEstimatePrice: ({ apiKey, amount, currency_from, currency_to, }: GetEstimatePrice) => Promise<GetEstimatePriceResponse | IError>; export default getEstimatePrice;