Midgard sample kpi

THORChain at a glance

Headline numbers — pool count, fees, RUNE price.

What this shows

Singleton snapshot of THORChain at the moment of the request — pool count, swap totals, fee revenue, RUNE price.

Pure SSR (no React component) — Rails fetches and renders six KPI tiles directly. Each cache-miss render also persists one row to cosmos_thorchain_midgard_stats_snapshots, building a free historical dataset over time.

Endpoint URL
https://gateway.liquify.com/chain/thorchain_midgard/v2/stats
curl
curl 'https://gateway.liquify.com/chain/thorchain_midgard/v2/stats'
Pool count
41
RUNE price (USD)
0.5856208644588419
Swap volume (RUNE)
54,916,295,423
Swap count (total)
73,664,863
Swap count (24h)
0
Swap count (30d)
2,611,402