@lifi/widget
Version:
LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
6 lines (5 loc) • 429 B
TypeScript
export declare const useTokenAddressBalance: (chainId?: number, tokenAddress?: string) => {
token: import("..").TokenAmount | undefined;
isLoading: boolean;
refetch: <TPageData>(options?: (import("@tanstack/query-core").RefetchOptions & import("@tanstack/query-core").RefetchQueryFilters<TPageData>) | undefined) => Promise<import("@tanstack/query-core").QueryObserverResult<import("..").TokenAmount[], unknown>>;
};