ord icon indicating copy to clipboard operation
ord copied to clipboard

Add feerate_percentiles to blockinfo endpoint

Open benbuschmann opened this issue 9 months ago • 4 comments

Add feerate_percentiles to blockinfo

benbuschmann avatar May 14 '24 23:05 benbuschmann

Why only the 10th percentile? We could consider allowing all of them.

Just out of interest, what are you building with this?

raphjaph avatar May 17 '24 14:05 raphjaph

Why only the 10th percentile? We could consider allowing all of them.

Just out of interest, what are you building with this?

I am looking for the lowest fee that was included in a block and min_fee_rate seems unreliable. I will be using the low fee rate to trigger a dynamic inscription. I can add all 5 percentiles later today if you think it's worth doing all at once.

benbuschmann avatar May 17 '24 15:05 benbuschmann

As part of the strict backwards compatibility requirements for recursive endpoints we can only add fields, never remove or change an existing one. So I think adding all of them into one field makes sense here.

raphjaph avatar May 17 '24 15:05 raphjaph

@raphjaph ok I added feerate_percentiles, does this look correct to you?

benbuschmann avatar May 17 '24 16:05 benbuschmann