UNPKG

@openocean.finance/widget

Version:

Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.

15 lines (14 loc) 590 B
import type { Account } from '@openocean.finance/wallet-management'; import type { Route } from '@openocean.finance/widget-sdk'; interface ExecuteRouteOptions { updateRouteHook?: (route: Route) => void; acceptExchangeRateUpdateHook?: (params: any) => Promise<boolean>; infiniteApproval?: boolean; executeInBackground?: boolean; account: Account; wagmiConfig: any; onDisconnect?: (account: Account) => Promise<void>; onOpenWalletMenu?: () => void; } export declare function executeRoute(route: Route, options: ExecuteRouteOptions): Promise<Route>; export {};