Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [fee-estimation]

Questions about deriving the right amount of fees to add to your transaction.

Filter by
Sorted by
Tagged with
1 vote
1 answer
49 views

Increase the fees in regtest

I have a Regtest environment with some Lightning nodes. I need to make the fees go up a lot to do some tests on how the Lightning nodes behave with high fees. What would be the most efficient/simple ...
polespinasa's user avatar
1 vote
0 answers
15 views

How to get my bitcoin out of Mycelium?

I want to leave Mycelium. I have heard nothing but that it’s Jurassic. I would like to use a new wallet. I have no idea what wallet to use but I have like $48 in bitcoins. I know it’s not a lot, but I ...
Kate Whitmore's user avatar
0 votes
0 answers
70 views

What is the correct way to calculate testnet BTC fees?

Recently, the fees on Testnet seem to be going wild. I tried to send 20,000 satoshi and it cost me 27,000 satoshi. I used a feerate based on blockstream.info's fee estimate and calculated the fee ...
ron s's user avatar
  • 13
0 votes
1 answer
58 views

Lightning Network channel reserve

How is the calculation of the amount of sats reserved to pay fees in L1 in case of having to launch a penalty transaction or make a forced closure of a channel? In bolt2 I have read that 1% of the ...
polespinasa's user avatar
0 votes
1 answer
65 views

Create transaction and so on

Please explain to me what should be the procedure for working with a bitcoin-cli / RPC wallet. For example: Create a wallet Get a new address Sending BTC: creating a transaction, signing a ...
Valentin Borisenko's user avatar
2 votes
1 answer
337 views

Why does Bitcoin Core's `estimatesmartfee` return a higher feerate than necessary?

For past ~36 hours, the fees returned from bitcoind are very high compared to the fees returned by other estimators, for instance the mempool.space explorer. It is also much higher than the feerate of ...
Kevin's user avatar
  • 33
1 vote
1 answer
71 views

How to understand the fees of Bitcoin transfer?

Right now on https://bitcoinfees.net , it is showing the following chart: So it is show 55 - 57 sat / vB is needed for the transfer to take place in about an hour. How do we interpret this chart? For ...
Stefanie Gauss's user avatar
0 votes
0 answers
67 views

Determine the amount to pay to send bitcoin from lnd (lightning network) to on-chain address

I am currently working on a project that requires multiple users using lightning network to generate and pay invoices through my website but I want to be able to calculate each user's transaction fee ...
Topman's user avatar
  • 11
3 votes
1 answer
69 views

Why does estimatesmartfee not return < 5 sats/vB even for long confirmation times?

We find that estimatesmartfee will not return results lower than 5 sats/vB, even though many transactions are completing at much lower fee rates. Looking at the implementation of estimatesmartfee, it ...
Chris Shucksmith's user avatar
0 votes
1 answer
328 views

Understanding fee calculation in Bitcoin Core

In the following post Calculating fee based on fee rate for bitcoin transaction the respondent describes how the fees can be calculated. Since your transaction building starts with a known target ...
yancy's user avatar
  • 1
1 vote
2 answers
329 views

Channel close fees too low

I closed a lot of channels in recent days - but for some of them I left the confirmation fee too low. I'm hoping the mempool will clear in the coming week and they will confirm. Is there a way to ...
Michael's user avatar
  • 37
1 vote
1 answer
118 views

Is there a formula to know how much to bump your change input to get a desired sat/vbyte for P2TR transactions?

so i know x = (sat/vB_effective * (vB_parent + vB_child) - current_parent_fee) / vB_child where x is the child fee (in sats/vbyte) that would need to get bumped. so this is figured off the child fee. ...
Joe T's user avatar
  • 13
1 vote
0 answers
31 views

Opportunity cost of coins locked in HTLC

If a party agrees to lock coins in HTLC for payment (having hashlock for time T), and it receives a fee f if the HTLC succeeds, then does it mean that the opportunity cost of coins locked in HTLC is f?...
Subhra Mazumdar's user avatar
1 vote
1 answer
242 views

GetMinFee() in blockchain.cpp

"mempoolminfee" : n, (numeric) Minimum fee rate in BTC/kB for tx to be accepted. Is the maximum of minrelaytxfee and minimum mempool fee "minrelaytxfee" : n, (numeric)...
user avatar
2 votes
1 answer
114 views

What fee is the starting point of the closing fee negotiation?

When I issue the command lightning-cli listpeers $peerid i get a feerate perkb of 1012 atm. What feerate is this exactly? Is this the feerate which will be proposed by the other peer for a mutual ...
user avatar
1 vote
1 answer
215 views

What are we trying to predict in fee estimation and why?

There are different estimations used in wallets, explorers and other Bitcoin projects. For example: estimatesmartfee in Bitcoin Core This is the fee rate distribution right now according to https://...
user avatar
0 votes
1 answer
861 views

What Means the Final Option in Bump Fee / Increase Fee Electrum Wallet Option

Hello I want to know what will happen if i put my transaction as Final can saves fee or no?
rubengavidia0x's user avatar
0 votes
1 answer
146 views

Channel openning fee too low [duplicate]

I recently setup a bitcoin node (bitcoind) and lightning node (lnd) on a linux system. As lifetime windows user this was quite challenging! Anyway I tried to open my first channel about 4 days ago and ...
bitcoinbob's user avatar
0 votes
1 answer
82 views

On a practical level, how exactly is the amount of a Bitcoin transaction fee determined?

Yes, I know that you can actually set the transaction fee to anything you want, but I'm of course talking about a transaction which will actually be "processed" in a reasonable timeframe, &...
M. A.'s user avatar
  • 1
1 vote
1 answer
54 views

Does sending the "max amount" with given feerate require crafting the transaction twice?

To make a transaction of "max amount" with a given feerate, is there a shorter procedure than the following? Craft transaction with with one output Sign it Consider the signed length - ...
MCCCS's user avatar
  • 10.2k
1 vote
1 answer
492 views

Paying only 6 satoshis/vbyte ($0.18 cents) per input in transaction fees?

I understand transactions are given priority based on the fee per vbyte of transaction data included in the transaction. When I look at a Fee Calculator I see different quotes based on the desired ...
S.O.S's user avatar
  • 419
2 votes
2 answers
430 views

Setting the fee rate on regtest, or, quickly generating full blocks

I'm setting up some automated testing for a lightning wallet. At the heart of my tests is a bitcoind instance running in regtest mode. I need to be able to set the fee rate - both the fee rate ...
Shum's user avatar
  • 121
0 votes
2 answers
287 views

What do they mean by "Make sure to send enough to cover any coin transaction fees!"?

When I paid a Bitcoin bill yesterday to Coinpayments.net (that's what they used), which had no problems, I spotted this text: Make sure to send enough to cover any coin transaction fees! What ...
Deano's user avatar
  • 1
0 votes
1 answer
178 views

Unexplained fee in electrum to localbitcoins transaction

Unexplained fee in electrum to localbitcoins transaction. How to avoid this in future? I was trying to make a transaction from electrum to localbitcoins 120$, paid 57$ fee for the transaction. https:/...
rubengavidia0x's user avatar
0 votes
1 answer
96 views

The bitcoin opcode seems to have a flat rate

The bitcoin opcode seems to have a flat rate, is that correct? Or, if bitcoin has a price per opcode, please give me the link. If it is a flat rate, please tell me why bitcoin does not have a ...
ground clown's user avatar
3 votes
1 answer
199 views

"Fee estimation is currently not possible" in Bitcoin Core

I need some help in transaction fee in Bitcoin Core. In Send section there is a message after Transaction fee saying "Warning: Fee estimation is currently not possible." Why is it there? ...
Csongi's user avatar
  • 31
5 votes
1 answer
154 views

Where can I find a survey on different fee estimation algorithms?

I am looking for a comparison or summary of different fee estimation algorithms. Does anyone know of one? I would like to see what the best starting point is in order to see where optimization can be ...
mango's user avatar
  • 351
5 votes
3 answers
403 views

How do you reliably estimate mining fees?

I'm asking this question because sites seem to yield widely different estimates. For instance, if I want a transaction to be accepted within 6 blocks, this is what I currently have to pay according to ...
Pascal Bergeron's user avatar
1 vote
1 answer
949 views

What are fee_method and fee_level in Electrum's getfeerate RPC call?

I couldn't find any documentation on this. I found that the options for fee_method are eta, static and mempool by reading the source code. But it's still not clear to me how fee_level relates to the ...
Kyle's user avatar
  • 166
3 votes
1 answer
128 views

Can pruned nodes perform fee estimation?

The fee estimation in Bitcoin Core is based on the previous blocks. Since the minimum pruning size for pruned nodes is 550 MB, a pruned node may actually not have the last 1,000 blocks, which is the ...
Murch's user avatar
  • 75.7k
3 votes
1 answer
161 views

Given a bitcoin block, what's the easiest way to determine the minimum net fee rate (including ancestors) for transactions in that block?

Given a bitcoin block, what's the easiest way to determine the minimum net fee rate (including ancestors) for transactions in that block? A naive approach would be to just find the minimum fee rate ...
deezy's user avatar
  • 301
1 vote
0 answers
79 views

Why does estimatesmartfee and walletcreatefundedpsbt with conf_target show a wide disparity?

Seems that when my testnet node boots up estimatesmartfee works just fine generally: {"jsonrpc":"1.0","id":"curltest","method":"estimatesmartfee&...
Fontaine's user avatar
  • 466
1 vote
0 answers
107 views

When commit_fee (fee_per_kw) renegotiation?

Looking at my channels on lnd node, fee_per_kw values are different for some channels (13332 or 6422). How is the fee_per_kw calculated when opening the channel? Does it take current bitcoin fees ...
Tony Sanak's user avatar
  • 1,689
1 vote
1 answer
386 views

Transaction size limit across a single path in a Lightning Network and fee earned

Given MPP is included in the current version of lnd, an arbitrarily large transaction can be processed in the network. What is the transaction size limit across a single path? Is it still bounded to 0....
Subhra Mazumdar's user avatar
1 vote
2 answers
307 views

Explain Coinomi and Edge fee difference?

I was looking at two Bitcoin wallets, Coinomi and Edge. When setting the same custom fee for both, I see a difference in the final fee reported. As an example, Edge wallet shows a fee of $3.13 (at ...
kayan1's user avatar
  • 25
2 votes
1 answer
199 views

Estimated Fees in BCOIN

I installed a BCOIN full node and I would like to calculate estimated fees for Bitcoin transactions. This functionality works perfectly in the CLI. For example: bcoin-cli fee 3 Anyway things go ...
Mario Mazzola's user avatar
4 votes
2 answers
4k views

-fallbackfee option in sendtoaddress

I'm trying to send some bitcoins using bitcoin-cli API, but bitcoin core tells me that Fallbackfee is disabled. How can I set a value for fallbackfee? I've tried to specify it like bitcoin-cli ...
dcfg's user avatar
  • 404
0 votes
1 answer
188 views

Bitcoin RPC estimatesmartfee argument keys necessary?

I am attempting to use a PHP RPC Wrapper to connect to bitcoind for RPC API calls, estimatesmartfee, more specifically. My question is, do I need to specify the argument keys, or just the values? ...
Jeffrey L. Roberts's user avatar
0 votes
1 answer
882 views

What feerate estimation APIs are there?

Some company's, block explorers and payment processors offer a public API for feerate estimations. Is there a list of publicly available feerate estimation APIs?
0xb10c's user avatar
  • 1,440
1 vote
1 answer
733 views

Bitcoin core's estimatesmartfee gives same estimate on ECONOMICAL and CONSERVATIVE mode

I have observed this behavior several times before now, the commands bitcoin-cli estimatesmartfee 2 ECONOMICAL and bitcoin-cli estimatesmartfee 2 CONSERVATIVE give the same estimates. For example, ...
Pedro's user avatar
  • 753
1 vote
1 answer
260 views

How to convert fee_estimates.dat into a human-readable format?

I would like to take a look inside fee_estimates.dat to understand a bit better how the RPC command estimatesmartfee works. However, when I open the file in a text editor, the content is not readable. ...
Pedro's user avatar
  • 753
1 vote
1 answer
2k views

estimatesmartfee outputs very different results

Around block 564815 (2019-02-26 23:40 UTC), the mempool was empty. I noticed that my two nodes are giving very different estimates for transaction fees to be used: Node 1 Version: 17.1.0 Number of ...
Pedro's user avatar
  • 753
1 vote
1 answer
132 views

Why estimatesmart fee returning the same fee for diffeent blocks number?

I am trying to calculate the fee per kb using the estimatesmartfee. I had called estimatesmart fee with different type of blocks number .The fee remaing the same. estimatesmartfee(2)=...
Pankaj Kumar's user avatar
2 votes
1 answer
163 views

Do I have to pay Fees on the Lightning Network if there is a Payment Failure?

Lightning nodes are talking fees for routing a payment. Will fees be charged anyway if a payment fails?
Stefano Angieri's user avatar
2 votes
2 answers
455 views

How is proper fee rate got on Bitcoin Cash

I'm developing wallet system trading BTC, BCH and so on. In BTC, I'm using estimatesmartfee API to calculate by transaction size and relayfee to guarantee minimum fee and it works well. In BCH, though ...
Harry's user avatar
  • 143
-1 votes
2 answers
182 views

BCH - estimatefee return -1

When I call estimatefee 1 in testnet it returns: -1 According to docs: If the node doesn’t have enough information to make an estimate, the value -1 will be returned But on my bitcoin-cli ...
truongnm's user avatar
5 votes
1 answer
1k views

Bitcoin core's estimatesmartfee error "Insufficient data or no feerate found" with synced node

I'm running bitcoin core version 0.17.0 on the Testnet and since yesterday, I've been experiencing problems with the RPC estimatesmartfee. I'm getting as a response: "errors": "Insufficient data ...
Lelo's user avatar
  • 185
1 vote
1 answer
158 views

Get real fee per transaction

I am trying to get real fee per trasnaction. So I have an account whit balance 0.06940000 and have a second account with balance 0.00000000. To get current fee I have run the command bitcoin-cli ...
Yur Gasparyan's user avatar
1 vote
1 answer
892 views

Estimate smart fee returns an error

I am trying to get current fee for per transaction. So running command bitcoin-cli estimatesmartfee 6 i am getting response lookl ike this { "errors": [ "Insufficient data or no feerate found"...
Yur Gasparyan's user avatar
-2 votes
1 answer
55 views

What will be the fee in $ for a 500$ transaction? [closed]

What will be the fee in $ for a 500$ transaction ?
user87579's user avatar