import type { Abi, AbiFunction } from "abitype"; import type { Prettify } from "../../utils/type-utils.js"; import type { Account } from "../../wallets/interfaces/wallet.js"; import type { PreparedTransaction } from "../prepare-transaction.js"; export type SimulateOptions = Prettify<{ transaction: PreparedTransaction; } & ({ account: Account; from?: never; } | { account?: never; from?: string; })>; /** * Simulates the execution of a transaction. * @param options - The options for simulating the transaction. * @returns A promise that resolves to the result of the simulation. * @transaction * @example * ```ts * import { simulateTransaction } from "thirdweb"; * const result = await simulateTransaction({ * transaction, * }); * ``` */ export declare function simulateTransaction(options: SimulateOptions): Promise; //# sourceMappingURL=simulate.d.ts.map