/** * Params holds parameters for the mint module. */ export interface Mintv1Beta1Params { mint_denom?: string; inflation_rate_change?: string; inflation_max?: string; inflation_min?: string; goal_bonded?: string; /** @format uint64 */ blocks_per_year?: string; } export interface ProtobufAny { "@type"?: string; } export interface RpcStatus { /** @format int32 */ code?: number; message?: string; details?: ProtobufAny[]; } /** * 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?: Mintv1Beta1Params; } export type QueryParamsType = Record; export type ResponseFormat = keyof Omit; 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?: keyof Omit; /** request body */ body?: unknown; /** base url */ baseUrl?: string; /** request cancellation token */ cancelToken?: CancelToken; } export type RequestParams = Omit; export interface ApiConfig { baseUrl?: string; baseApiParams?: Omit; securityWorker?: (securityData: SecurityDataType) => RequestParams | void; } export interface HttpResponse extends Response { data: D; error: E; } type CancelToken = Symbol | string | number; export declare enum ContentType { Json = "application/json", FormData = "multipart/form-data", UrlEncoded = "application/x-www-form-urlencoded" } export declare class HttpClient { baseUrl: string; private securityData; private securityWorker; private abortControllers; private baseApiParams; constructor(apiConfig?: ApiConfig); setSecurityData: (data: SecurityDataType) => void; private addQueryParam; protected toQueryString(rawQuery?: QueryParamsType): string; protected addQueryParams(rawQuery?: QueryParamsType): string; private contentFormatters; private mergeRequestParams; private createAbortSignal; abortRequest: (cancelToken: CancelToken) => void; request: ({ body, secure, path, type, query, format, baseUrl, cancelToken, ...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>; } export {};