UNPKG

@cyberk/hyperion-sdk

Version:

Hyperion SDK from Cyberk

8 lines (7 loc) 564 B
import type { QueryObserverOptions } from "@tanstack/query-core"; import { getCosmWasmClientQueryKey } from "../query/getCosmWasmClient"; import { CosmWasmClient } from "@cosmjs/cosmwasm-stargate"; export declare const useCosmWasmClient: ({ rpc, options: observerOptions, }: { rpc: string; options: Omit<QueryObserverOptions<CosmWasmClient | undefined, Error, CosmWasmClient | undefined, ReturnType<typeof getCosmWasmClientQueryKey>>, "queryKey" | "queryFn">; }) => import("@tanstack/react-query").DefinedUseQueryResult<CosmWasmClient | undefined, Error>;