• 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.


    Returns Promise<{
        operation: Operation;

    An object containing the operation and delegate authority information.


    const honeycomb = new Honeycomb(connection);
    const project = new HoneycombProject(...); // Replace with actual HoneycombProject parameters.

    // 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