@ledgerhq/live-common
Version:
Common ground for the Ledger Live apps
13 lines • 615 B
TypeScript
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