{"repo":"LN-Zap/bitcoin-blended-fee-estimator","free":true,"listed":false,"github":"https://github.com/LN-Zap/bitcoin-blended-fee-estimator","clone":"git clone https://github.com/LN-Zap/bitcoin-blended-fee-estimator.git","description":"A blend of mempool-based and history-based Bitcoin fee estimates.","language":"TypeScript","stars":15,"topics":["bitcoin","lightning","lnd","mempool"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Bitcoin Blended Fee Estimator This project provides bitcoin fee estimates using a blend of mempool-based and history-based estimations. The initial use case is to provide onchain fee estimates to lnd, however it could easily be adapted/extended to be used by other applications. Fee Estimates This application combines data from multiple APIs to provide fee estimates for Bitcoin transactions: - Mempool API : This API is used to get mempool-based fee estimates for upcoming blocks. The application fetches the fastestFee, halfHourFee, hourFee, economyFee, and minimumFee from the Mempool API and uses these estimates to calculate the fee for upcoming blocks. - Esplora API : This API is used to get history-based fee estimates for further future blocks. The application fetches fee estimates from the Esplora API (which gets its data from bitcoind) and adds them to the fee estimates if they are lower than the lowest fee estimate from the Mempool API. - Bitcoin Core API : This API provides an alternative source for fee estimates for further future blocks. The application fetches fee estimates directly from bitcoind and adds them to the fee estimates. You can choose between economical and conservative estimates. Fee estimates are multipled by a configurable multiplier (1 by default) to allow a more conservative or aggressive approach, and cached for a configurable amount of time (15 seconds by default). API This application exposes a single API endpoint at /v1/fee-estimates . This endpoin","default_branch":null,"files":null,"tree":[],"storefront":"/r/LN-Zap","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LN-Zap/bitcoin-blended-fee-estimator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}