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.

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