UNPKG

@ledgerhq/live-common

Version:
13 lines 615 B
import type { GasOptions, Transaction } from "@ledgerhq/coin-evm/types/index"; import { CryptoCurrency } from "@ledgerhq/types-cryptoassets"; /** * React hook to get gas options for a given currency * Used in the send flow to get the gas options for the currency, * for example in SelectFeeStrategy.tsx file in the renderer/families/{currency} folder in LLD */ export declare const useGasOptions: ({ currency, transaction, interval, }: { currency: CryptoCurrency; transaction: Transaction; interval?: number; }) => [GasOptions | undefined, Error | null, boolean]; //# sourceMappingURL=react.d.ts.map