• Creates an initialization multiplier operation. This operation initializes the multipliers for a staking pool.


    • honeycomb: Honeycomb

      The Honeycomb instance to use for creating the operation.

    • args: CreateInitMultiplierOperationArgs

      The arguments required to create the initialization multiplier operation.

    Returns Promise<{
        operation: Operation;

    An object containing the created operation.


    // Assuming you have initialized the `honeycomb` instance and imported necessary types

    const initMultipliersArgs: InitMultipliersArgs = {
    durationMultipliers: [...],
    countMultipliers: [...],
    creatorMultipliers: [...],
    collectionMultipliers: [...],

    const stakingPool = new web3.PublicKey("your_staking_pool_address");
    const project = new web3.PublicKey("your_project_address");

    const createInitArgs: CreateInitMultiplierOperationArgs = {
    args: initMultipliersArgs,

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

Generated using TypeDoc