export interface ProtobufAny { "@type"?: string; } export interface RpcStatus { /** @format int32 */ code?: number; message?: string; details?: ProtobufAny[]; } /** * ConfigResponse defines the response structure for the Config gRPC query. */ export interface V1Beta1ConfigResponse { minimum_gas_price?: string; } import { AxiosInstance, AxiosRequestConfig, AxiosResponse, ResponseType } from "axios"; export declare type QueryParamsType = Record; export interface FullRequestParams extends Omit { /** set parameter to `true` for call `securityWorker` for this request */ secure?: boolean; /** request path */ path: string; /** content type of request body */ type?: ContentType; /** query params */ query?: QueryParamsType; /** format of response (i.e. response.json() -> format: "json") */ format?: ResponseType; /** request body */ body?: unknown; } export declare type RequestParams = Omit; export interface ApiConfig extends Omit { securityWorker?: (securityData: SecurityDataType | null) => Promise | AxiosRequestConfig | void; secure?: boolean; format?: ResponseType; } export declare enum ContentType { Json = "application/json", FormData = "multipart/form-data", UrlEncoded = "application/x-www-form-urlencoded" } export declare class HttpClient { instance: AxiosInstance; private securityData; private securityWorker?; private secure?; private format?; constructor({ securityWorker, secure, format, ...axiosConfig }?: ApiConfig); setSecurityData: (data: SecurityDataType | null) => void; private mergeRequestParams; private createFormData; request: ({ secure, path, type, query, format, body, ...params }: FullRequestParams) => Promise>; } /** * @title cosmos/base/node/v1beta1/query.proto * @version version not set */ export declare class Api extends HttpClient { /** * No description * * @tags Service * @name ServiceConfig * @summary Config queries for the operator configuration. * @request GET:/cosmos/base/node/v1beta1/config */ serviceConfig: (params?: RequestParams) => Promise>; }