The Honeycomb instance to use for the operation.
The arguments required to create the operation.
An object containing the operation.
const honeycomb = new Honeycomb(connection);
const project = new HoneycombProject(...); // Replace with your project constructor.
honeycomb.use(project);
// Define the ChangeDriver arguments.
const args = {
project: project,
driver: publicKey1, // Replace with the new driver's public key.
};
// Create ChangeDriver operation.
const { operation } = await createChangeDriverOperation(honeycomb, args);
operation.send(); // The generated ChangeDriver operation.
Generated using TypeDoc
This function creates a ChangeDriver operation using the specified Honeycomb instance and the provided arguments. The operation is used to change the driver of a HoneycombProject.