@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.
8 lines (7 loc) • 426 B
TypeScript
import type { TokenAmount } from '../types/token.js';
export declare const useTokenAddressBalance: (chainId?: number, tokenAddress?: string) => {
token: TokenAmount | undefined;
chain: import("@lifi/sdk").ExtendedChain | undefined;
isLoading: boolean;
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<TokenAmount[], Error>>;
};