janoside / btc-rpc-explorer

Database-free, self-hosted Bitcoin explorer, via RPC to Bitcoin Core.
https://bitcoinexplorer.org
MIT License
1.58k stars 1.18k forks source link

[Feature] Expose mempool size and total fees in api #488

Closed ExperiBass closed 1 year ago

ExperiBass commented 2 years ago

Describe the new feature or enhancement

It would be nice to have the total tx fees and size exposed alongside the count in the api.

Additional context

I've been messing around with displaying chain stats on my devices, and I want to display the current mempool size and the total fees. I've settled with mempool.space to get those stats, but i prefer this api.

pointbiz commented 2 years ago

Does this pull request satisfy your feature request?

ExperiBass commented 2 years ago

yep, thanks!

janoside commented 1 year ago

Merged.