Basic Information

On this page, we are going to describe what RBF is and how it works. Also, we'll take a look at what a purchase transaction looks like and what all the inputs and outputs mean

What is RBF and how does it works ?

As all marketplaces are using the ANYONECANPAY function, they don't care who exactly will buy the Ordinal or Rune. The main parameter in such a transaction is that the seller needs to receive N amount of BTC for their Ordinal or Rune. Almost all mining pools support RBF (replace-by-fee) because it's more profitable for them to process the same transaction with a higher fee rate.

How RBF works ? As we already know, the main parameter that can't be changed is the amount of BTC that the seller should receive for their Ordinal or Rune, and the Ordinal or Rune that they are selling. So, the only things we need to change are the receiver of the Ordinal or Rune (our wallet address) and the payer (our wallet address). Also, our fee rate must be higher than that of other buyers.

Let's take a look at a basic purchase transaction on MagicEden for any Rune.

  • #1 Is input of our biggest utxo which will be used to pay for transaction

  • #2 Is input with Rune #1

  • #3 Is input with Rune #2

  • #4 Is output is where we are getting Rune #1 + Rune #2

  • #5 Is output is where we paying seller for Rune #1

  • #6 Is output is where we paying seller for Rune #2

  • #7 Is output where we are paying Fee to MagicEden

  • #8 Is output where we are geeting back our money

The purchase transaction of Rune from Unisat will be the same, but we would have another output #7 for Unisat Fee The purchase transaction of Rune from OKX will be almost the same, but we wouldn't have output #7 because they are not taking a fee

Last updated