← Back to Glossary

Replace-By-Fee (RBF)

What Is Replace-By-Fee (RBF)?

What Is Replace-By-Fee (RBF)? RBF stands for Replace-By-Fee. This is a feature in the Bitcoin network that allows a sender to replace their unconfirmed transaction with a different version of that transaction that has a higher transaction fee.

RBF allows senders to raise the fee to confirm their transaction faster. This feature is useful in situations when the original transaction is taking too long to get confirmed in a congested network, usually due to its low fee. The increased fee makes it more attractive to miners to prioritize the transaction since they are incentivized by the fees they collect for confirming transactions.

RBF works by allowing the sender to broadcast a new version of their transaction to the network. This new version must have the same inputs as the original transaction. Once the higher fee transaction is confirmed, the original transaction is replaced and dropped from the network if it hasn’t been confirmed yet.

RBF only works while the transaction is in the mempool. As soon as a transaction enters a block, it cannot be replaced by fee. Additionally, when a transaction is first sent, it must specify that it is available to be replaced by fee.

This is achieved by setting the nSequence, a small part of each transaction, to any value below 0xfffffffe. The nSequence of a transaction is intended to allow a transaction to be updated after it has been broadcast.

Replace-By-Fee (RBF) is a concept relevant to Bitcoin, finance, or blockchain technology that investors should understand. Onramp's comprehensive Bitcoin glossary provides clear explanations of Replace-By-Fee (RBF) and hundreds of other terms to support informed investment decisions.

Frequently Asked Questions

What is Replace-By-Fee (RBF)?

Replace-By-Fee (RBF) is a term used in Bitcoin, finance, or blockchain technology. Understanding Replace-By-Fee (RBF) helps investors and enthusiasts build a stronger foundation of knowledge about digital assets and financial markets.

Why is Replace-By-Fee (RBF) important?

Replace-By-Fee (RBF) is relevant to understanding how Bitcoin, financial markets, or blockchain technology operates. Knowledge of such concepts helps investors make better-informed decisions about their portfolios.

Where can investors learn more about Replace-By-Fee (RBF)?

Onramp's Bitcoin glossary offers detailed, accessible explanations of Replace-By-Fee (RBF) and over 500 other terms related to Bitcoin, finance, and blockchain technology for investors at all experience levels.

Multi-Institution Custody

Are you ready?

The best security available for your Bitcoin without the technical burden. It’s time to upgrade.

Sign up