UNPKG

verimor-api-sdk

Version:
21 lines (20 loc) 730 B
import { BaseApi } from './base-api'; import { ProxyConfig } from '../models/proxy-config'; /** * AccountApi class provides methods to interact with account-related endpoints. */ export declare class AccountApi extends BaseApi { /** * Creates an instance of AccountApi. * @param username - The API username. * @param password - The API password. * @param proxyConfig - Optional proxy configuration. */ constructor(username: string, password: string, proxyConfig?: ProxyConfig); /** * Retrieves the account balance. * @returns Promise resolving to BalanceResponse. * @throws ErrorResponse if the API call fails. */ getBalance(): Promise<number>; }