What the gate has actually saved
ratchet_get_prevented_lossCounts duplicate action refusals in the last 30 days and computes the avoided cost from each refused action that declared an estimated cost, providing the total prevented spend.
Instructions
Counts duplicate actions refused in the last 30 days and what they would have cost. Only counts refusals where a cost was declared on the effect, so it under-reports rather than flatters. IMPORTANT: pass estimated_cost_micros on ratchet_begin_effect or this reads zero — the number is only as good as what callers declare. This is money not spent at your vendors, never money paid to Ratchet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||