nowpayments-api-typescript
Version:
Nowpayments typescript API wrapper
12 lines (11 loc) • 495 B
TypeScript
import { IGetMinimumPaymentAmount, IError } from './../interfaces';
export interface GetMinimumPaymentAmountResponse {
currency_from: string;
currency_to: string;
min_amount: number;
}
export interface GetMinimumPaymentAmount extends IGetMinimumPaymentAmount {
apiKey: string;
}
declare const getMinimumPaymentAmount: ({ apiKey, currency_from, currency_to, }: GetMinimumPaymentAmount) => Promise<GetMinimumPaymentAmountResponse | IError>;
export default getMinimumPaymentAmount;