UNPKG

sideshift-node-sdk

Version:

TypeScript Client for SideShift.ai API

14 lines (13 loc) 470 B
import { SideShiftHttpHandler } from '../sideShiftHttpClient'; import { ApiResponse, Account } from '../../types'; export declare class AccountAPI { private sideShiftHttpHandler; constructor(sideShiftHttpHandler: SideShiftHttpHandler); /** * Returns the data related to an account. * @see https://docs.sideshift.ai/endpoints/v2/account * * @returns Promise<ApiResponse<Account>> */ getAccount(): Promise<ApiResponse<Account>>; }