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.

14 lines (13 loc) 398 B
import type { EVMChain, RouteExtended, Token } from '@lifi/sdk'; export interface GasSufficiency { gasAmount: bigint; tokenAmount?: bigint; insufficientAmount?: bigint; insufficient?: boolean; token: Token; chain?: EVMChain; } export declare const useGasSufficiency: (route?: RouteExtended) => { insufficientGas: GasSufficiency[] | undefined; isLoading: boolean; };