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

Headers

X-CRON-API-KEYstring required

Must match CRON_API_KEY

Response

Snapshot persisted. Matching on-chain reads succeeded; no response body.

Changes