Created
January 24, 2026 13:18
-
-
Save patcito/c138f0dcbed5b357e08d6cf6efa11c52 to your computer and use it in GitHub Desktop.
PUT Dashboard API: Global Circuit Breaker Time to Reset
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # PUT Dashboard API Change: Global Circuit Breaker Time to Reset | |
| ## Endpoint | |
| `GET /status/put/dashboard` | |
| ## Change | |
| Added two new fields to the chain-level `circuitBreaker` object: | |
| | Field | Type | Description | | |
| |-------|------|-------------| | |
| | `secondsUntilFullReplenishment` | `number` | Seconds until the circuit breaker is fully replenished (max across all collaterals) | | |
| | `replenishmentTimeFormatted` | `string` | Human-readable time in `H:MM:SS` format (e.g., `"5:59:59"`) | | |
| ## Example Response | |
| ```json | |
| { | |
| "chains": [ | |
| { | |
| "circuitBreaker": { | |
| "address": "0x6b0743D3aff340bcAc717320279e441d83673551", | |
| "active": true, | |
| "maxDrawRateWad": "50000000000000000", | |
| "maxDrawRateBps": 500, | |
| "mainWindow": 14400, | |
| "mainWindowHrs": 4, | |
| "elasticWindow": 7200, | |
| "elasticWindowHrs": 2, | |
| "mainBufferUsd": "0.74", | |
| "totalValueUsd": "14.83", | |
| "totalStrategyValueUsd": "3.83", | |
| "secondsUntilFullReplenishment": 21599, | |
| "replenishmentTimeFormatted": "5:59:59" | |
| } | |
| } | |
| ] | |
| } | |
| ``` | |
| ## Usage | |
| Use `replenishmentTimeFormatted` to display the "Time to Reset" countdown in the Circuit Breaker Status UI. When the value is `0` / `"0:00:00"`, the circuit breaker is fully replenished. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment