@nazabalm/widget
Version:
LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
13 lines (12 loc) • 674 B
TypeScript
import type { FormType } from '../stores/form/types.js';
import type { TokenAmount } from '../types/token.js';
export declare const useTokenBalances: (selectedChainId?: number, formType?: FormType) => {
tokens: import("@lifi/sdk").Token[] | undefined;
tokensWithBalance: TokenAmount[] | undefined;
featuredTokens: TokenAmount[] | undefined;
popularTokens: TokenAmount[] | undefined;
chain: import("@lifi/sdk").ExtendedChain | undefined;
isLoading: boolean;
isBalanceLoading: boolean;
refetch: (options?: import("@tanstack/react-query").RefetchOptions) => Promise<import("@tanstack/react-query").QueryObserverResult<TokenAmount[], Error>>;
};