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.

15 lines (14 loc) 406 B
import type { EVMChain, Route, Token } from '@lifi/sdk'; import Big from 'big.js'; export interface GasSufficiency { gasAmount: Big; tokenAmount?: Big; insufficientAmount?: Big; insufficient?: boolean; token: Token; chain?: EVMChain; } export declare const useGasSufficiency: (route?: Route) => { insufficientGas: GasSufficiency[] | undefined; isInitialLoading: boolean; };