Wait for the user operation to be mined.
import { waitForUserOpReceipt } from "thirdweb/wallets/smart"; const receipt = await waitForUserOpReceipt({ chain, client, userOpHash,});
function waitForUserOpReceipt( args: BundlerOptions & { intervalMs?: number; timeoutMs?: number; userOpHash: `0x${string}`; },): Promise<TransactionReceipt>;
The options and user operation hash
let args: BundlerOptions & { intervalMs?: number; timeoutMs?: number; userOpHash: `0x${string}`;};
let returnType: Promise<TransactionReceipt>;
The transaction receipt