UNPKG

@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.

10 lines (9 loc) 366 B
import type { ExtendedChain } from '@lifi/sdk'; import { ChainType } from '@lifi/sdk'; type GetChainById = (chainId?: number, chains?: ExtendedChain[]) => ExtendedChain | undefined; export declare const useAvailableChains: (chainTypes?: ChainType[]) => { chains: ExtendedChain[] | undefined; getChainById: GetChainById; isLoading: boolean; }; export {};