import { TxRpc } from "../../../types.js"; import { QueryBaseFeeRequest, QueryBaseFeeResponse, QueryBlockGasRequest, QueryBlockGasResponse, QueryParamsRequest, QueryParamsResponse } from "./query.js"; import { QueryClient } from "@cosmjs/stargate"; //#region src/ethermint/feemarket/v1/query.rpc.Query.d.ts /** Query defines the gRPC querier service. */ interface Query { /** Params queries the parameters of x/feemarket module. */ params(request?: QueryParamsRequest): Promise; /** BaseFee queries the base fee of the parent block of the current block. */ baseFee(request?: QueryBaseFeeRequest): Promise; /** BlockGas queries the gas used at a given block height */ blockGas(request?: QueryBlockGasRequest): Promise; } declare class QueryClientImpl implements Query { private readonly rpc; constructor(rpc: TxRpc); params: (request?: QueryParamsRequest) => Promise; baseFee: (request?: QueryBaseFeeRequest) => Promise; blockGas: (request?: QueryBlockGasRequest) => Promise; } declare const createRpcQueryExtension: (base: QueryClient) => { params(request?: QueryParamsRequest): Promise; baseFee(request?: QueryBaseFeeRequest): Promise; blockGas(request?: QueryBlockGasRequest): Promise; }; //#endregion export { Query, QueryClientImpl, createRpcQueryExtension };