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.

13 lines (12 loc) 345 B
import type { Route, Token } from '@lifi/sdk'; import Big from 'big.js'; export declare const getGasCostsBreakdown: (route: Route) => { amount: Big; amountUSD: number; token: Token; }[]; export declare const getFeeCostsBreakdown: (route: Route, included?: boolean) => { amount: Big; amountUSD: number; token: Token; }[];