UNPKG

@cyberk/hyperion-sdk

Version:

Hyperion SDK from Cyberk

10 lines (9 loc) 614 B
import type { QueryObserverOptions } from "@tanstack/query-core"; import { CHAIN_IDS } from "../constants"; import { getCw20TokenBalanceQueryKey } from "../query/getCw20TokenBalance"; export declare const useCw20TokenBalance: ({ tokenAddress, address, chainId, options: observerOptions, }: { tokenAddress?: string; address?: string; chainId: CHAIN_IDS; options?: Omit<QueryObserverOptions<string | undefined, Error, string | undefined, ReturnType<typeof getCw20TokenBalanceQueryKey>>, "queryKey" | "queryFn">; }) => import("@tanstack/react-query").DefinedUseQueryResult<string | undefined, Error>;