cron
Snapshot dreUSD and dreUSDs ERC-20 totalSupply (cron)
Expected schedule: every 5 minutes.
Calls totalSupply() on DREUSD_ADDRESS and DREUSDS_ADDRESS via the configured RPC endpoints, then inserts a row into total_supplies (dre_usd, dre_usds, recorded_at). Returns 204 with an empty body on success. Requires X-CRON-API-KEY matching CRON_API_KEY.
post/cron/total-supply
Request
- Base URLhttps://api.dre.app (the document declares no server; this is the origin it was published from)
- Authnone declared. Required headers: X-CRON-API-KEY
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-CRON-API-KEYstring required
Must match CRON_API_KEY
Response
Snapshot persisted. Matching on-chain reads succeeded; no response body.
Changes
No recorded changes to this operation across all 3 revisions of this API.