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
23 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
36 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
55 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, ...
0
votes
0answers
31 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
151 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 ...
0
votes
0answers
27 views

How can I obtain “paytxfee” value to calculate optimal transaction fee?

I've just used btcsuite btcwallet. How can I obtain "paytxfee" value to calculate optimal tx fee depending on tx size, after deprecated "getinfo" command?
1
vote
1answer
36 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
102 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
147 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
81 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 ...
3
votes
1answer
336 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
50 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
346 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
37 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
68 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
583 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
291 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
37 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
147 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
454 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
208 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
73 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
152 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
86 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
189 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
686 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
2answers
628 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 ...