Snapshot dreUSDs savings metrics (cron)
Expected schedule: every 10 minutes.
Reads totalAssets() and convertToAssets(1e18) on DREUSDS_ADDRESS, totalSupply() on DREUSD_ADDRESS via the configured RPC endpoints, computes ratio as totalAssets/totalSupply, then inserts a row into savings_snapshots. Returns 204 with an empty body on success. Requires X-CRON-API-KEY matching CRON_API_KEY.
The cadence is bounded by dreUSDs pricing, not by this snapshot: the registry price refresh dates dreUSDs by this snapshot’s recordedAt and serves DRE observations for 15 minutes, so a slower schedule here makes dreUSDs report as stale between runs.
Headers
Must match CRON_API_KEY
Response
Savings snapshot persisted. On-chain reads succeeded; no response body.
Changes
No recorded changes to this endpoint across all 1 revision of this API.