- getActiveTasksread-only#
Get the wallet’s currently active background tasks and their retry state.
Request:
This operation takes no arguments (an empty object).
Response:
On success, the result is a GetActiveTasksResponse object.
Details:
Tasks are wallet-core’s background retry loops, for example for pending withdrawals or payments.
firstTryandnextTrygive the time of the first attempt and of the next scheduled retry;lastErroris the error of the most recent attempt, if any.
interface GetActiveTasksResponse {
tasks: ActiveTask[];
}
interface ActiveTask {
taskId: string;
transaction?: TransactionIdStr | undefined;
firstTry?: AbsoluteTime | undefined;
nextTry?: AbsoluteTime | undefined;
retryCounter?: number | undefined;
lastError?: TalerErrorDetail | undefined;
}