The Honeycomb instance to use for the operation.
The arguments required to create the operation.
An object containing the operation and delegate authority information.
const honeycomb = new Honeycomb(connection);
const project = new HoneycombProject(...); // Replace with actual HoneycombProject parameters.
honeycomb.use(project)
// Define the CreateDelegateAuthority arguments.
const args = {
delegations: []
};
// Create CreateDelegateAuthority operation.
const operationArgs: CreateDelegateAuthorityOperationArgs = {
args: args,
project: project,
delegate: publicKey1,
};
const { operation } = await createCreateDelegateAuthorityOperation(honeycomb, operationArgs);
operation.send(); // The generated CreateDelegateAuthority operation.
Generated using TypeDoc
This function creates a CreateDelegateAuthority operation using the specified Honeycomb instance and the provided arguments. The operation is used to create a new delegate authority in a HoneycombProject.