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