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