GET /metrics/current
Headline figures, the latest distribution and the cliff figures.
curl https://metacenter.0xo.in/api/metrics/currentFields: as_of, cycle, coverage, headroom, obligation_per_interval, pending_pool, reserve, reserve_cover, reserve_state, payout_order, latest_interval, price, cliff.
The fields labelled onchain come from pox5-reader, through coverage-cache where the public endpoint refuses the call. If the reader or the cache is unavailable, their value is null with a note saying so.
Live response (excerpt)
GET https://metacenter.0xo.in/api/metrics/current · read at block 976,724
{
"headline": {
"value": 0.7581,
"unit": "fraction",
"provenance": "onchain",
"source": "SP2Q3XVGTTA4CW3E2AHFZPAGQ0HM9QPHTTBJTQGJY.pox5-reader::get-coverage-summary: headroom-bps via coverage-cache::refresh at burn height 975801",
"note": "pool can fall this much before bond yield is impaired. pox5-reader computed this from pox-5 state in a mainnet transaction; coverage-cache stores its answer so the public API can read it"
},
"price": {
"value": 100.43396324645701,
"unit": "sats per STX",
"provenance": "mirrored",
"source": "price at distribution 294 * its obligation / its gross pool",
"note": "assumes miner BTC bids scale linearly with the STX price"
},
"sip_book_scenario": {
"value": 173.6340790708795,
"unit": "sats per STX",
"provenance": "hypothetical",
"source": "price at distribution 294 * 180,000,000 sats (3,000 BTC * 3% / 50) / its gross pool",
"note": "SIP launch book: 3,000 BTC at a 3% target (SIP draft, stacks.link/sip-pox5; as used in forum.stacks.org/t/18862 post #14); assumes miner BTC bids scale linearly with the STX price"
},
"inputs": {
"distribution_index": 294,
"price": {
"value": 415.221873,
"unit": "sats per STX",
"provenance": "mirrored",
"source": "coingecko:market_chart/range @ 1794662400 (price at distribution 294)"
},
"gross_pool": {
"value": "430445092",
"unit": "sats",
"provenance": "mirrored",
"source": "mainnet pox-5 calculate-rewards event, tx 0x3b0c07688b494f22e7bf9d45884c9f4c71fcbba1ca758b135e939b2bf50e843c: gross-accrued-rewards"
},
"obligation": {
"value": "104116159",
"unit": "sats",
"provenance": "mirrored",
"source": "mainnet pox-5 calculate-rewards event, tx 0x3b0c07688b494f22e7bf9d45884c9f4c71fcbba1ca758b135e939b2bf50e843c: sum of bond-distribution target-yield"
},
"sip_book_obligation": {
"value": "180000000",
"unit": "sats",
"provenance": "hypothetical",
"source": "3,000 BTC * 3% / 50"
}
},
"friedger_sip_inputs": {
"value": 171.23287671232876,
"unit": "sats per STX",
"provenance": "hypothetical",
"source": "3,000 BTC * 3% / (1,000 STX/block * 52,560 blocks/year)",
"note": "friedger's figure under SIP launch inputs (forum.stacks.org/t/18862, post #14)"
}
}Showing cliff; the full response has more fields.