wagmi
Version:
React Hooks for Ethereum
10 lines • 1.33 kB
TypeScript
import type { Config, GetFeeHistoryErrorType, ResolvedRegister } from '@wagmi/core';
import type { Compute } from '@wagmi/core/internal';
import { type GetFeeHistoryData, type GetFeeHistoryOptions, type GetFeeHistoryQueryFnData, type GetFeeHistoryQueryKey } from '@wagmi/core/query';
import type { ConfigParameter, QueryParameter } from '../types/properties.js';
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> & ConfigParameter<config> & QueryParameter<GetFeeHistoryQueryFnData, GetFeeHistoryErrorType, selectData, GetFeeHistoryQueryKey<config, chainId>>>;
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