Transaction fees
Last updated
Last updated
Fees on the Botanix EVM are denominated in bitcoin. This also means that the staking rewards for the Spiderchain stakers, or Orchestrators, will receive their staking rewards in bitcoin.
The formula is the same as what you see on the Ethereum platform.
Fee = transaction.gasPrice * gasUsed
You should use eth_gasPrice
to determine the appropriate gas price needed. Also, eth_estimateGas
is used to find an appropriate gas limit.
Note that if the transaction.gasPrice
is too low, your transaction will be rejected.
If you supply a transaction.gasLimit
less than the value of eth_estimateGas
, your transaction will be rejected.
When you create an L1 to L2 transaction (i.e. bridge-in), you need to pay for:
The standard bitcoin transaction cost (This you will find in your BTC wallet of choice)
The gas cost to call the minting contract (Shown on our bridge)
When you want to withdraw your funds back to L1 (i.e. bridge-out), you need to pay essentially for the same things as when you bridge-in. The biggest difference here is that we will batch all outgoing transactions which could lead to lower fees and both steps are automated.
A transaction from L2 to L1 will consist of the following:
A Layer 2 transaction that initiates the burning on the Botanix EVM.
A Layer 1 transaction on bitcoin that returns the bitcoin to you.
The cost of the initialization transaction is determined in the same way as any other L2 transaction. The cost of the finalization transaction depends on the mempool and current L1 congestion level.
The cost of the initialization transaction depends on the and current L1 congestion level. The cost of the finalization transaction is determined in the same way as any other L2 transaction.