signUserOperation abstract method
- UserOperation userOp,
- {bool update = true,
- String? id}
Signs a user operation using the provided key.
userOp
: TheUserOperation
.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,
});