import { buildUseVueQuery } from "../../../vue-query";
import { getParams, getSubspaces } from "./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
 */
export const useGetParams = buildUseVueQuery({
    builderQueryFn: 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
 */
export const useGetSubspaces = buildUseVueQuery({
    builderQueryFn: getSubspaces,
    queryKeyPrefix: "SubspacesQuery"
});
