Contents

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. firstTry and nextTry give the time of the first attempt and of the next scheduled retry; lastError is 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;
}