<blockquote>
  <p><strong>Is there any way to cancel such transaction and make sure no miner will ever pick it up?</strong></p>
</blockquote>

<p>No</p>

<blockquote>
  <p><strong>If not then what are my options when dealing with stuck transactions?</strong></p>
</blockquote>

<p>Use <a href="https://bitcoincore.org/en/faq/optin_rbf/" rel="nofollow noreferrer">replace by fee (RBF)</a>?</p>

CC BY-SA 4.0
2019-02-19T11:22:31.253Z
2019-02-19T11:30:36.840Z
2019-02-19T11:30:36.840Z
RedGrittyBrick
<p>I'm using combination of 'createrawtransaction' and 'fundrawtransaction' API calls to create my transactions. I don't pass 'feeRate' option to 'fundrawtransaction' and rely on bitcoin wallet to figure out the fee. Is this a good strategy for mission critical system like payment system or I have to manually estimate transaction fees and not rely on functionality provided by bitcoin core?</p>

<p>As far as I understand if fee is too low for a network conditions then transaction may stuck in the mempool of some nodes. Even worse it may be expelled from some nodes while still remain in others. Is there any way to cancel such transaction and make sure no miner will ever pick it up? If not then what are my options when dealing with stuck transactions?</p>

<bitcoin-core><transaction-fees><api>
Bitcoin core and transaction fees
averbin
# Bitcoin core and transaction fees

(Asked by: username_0 on 2019-02-19)

I'm using combination of 'createrawtransaction' and 'fundrawtransaction' API calls to create my transactions. I don't pass 'feeRate' option to 'fundrawtransaction' and rely on bitcoin wallet to figure out the fee. Is this a good strategy for mission critical system like payment system or I have to manually estimate transaction fees and not rely on functionality provided by bitcoin core?

As far as I understand if fee is too low for a network conditions then transaction may stuck in the mempool of some nodes. Even worse it may be expelled from some nodes while still remain in others. Is there any way to cancel such transaction and make sure no miner will ever pick it up? If not then what are my options when dealing with stuck transactions?

**Tags:** bitcoin-core, transaction-fees, api


---

## 1 answers

### Answer by username_1 on 2019-02-19. Score: 1

> **Is there any way to cancel such transaction and make sure no miner will ever pick it up?**

No

> **If not then what are my options when dealing with stuck transactions?**

Use [replace by fee (RBF)](https://bitcoincore.org/en/faq/optin_rbf/)?


---

