signUserOp
Sign a user operation.
import { signUserOp } from "thirdweb/wallets/smart"; const userOp = createUnsignedUserOp(...); const signedUserOp = await signUserOp({ userOp, chain, adminAccount,});
function signUserOp(args: { entrypointAddress?: string;
let args: { entrypointAddress?: string;};
let returnType: { callGasLimit: bigint; maxFeePerGas: bigint; maxPriorityFeePerGas: bigint; nonce: bigint; preVerificationGas: bigint; sender: Address; verificationGasLimit: bigint;};
The user operation with the signature field populated