• Creates a new recall operation to retrieve uncollected rewards from a participation.


    • honeycomb: Honeycomb

      An instance of the Honeycomb class.

    • args: CreateRecallOperationnArgs

      The arguments for recalling rewards.

    Returns Promise<{
        operations: Operation[];

    An object containing the recall operation.


    const honeycomb = new Honeycomb(...); // Initialize Honeycomb instance
    const participation = await honeycomb.mission(missionAddress).participations(walletAddress);
    const createRecallArgs: CreateRecallOperationnArgs = {
    participation: participation[0], // Assuming there is at least one participation
    programId: myCustomProgramId, // (Optional) Provide a custom program ID if needed
    const { operations } = createRecallOperation(honeycomb, createRecallArgs);
    // Execute the recall transactions
    for (const operation of operations) {
    await operation.send(confirmOptions);

Generated using TypeDoc