THAMER
Sovereign Bitcoin Wallet

WALLET AI BITCOIN

Your Bitcoin Wallet. Your Keys. Your Engine.

Self-hosted Bitcoin software built for developers, applications, and AI agents.

CREATE WALLET

Can a Bitcoin Transaction Be Replaced After Broadcast?

permalink THAMER
#bitcoin-transaction-replacement#rbf-faq#unconfirmed-transaction

Yes. Broadcasting a Bitcoin transaction does not make it final. While unconfirmed, it can conflict with another transaction spending the same inputs, and some nodes may accept a higher-fee replacement under their mempool policies.

Does the RBF flag determine safety?

No. BIP125 defined opt-in replacement signaling, but some nodes support full-RBF policies. Even when a wallet displays a transaction as non-RBF, zero-confirmation acceptance is not a consensus guarantee.

What changes when it is confirmed?

A confirmed transaction is included in a block on the active chain. It cannot simply be replaced in that block by ordinary mempool policy. However, chain reorganizations remain possible, so applications should use confirmation-depth rules appropriate to their risk.

What should an app do?

Track the transaction ID, input conflicts, replacement status, and confirmation count. Do not treat a mempool sighting as final settlement.

Primary references

BIP125 — https://bips.dev/125/
Bitcoin Core RPC documentation — https://bitcoincore.org/en/doc/

Questions & Answers

Explore all questions →

Latest from the Lab

THAMER illustrated developer portrait and signature

ABOUT THE DEVELOPER

Independent Software Developer specializing in Bitcoin Script, Golang, and AI Agents.

Software engineering · Independent research · Open-source projects