export interface ProtobufAny { "@type"?: string; } export interface RpcStatus { /** @format int32 */ code?: number; message?: string; details?: ProtobufAny[]; } /** * MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. Since: cosmos-sdk 0.47 */ export declare type V1Beta1MsgUpdateParamsResponse = object; /** * Params defines the parameters for the x/mint module. */ export interface V1Beta1Params { /** type of coin to mint */ mint_denom?: string; /** maximum annual change in inflation rate */ inflation_rate_change?: string; /** maximum inflation rate */ inflation_max?: string; /** minimum inflation rate */ inflation_min?: string; /** goal of percent bonded atoms */ goal_bonded?: string; /** * expected blocks per year * @format uint64 */ blocks_per_year?: string; } /** * QueryAnnualProvisionsResponse is the response type for the Query/AnnualProvisions RPC method. */ export interface V1Beta1QueryAnnualProvisionsResponse { /** * annual_provisions is the current minting annual provisions value. * @format byte */ annual_provisions?: string; } /** * QueryInflationResponse is the response type for the Query/Inflation RPC method. */ export interface V1Beta1QueryInflationResponse { /** * inflation is the current minting inflation value. * @format byte */ inflation?: string; } /** * QueryParamsResponse is the response type for the Query/Params RPC method. */ export interface V1Beta1QueryParamsResponse { /** params defines the parameters of the module. */ params?: V1Beta1Params; } 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/mint/v1beta1/genesis.proto * @version version not set */ export declare class Api extends HttpClient { /** * No description * * @tags Query * @name QueryAnnualProvisions * @summary AnnualProvisions current minting annual provisions value. * @request GET:/cosmos/mint/v1beta1/annual_provisions */ queryAnnualProvisions: (params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryInflation * @summary Inflation returns the current minting inflation value. * @request GET:/cosmos/mint/v1beta1/inflation */ queryInflation: (params?: RequestParams) => Promise>; /** * No description * * @tags Query * @name QueryParams * @summary Params returns the total set of minting parameters. * @request GET:/cosmos/mint/v1beta1/params */ queryParams: (params?: RequestParams) => Promise>; }