• Creates an initialization staker operation. This operation initializes a staker for a staking pool.


    • honeycomb: Honeycomb

      The Honeycomb instance to use for creating the operation.

    • args: CreateInitStakerOperationArgs

      The arguments required to create the initialization staker operation.

    Returns Promise<{
        operation: 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 = {

    const operationResult = await createInitStakerOperation(honeycomb, createInitArgs);
    console.log("Created operation:", operationResult.operation);

Generated using TypeDoc