Economic Calendar — Cache Test
Step 1 has our server pay x402node ($0.01 USDC on Solana, operator wallet) and store the calendar for 24 hours. Step 2 reads it back from our cache. The calendar is shown twice — once per step — and the checks confirm the second copy came from the cache. A forced refresh is honoured at most once every 10 minutes; inside that window step 1 returns the current snapshot without paying.
Cache checks
Run both steps to compare.
1 · Paid from x402node, stored by our server
POST /api/v1/markets/calendar
Not run yet.
2 · Read back from our server's cache
GET /api/v1/markets/calendar
Not run yet.
Right-column widget preview
The trading page's economic-calendar widget, rendered from the same cached snapshot: Daily = your local today, Weekly = today plus the next 6 days. Each copy has its own search and impact toggles.
Daily · today
Loading economic calendar...
Weekly · next 7 days
Loading economic calendar...