Simulates the execution of a transaction.
import { simulateTransaction } from "thirdweb";const result = await simulateTransaction({ transaction,});
function simulateTransaction( options: SimulateOptions<abi, abiFn>,): Promise<any>;
The options for simulating the transaction.
let options: SimulateOptions<abi, abiFn>;
let returnType: Promise<any>;
A promise that resolves to the result of the simulation.