Docs

signUserOp

Sign a user operation.

Example

import { signUserOp } from "thirdweb/wallets/smart";
const userOp = createUnsignedUserOp(...);
const signedUserOp = await signUserOp({
userOp,
options,
});

Parameters

Returns

  • The user operation with the signature field populated