clear_transactions_history
Permanently delete OctoBot's stored transaction history, but only after explicit confirmation, ensuring accidental data loss is avoided.
Instructions
Permanently clear OctoBot's stored transactions history. Confirm-gated (ADR-0003).
If confirm is not exactly true, no OctoBot call is made at all --
this returns require_confirmation's structured refusal (a normal
return, not an error) instead.
Once confirmed, maps to POST /api/clear_transactions_history ([V],
re-confirmed against source AND reproduced live this session against
the OctoBot 2.1.1 test instance -- see this module's docstring). Returns
OctoBot's own JSON body unchanged (NFR-8):
{"title": "Cleared transactions history"}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No |