Skip to main content

How Does a ‘Replace-by-Fee’ (RBF) Transaction Work?

RBF allows a user to replace an unconfirmed transaction in the mempool with a new transaction that has the same nonce but offers a higher gas fee. This is used to speed up a stuck transaction or to cancel a pending one by replacing it with a zero-value transaction to the sender's own address.

How Do Miners Prioritize Transactions with the Same Nonce but Different Gas Prices?
Can Smart Contracts Completely Replace Traditional Legal Agreements?
Explain the Role of a Nonce in Preventing Double-Spending
How Does a Mempool Relate to the Speed of a Transaction Confirmation?