io.github.nowi333/monerometrics

monerometrics

Live Monero network metrics: reorgs, orphans, pool centralization and the Haveno order book.

0.4.0
Version
remote
Transport
19
Tools

Security review

Review passed

Reviewed 1d ago.

  • tools: 19 tools scanned
  • metadata: scanned

No findings.

Tools (19)

  • network_info

    Current Monero network state: latest indexed height, difficulty, network hashrate and mempool size.

  • price

    Current Monero (XMR) price: centralized spot plus both sides of the Haveno peer-to-peer book. Returns the best offer and the amount-weighted average on each side, resting depth, offer counts, and round_trip_cost_pct: the cost of buying XMR and selling it straight back, which is far larger than the headline premium.

  • haveno_book

    The live Haveno XMR/USD order book, both sides, priced against centralized spot. Each price level carries its cumulative depth, offer count, payment methods and a reversible flag. `asks` are makers selling XMR, so taking one means buying; `bids` are makers buying, so taking one means selling. Offers are advertisements with differing payment methods rather than a matched book, so nothing executes on its own and the best bid can sit at or above the best ask.

  • haveno_premium

    Haveno peer-to-peer quotes against centralized spot over time, both sides. window in 24h,7d,30d,90d,1y. History starts on 24 August 2026, when recording began.

  • haveno_payment_methods

    Executed Haveno trades grouped by payment method, with the premium over spot. window in 30d,90d,180d,1y,all. currency in USD,EUR. The premium tracks how reversible and convenient the payment rail is, not privacy: every one of these trades is equally non-KYC. The reversible flag is our own classification, not a Haveno field.

  • network_hashrate

    Network hashrate time series. window in 1h,24h,7d,30d,90d,1y,5y.

  • network_blocktime

    Block-time variance time series (seconds between blocks). window in 1h,24h,7d,30d,90d,1y,5y.

  • network_mempool

    Mempool size time series (number of pending transactions). window in 1h,24h,7d,30d,90d,1y,5y.

  • network_emission

    Block reward / emission time series (XMR per block). window in 1h,24h,7d,30d,90d,1y,5y.

  • reorgs

    Detected Monero chain reorganizations, most recent first, with fork point, depth and affected transactions.

  • reorg_stats

    Aggregate reorg statistics over windows: counts, average and maximum depth, affected transactions.

  • recent_orphans

    Most recent orphan blocks with their canonical counterpart at the same height, newest first. limit 1..50; window in 24h,48h,7d,30d,90d,180d,1y,all (default all, so the last N orphans are returned however old they are).

  • pool_distribution

    Mining-pool distribution over a window: block share per pool, largest-pool share and the Nakamoto coefficient (minimum pools controlling >50% of blocks). window in 1h,6h,24h,48h,7d.

  • pool_sources

    Reachability status of each mining-pool API used for block attribution.

  • chain_provenance

    How mining-pool attribution was established over a window: share proven by view key, claimed by pool API, inferred from coinbase, or unattributed. window in 1h,6h,24h,48h,7d.

  • get_block

    Full detail for one block by its 64-character block hash: height, previous hash, size, difficulty, reward, coinbase, transaction list and merge-mining tags.

  • search_block

    Find a block by height (a number) or by 64-character hash, anywhere in the chain down to the genesis block (height 0). Returns the block detail plus whether it is canonical or an orphan.

  • lookup_transaction

    Look up a transaction by its 64-character hash: whether it is in the mempool or mined, its block, confirmations, whether it is spendable yet, the pool that mined its block, and whether that height was ever contested by a reorg. No amounts, senders or recipients: the protocol encrypts them.

  • chain_fork_window

    Canonical chain plus any competing orphan blocks around a height. 'to' is the highest height in the window (defaults to the current tip); lower it to browse older history down to the genesis block. limit 10..500.