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 projectPublicKey = new web3.PublicKey("your_project_public_key");
// Define the AddRemoveProfileDataConfig arguments.
const args = {
label: "XP",
data_type: ProfileDataType.SingleValue, // Optional: specify the data type (SingleValue, MultiValue, or EntityData).
};
// Create AddRemoveProfileDataConfig operation.
const operationArgs = {
args: args,
project: projectPublicKey,
};
const { operation } = await createAddRemoveProfileDataConfigOperation(honeycomb, operationArgs);
operation.send(); // The generated AddRemoveProfileDataConfig operation.
Generated using TypeDoc
This function creates an AddRemoveProfileDataConfig operation using the specified Honeycomb instance and the provided arguments. The operation is used to add or remove a profile data configuration for a specific project.