UNPKG

nodejs-cryptomus

Version:

A comprehensive Node.js client for the Cryptomus API

34 lines (33 loc) 1.01 kB
import { CryptomusClient } from '../client'; import { CurrencyNetworkInfo, PaymentLimitInfo } from '../types'; /** * Currency service for managing currencies and limits */ export declare class CurrencyService { private readonly client; /** * Create a new currency service * * @param client - Cryptomus API client */ constructor(client: CryptomusClient); /** * Get available currencies with networks for payment * * @returns List of available currencies with networks */ getPaymentCurrencies(): Promise<CurrencyNetworkInfo[]>; /** * Get available currencies with networks for payout * * @returns List of available currencies with networks */ getPayoutCurrencies(): Promise<CurrencyNetworkInfo[]>; /** * Get payment limits for a specific currency * * @param currency - Currency code * @returns Payment limit information */ getPaymentLimits(currency: string): Promise<PaymentLimitInfo>; }