import { parseBigIntValue } from '@/utils/parseBigIntValue' type BridgeQuoteLike = { nativeFee?: unknown } export const isValidBridgeQuote = (quote: T) => { const nativeFeeWei = parseBigIntValue(quote.nativeFee) return nativeFeeWei !== null && nativeFeeWei >= 0n }