signUserOp
Sign a user operation.
import { signUserOp } from "thirdweb/wallets/smart"; const userOp = await createUnsignedUserOp(...); const signedUserOp = await signUserOp({ client, userOp, chain, adminAccount,});
function signUserOp(args: { entrypointAddress?: string; userOp: UserOperationV06 | UserOperationV07;}): Promise<UserOperationV06 | UserOperationV07>;
let args: { entrypointAddress?: string; userOp: UserOperationV06 | UserOperationV07;};