@reservoir0x/relay-kit-ui
Version:
Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.
12 lines • 614 B
TypeScript
import { useQuery, type DefaultError, type QueryKey } from '@tanstack/react-query';
type BalanceResponse = {
balance: bigint;
};
type QueryType = typeof useQuery<BalanceResponse | undefined, DefaultError, BalanceResponse | undefined, QueryKey>;
type QueryOptions = Parameters<QueryType>['0'];
declare const _default: (address?: string, queryOptions?: Partial<QueryOptions>) => import("@tanstack/react-query").UseQueryResult<BalanceResponse | undefined, Error> & {
balance: bigint | undefined;
queryKey: (string | undefined)[];
};
export default _default;
//# sourceMappingURL=useEclipseBalance.d.ts.map