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) 628 B
import type { Process, RouteExtended } from '@lifi/sdk'; export declare const isRouteDone: (route: RouteExtended) => boolean; export declare const isRoutePartiallyDone: (route: RouteExtended) => boolean; export declare const isRouteRefunded: (route: RouteExtended) => boolean; export declare const isRouteFailed: (route: RouteExtended) => boolean; export declare const isRouteActive: (route?: RouteExtended) => boolean; export declare const getUpdatedProcess: (currentRoute: RouteExtended, updatedRoute: RouteExtended) => Process | undefined; export declare const getSourceTxHash: (route?: RouteExtended) => string | undefined;