Skip to content

panel idea: Mempool Fee Histogram as Time Series #84

@vicariousdrama

Description

@vicariousdrama

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpanel:mempoolIssues affecting the mempoolblocks panel

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions