@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.
13 lines (12 loc) • 481 B
TypeScript
import type { RouteExtended } from '@lifi/sdk';
export declare const useToAddressRequirements: (route?: RouteExtended) => {
requiredToAddress: boolean | undefined;
requiredToChainType: import("@lifi/sdk").ChainType | undefined;
accountNotDeployedAtDestination: boolean;
accountDeployedAtDestination: boolean;
toAddress: string | undefined;
isFromContractAddress: boolean;
isToContractAddress: boolean;
isLoading: boolean;
isFetched: boolean;
};