The Honeycomb instance to use for creating the operation.
The arguments required to create the initialization staker 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");
const createInitArgs: CreateInitStakerOperationArgs = {
stakingPool,
};
const operationResult = await createInitStakerOperation(honeycomb, createInitArgs);
console.log("Created operation:", operationResult.operation);
Generated using TypeDoc
Creates an initialization staker operation. This operation initializes a staker for a staking pool.