import { sendTransaction } from "thirdweb";
import { simulateHandleOp } from "thirdweb/extensions/erc4337";
const transaction = simulateHandleOp({
contract,
op: ...,
target: ...,
targetCallData: ...,
overrides: {
...
}
});
// Send the transaction
await sendTransaction({ transaction, account });