The Honeycomb instance to use for creating the operation.
The arguments required to create the update pool operation.
An object containing the created operation.
// Assuming you have initialized the `honeycomb` instance and imported necessary types
const stakingPool = new NectarStaking(honeycomb, "your_staking_pool_address");
// Assuming you have an initialized `UpdateStakingPoolArgs` object `updateArgs`
const createUpdatePoolArgs: CreateUpdatePoolCtxArgs = {
args: updateArgs,
project: "your_project_address",
stakingPool: "your_staking_pool_address",
};
const operationResult = await createUpdatePoolOperation(honeycomb, createUpdatePoolArgs);
console.log("Created update pool operation:", operationResult.operation);
Generated using TypeDoc
Creates an update pool operation to update the specified staking pool.