An instance of the Honeycomb class.
The arguments for recalling rewards.
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
Creates a new recall operation to retrieve uncollected rewards from a participation.