nodeyez icon indicating copy to clipboard operation
nodeyez copied to clipboard

panel idea: Mempool Fee Histogram as Time Series

Open vicariousdrama opened this issue 3 years ago • 0 comments

See this REST endpoint https://mempool.space/docs/api/rest#get-mempool

Sample results

{
  "count":358,
  "vsize":225120,
  "total_fee":1647705,
  "fee_histogram":[
    [10.798165,50019],
    [3.097345,50326],
    [3.0,57411],
    [1.0014511,58745],
    [1.0,8619]
  ]
}

For interpeting the fee_histogram, I believe this is a distribution of the sat/byte, and total vsize at that level. Indeed, summing the second argument of each array'd element totals to vsize.

Note that single snapshot calls are not enough to draw the histogram graph over time, so may want to periodically capture and retain in memory to draw that out or find some other way to represent. The benefit of the time graph is to visualize the trending change over time. If doing calls over time, recommend adding a timescale on the X axis that makes it clear how often the data is polled (default is 5 minutes for this panel)

vicariousdrama avatar May 06 '22 04:05 vicariousdrama