import type { EIP1193RequestFn, EIP1474Methods, RpcTransactionRequest } from "viem"; /** * Estimates the gas required to execute a transaction on the Ethereum network. * @param request - The EIP1193 request function. * @param transactionRequest - The transaction request object. * @returns A promise that resolves to the estimated gas as a bigint. * @rpc * @example * ```ts * import { getRpcClient, eth_estimateGas } from "thirdweb/rpc"; * const rpcRequest = getRpcClient({ client, chain }); * const gas = await eth_estimateGas(rpcRequest, { * to: "0x...", * ... * }); * ``` */ export declare function eth_estimateGas(request: EIP1193RequestFn, transactionRequest: RpcTransactionRequest): Promise; //# sourceMappingURL=eth_estimateGas.d.ts.map