1

The input of UTXO transaction being used is 10 pieces, total 0.0082 BTC. Broadcasting the fee at 0.000012 BTC (sendrawtransaction), the following error occurs.

insufficient priority

Is the fee setting not good? I do not know the cause.

kogane
  • 11
  • 1

1 Answers1

1

That error means you did not provide a high enough transaction fee on your transaction.

Andrew Chow
  • 67,209
  • 5
  • 76
  • 149
  • Thank you for your comment, I am using bitcoin abc client, how can I calculate the fee? – kogane Jan 29 '19 at 00:09
  • Using the transaction you have now, get its size in kb. Then you can use the `estimatesmartfee` command (read the help text for that command so you can use the correct arguments) to get a feerate in BCH/kb. Using that feerate, multiply it by the transaction size in kb that you got earlier. That's the fee you should pay. Then remake your transaction using that fee. – Andrew Chow Jan 29 '19 at 00:22
  • Since we are using bitcoin-abc client vertion 0.18.5 and there is no `estimatesmartfee`, i use` estimatefee` to calculate it. Is it better to use use `estimatefee`? After calculating the fee using `estimatefee`, it insufficient priority error – kogane Jan 29 '19 at 01:41
  • Also, the calculation formula I use is below `` ` (estimatefee result * transaction size) / 1000 = fee (btc) `` ` Is this calculation wrong? – kogane Jan 29 '19 at 01:41