UNPKG

@hawksightco/swagger-client

Version:

OpenAPI client for Hawksight v2 Public API

137 lines (136 loc) 5.97 kB
/** * Hawksight API * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) * * OpenAPI spec version: 0.0.1 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios'; import { Configuration } from '../configuration'; import { RequestArgs, BaseAPI } from '../base'; import { InlineResponse2003 } from '../models'; import { InlineResponse2004 } from '../models'; import { UtilActiveBinBody } from '../models'; /** * MeteoraDLMMUtilityFunctionsApi - axios parameter creator * @export */ export declare const MeteoraDLMMUtilityFunctionsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns Meteora DLMM pool's active bin * @param {UtilActiveBinBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilActiveBinPost: (body: UtilActiveBinBody, options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * Returns a list of active Meteora DLMM pools with detailed information about each pool. * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilPoolsGet: (options?: AxiosRequestConfig) => Promise<RequestArgs>; /** * Returns Meteora DLMM positions of user * @param {string} wallet User&#x27;s wallet address who owns the position * @param {string} [pool] Meteora pool address * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilPositionsGet: (wallet: string, pool?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>; }; /** * MeteoraDLMMUtilityFunctionsApi - functional programming interface * @export */ export declare const MeteoraDLMMUtilityFunctionsApiFp: (configuration?: Configuration) => { /** * Returns Meteora DLMM pool's active bin * @param {UtilActiveBinBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilActiveBinPost(body: UtilActiveBinBody, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<{ [key: string]: number; }>>>; /** * Returns a list of active Meteora DLMM pools with detailed information about each pool. * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<Array<InlineResponse2003>>>>; /** * Returns Meteora DLMM positions of user * @param {string} wallet User&#x27;s wallet address who owns the position * @param {string} [pool] Meteora pool address * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => Promise<AxiosResponse<InlineResponse2004>>>; }; /** * MeteoraDLMMUtilityFunctionsApi - factory interface * @export */ export declare const MeteoraDLMMUtilityFunctionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns Meteora DLMM pool's active bin * @param {UtilActiveBinBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilActiveBinPost(body: UtilActiveBinBody, options?: AxiosRequestConfig): Promise<AxiosResponse<{ [key: string]: number; }>>; /** * Returns a list of active Meteora DLMM pools with detailed information about each pool. * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2003>>>; /** * Returns Meteora DLMM positions of user * @param {string} wallet User&#x27;s wallet address who owns the position * @param {string} [pool] Meteora pool address * @param {*} [options] Override http request option. * @throws {RequiredError} */ meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2004>>; }; /** * MeteoraDLMMUtilityFunctionsApi - object-oriented interface * @export * @class MeteoraDLMMUtilityFunctionsApi * @extends {BaseAPI} */ export declare class MeteoraDLMMUtilityFunctionsApi extends BaseAPI { /** * Returns Meteora DLMM pool's active bin * @param {UtilActiveBinBody} body * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MeteoraDLMMUtilityFunctionsApi */ meteoraDlmmUtilActiveBinPost(body: UtilActiveBinBody, options?: AxiosRequestConfig): Promise<AxiosResponse<{ [key: string]: number; }>>; /** * Returns a list of active Meteora DLMM pools with detailed information about each pool. * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MeteoraDLMMUtilityFunctionsApi */ meteoraDlmmUtilPoolsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Array<InlineResponse2003>>>; /** * Returns Meteora DLMM positions of user * @param {string} wallet User&#x27;s wallet address who owns the position * @param {string} [pool] Meteora pool address * @param {*} [options] Override http request option. * @throws {RequiredError} * @memberof MeteoraDLMMUtilityFunctionsApi */ meteoraDlmmUtilPositionsGet(wallet: string, pool?: string, options?: AxiosRequestConfig): Promise<AxiosResponse<InlineResponse2004>>; }