get_btc_block_stats
Retrieve Bitcoin block fee statistics including fee percentiles (10th to 90th), total fees, block size, and transaction count to identify fee-market anomalies.
Instructions
READ-ONLY — bitcoind getblockstats(hashOrHeight) output: fee distribution (min / max / avg / 10/25/50/75/90 percentile feerates in sat/vB), tx count, block size, total fees. RPC-only — Esplora exposes block size + tx count but NOT fee percentiles. Used to spot fee-market anomalies and to baseline mempool_anomaly. Requires BITCOIN_RPC_URL configured. Issue #248 / #233 v2.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hashOrHeight | Yes | Either a 64-hex block hash OR a block height. The RPC method `getblockstats` accepts both forms — pick whichever the agent already has on hand. |