@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) • 361 B
TypeScript
import type { ExtendedChain, Route } from '@lifi/sdk';
export declare const useRouteRequiredAccountConnection: (route?: Route, chain?: ExtendedChain) => {
connected: boolean;
missingChain?: undefined;
missingAccountAddress?: undefined;
} | {
connected: boolean;
missingChain: ExtendedChain;
missingAccountAddress: string | undefined;
};