@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.
11 lines (10 loc) • 423 B
TypeScript
import type { EVMChain } from '@lifi/sdk';
import type { FormType } from '../../stores/form/types.js';
export declare const useChainSelect: (formType: FormType) => {
chainOrder: number[];
chains: import("@lifi/sdk").ExtendedChain[] | undefined;
getChains: () => EVMChain[];
isLoading: boolean;
setChainOrder: (chainId: number, type: FormType) => void;
setCurrentChain: (chainId: number) => void;
};