@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) • 403 B
TypeScript
import type { ChainType } from '@lifi/sdk';
import type { FormType } from '../stores/form/types.js';
export declare const useChains: (type?: FormType, chainTypes?: ChainType[]) => {
chains: import("@lifi/sdk").ExtendedChain[] | undefined;
getChainById: (chainId?: number, chains?: import("@lifi/sdk").ExtendedChain[]) => import("@lifi/sdk").ExtendedChain | undefined;
isLoading: boolean;
};