@cyberk/hyperion-sdk
Version:
Hyperion SDK from Cyberk
15 lines • 613 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCosmWasmClientQueryOptions = getCosmWasmClientQueryOptions;
exports.getCosmWasmClientQueryKey = getCosmWasmClientQueryKey;
const getCosmWasmClient_1 = require("../utils/getCosmWasmClient");
function getCosmWasmClientQueryOptions(options) {
return {
queryKey: getCosmWasmClientQueryKey(options.rpc),
queryFn: () => (0, getCosmWasmClient_1.getCosmWasmClient)(options.rpc),
};
}
function getCosmWasmClientQueryKey(rpc) {
return ["cosmwasmClient", rpc];
}
//# sourceMappingURL=getCosmWasmClient.js.map