"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.useGetSubspaces = exports.useGetParams = void 0;
const vue_query_1 = require("../../../vue-query");
const query_rpc_func_1 = require("./query.rpc.func");
/**
 * Params queries a specific parameter of a module, given its subspace and
 * key.
 * @name useGetParams
 * @package cosmos.params.v1beta1
 * @see proto service: cosmos.params.v1beta1.Params
 */
exports.useGetParams = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getParams,
    queryKeyPrefix: "ParamsQuery"
});
/**
 * Subspaces queries for all registered subspaces and all keys for a subspace.
 * @name useGetSubspaces
 * @package cosmos.params.v1beta1
 * @see proto service: cosmos.params.v1beta1.Subspaces
 */
exports.useGetSubspaces = (0, vue_query_1.buildUseVueQuery)({
    builderQueryFn: query_rpc_func_1.getSubspaces,
    queryKeyPrefix: "SubspacesQuery"
});
