Questions tagged [fee-estimation]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
51 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)...
2
votes
1answer
39 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 ...
1
vote
1answer
128 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://...
0
votes
1answer
161 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?
0
votes
1answer
43 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 ...
0
votes
1answer
41 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, &...
1
vote
1answer
36 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 - ...
1
vote
1answer
126 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 ...
2
votes
2answers
82 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 ...
0
votes
2answers
116 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 ...
0
votes
1answer
131 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:/...
0
votes
1answer
52 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 ...
5
votes
1answer
103 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 ...
1
vote
1answer
392 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 ...
3
votes
1answer
65 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 ...
3
votes
1answer
92 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 ...
1
vote
0answers
30 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&...
1
vote
0answers
51 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 ...
0
votes
1answer
164 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....
1
vote
2answers
229 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 ...
2
votes
1answer
132 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 ...
3
votes
2answers
2k 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 ...
0
votes
1answer
112 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? ...
-1
votes
1answer
352 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?
0
votes
1answer
406 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, ...
1
vote
1answer
123 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. ...
1
vote
1answer
863 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 ...
1
vote
1answer
85 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)=...
2
votes
1answer
134 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?
2
votes
2answers
322 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 ...
-1
votes
2answers
157 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 ...
5
votes
1answer
804 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 ...
1
vote
1answer
119 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 ...
1
vote
1answer
618 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"...
-2
votes
1answer
44 views

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

What will be the fee in $ for a 500$ transaction ?
0
votes
1answer
198 views

Any API to estimate the miner fee for a Bitcoin raw transaction?

Coming from the ethereum development scene, I guess I'm kinda spoiled by the availability of the web3 library which has easy access to the eth.gasPrice and eth.estimateGas methods to get the default ...
1
vote
1answer
720 views

Bitcoin cli asks to use estimatesmartfee with new syntax that is not described in docs

In previous versions of bitcoin-cli I've successfully used estimatesmartfee 2 syntax. But now cli answers {'errors': ['Insufficient data or no feerate found'], 'blocks': 0}. How should I estimate fee ...
0
votes
3answers
782 views

Can I prioritize my transaction in Bitcoin?

How can I prioritize my transaction in Bitcoin? Does Bitcoin has any feature that can provide me fees required in case I want my transaction to be sent as high priority?
0
votes
1answer
45 views

Prioritizing BTC transactions using Bitcore APIs

I’m planning to give a feature in my application where a user can select type of priority (Fast, Average or Slow) for their transactions. How can I get fee required for each type? Does Bitcore API ...
0
votes
2answers
273 views

Bitcoin Transaction using API with Custom Fees

I want to transfer Bitcoin from one individual address to another using API. But I want to set Transaction fees as per my requirement. So How can I do it ? Right now I am using blockchain-transaction ...
1
vote
1answer
685 views

Bitcoind estimatesmartfee

I am trying to get transaction fee for sending all btc to another account. I use estimatesmartfee to get tx fee, I have total btc amount of 0.0195btc, so I pass 0.0195, but I get JSON integer out of ...
1
vote
2answers
418 views

How to sweep a Bitcoin Core wallet?

I have created an account in a bitcoind wallet which has got some 1.055btc which has to be wiped out to 0.00BTC to another account. so the actual BTC has to be sent is 1.055 - transaction fee. Is ...
0
votes
1answer
111 views

Less circuitous way to get network fee in raw transaction

I have my code working correctly now to create and send a transaction with the correct network fee. Here is my pseudo-code using the json rpc: Estimate network fee using estimatesmartfee "ECONOMICAL" ...
1
vote
2answers
307 views

Are there RPC calls for correct RBF calculations in Bitcoin Core?

Imagine I have a "stuck" transaction using Bitcoin Core (with correct BIP125 signalling), and I want to "unstuck" it using RBF. Is there some RPC call for the correct fee calculation? Meaning, is ...
0
votes
1answer
103 views

Negative time estimation from estimatefees + mempool data

I am currently writing a time estimation tool for Bitcoin, and it gives me wrong estimations, so I am not sure if it's accurate and if I am not doing some error in logic. For example, I have this ...
2
votes
1answer
229 views

Estimate Fee returning -1

I updated the bitcoin node to version to 140200 on top of which one of my applications was running. There wasn't any issue with the flow of the application estimatefee RPC I get -1 for no matter what ...
5
votes
1answer
827 views

Why does the Segwit developer guide recommend to estimate fees on basis of vsize instead of weight?

The Segwit Wallet Development Guide has a small section on fee estimation: Transaction Fee Estimation Instead of transaction size, a new metric is defined, called “virtual size” (vsize) ...
3
votes
1answer
787 views

How can I set a fixed fee sufficient for transaction success in bitcoind?

I used to use sendtoaddress with bitcoind and a fixed 0.0001 btc transaction fee in the wallet UI to do the job and every transaction was sent without any problems. Since version v0.12.0 I can see ...