The Honeycomb instance.
The arguments for creating the "Set Holder Status" operation.
An object containing the "Set Holder Status" operation.
const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance
const holderAccount = ...; // HplHolderAccount instance
// Create a "Set Holder Status" operation for the holder account
const operationArgs: CreateSetHolderStatusOperationArgs = {
status: HolderStatus.Active, // Set the desired status
holderAccount,
};
const { operation } = await createSetHolderStatusOperation(honeycomb, operationArgs);
operation.send();
Generated using TypeDoc
Creates a "Set Holder Status" operation to update the status of the specified holder account.