Metacenter

GET /metrics/current

Headline figures, the latest distribution and the cliff figures.

curl https://metacenter.0xo.in/api/metrics/current

Fields: 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. Until it is deployed on mainnet, their value is null with a note saying so.

Live response (excerpt)

GET https://metacenter.0xo.in/api/metrics/current · read at block 967,690
{
  "headline": {
    "value": null,
    "unit": "fraction",
    "provenance": "onchain",
    "source": "pox5-reader::get-coverage-summary: headroom-bps",
    "note": "pox5-reader is not deployed on mainnet yet"
  },
  "price": {
    "value": 21.34299724093512,
    "unit": "sats per STX",
    "provenance": "mirrored",
    "source": "current price * latest interval obligation / latest interval gross pool",
    "note": "assumes miner BTC bids scale linearly with the STX price"
  },
  "sip_book_scenario": {
    "value": 278.1808651134154,
    "unit": "sats per STX",
    "provenance": "hypothetical",
    "source": "current price * 180,000,000 sats (3,000 BTC * 3% / 50) / latest interval gross pool",
    "note": "SIP launch book: 3,000 BTC at 3% target (forum.stacks.org/t/18862, post #14); assumes miner BTC bids scale linearly with the STX price"
  },
  "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.

Edit on GitHub

On this page