UNPKG

@cyberk/hyperion-sdk

Version:

Hyperion SDK from Cyberk

10 lines (9 loc) 599 B
import type { QueryObserverOptions } from "@tanstack/query-core"; import { CHAIN_IDS } from "../constants"; import { PairInfo } from "../types"; import { getPairInfoQueryKey } from "../query/getPairInfo"; export declare const usePairInfo: ({ contractAddress, chainId, options: observerOptions, }: { contractAddress: string; chainId: CHAIN_IDS; options?: Omit<QueryObserverOptions<PairInfo | undefined, Error, PairInfo | undefined, ReturnType<typeof getPairInfoQueryKey>>, "queryKey" | "queryFn">; }) => import("@tanstack/react-query").DefinedUseQueryResult<PairInfo | undefined, Error>;