diff --git a/src/actions/getParentBaseFeeEstimate.ts b/src/actions/getParentBaseFeeEstimate.ts index a83b8e50..704e6b9e 100644 --- a/src/actions/getParentBaseFeeEstimate.ts +++ b/src/actions/getParentBaseFeeEstimate.ts @@ -2,16 +2,16 @@ import { Chain, PublicClient, ReadContractReturnType, Transport } from 'viem'; import { arbGasInfo } from '../contracts'; type ArbGasInfoABI = typeof arbGasInfo.abi; -export type GetParentbaseFeeEstimateParameters = void; +export type GetParentBaseFeeEstimateParameters = void; -export type GetParentbaseFeeEstimateReturnType = ReadContractReturnType< +export type GetParentBaseFeeEstimateReturnType = ReadContractReturnType< ArbGasInfoABI, 'getL1BaseFeeEstimate' >; -export async function getParentbaseFeeEstimate( +export async function getParentBaseFeeEstimate( client: PublicClient, -): Promise { +): Promise { return client.readContract({ abi: arbGasInfo.abi, functionName: 'getL1BaseFeeEstimate',