signUserOperation abstract method

Future<UserOperation> signUserOperation(
  1. UserOperation userOp,
  2. {bool update = true,
  3. String? id}
)

Signs a user operation using the provided key.

  • userOp: The UserOperation.
  • update: True if you want to update the user operation (optional).
  • id: The id of the transaction (optional).

Returns a signed UserOperation.

Implementation

Future<UserOperation> signUserOperation(
  UserOperation userOp, {
  bool update = true,
  String? id,
});