wagmi
Version:
React Hooks for Ethereum
9 lines • 1.1 kB
TypeScript
import type { Config, GetFeeHistoryErrorType, ResolvedRegister } from '@wagmi/core';
import type { Compute, ConfigParameter } from '@wagmi/core/internal';
import { type GetFeeHistoryData, type GetFeeHistoryOptions } from '@wagmi/core/query';
import { type UseQueryReturnType } from '../utils/query.js';
export type UseFeeHistoryParameters<config extends Config = Config, chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetFeeHistoryData> = Compute<GetFeeHistoryOptions<config, chainId, selectData> & ConfigParameter<config>>;
export type UseFeeHistoryReturnType<selectData = GetFeeHistoryData> = UseQueryReturnType<selectData, GetFeeHistoryErrorType>;
/** https://wagmi.sh/react/api/hooks/useFeeHistory */
export declare function useFeeHistory<config extends Config = ResolvedRegister['config'], chainId extends config['chains'][number]['id'] = config['chains'][number]['id'], selectData = GetFeeHistoryData>(parameters?: UseFeeHistoryParameters<config, chainId, selectData>): UseFeeHistoryReturnType<selectData>;
//# sourceMappingURL=useFeeHistory.d.ts.map