Docs

simulateTransaction

Simulates the execution of a transaction.

Example

import { simulateTransaction } from "thirdweb";
const result = await simulateTransaction({
transaction,
});

Parameters

Returns

A promise that resolves to the result of the simulation.