-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or requestpanel:mempoolIssues affecting the mempoolblocks panelIssues affecting the mempoolblocks panel
Description
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
Labels
enhancementNew feature or requestNew feature or requestpanel:mempoolIssues affecting the mempoolblocks panelIssues affecting the mempoolblocks panel