Post
Topic
Board Electrum
Merits 2 from 2 users
Re: Miner fees for batched transactions?
by
nc50lc
on 18/05/2025, 06:50:13 UTC
⭐ Merited by ABCbits (1) ,hosemary (1)
Yesterday, I did some tests. I sent one tx at 1.2 sat/vB. And when I tried to send a second tx, I input 1.3 sat/vB. But the wallet batched the two transactions at 1.99 sat/vB. As you can see in the link below:
https://mempool.space/tx/044e97e73663dd351953b8c49d0a74ac8c35b38087d0aeb5b788ba91cd05d3ff?mode=details
But instead of batching the two txs into a single transactions at 1.3 sat/vB, it batched them at 1.99 sat/vB.
The correct way to batch transactions in one is to use "pay-to-many" with all of the recipient in one transaction.
That way, those 5 outputs wont have to be included one at a time via RBF on each.
Just type the recipients int he "Pay to" field like this:
Code:
BC1QADDRESS1,0.00011
BC1QADDRESS2,0.00012
BC1QADDRESS3,0.00013

For the fee rate in your method (utilizing batch rbf transactions), that relies on the RBF replacement rule that the fee of the replacement should pay for its own and the replaced transaction(s)'s bandwidth.
So its minimum is not a simple 0.1 sat/vB increase but calculated from the 1st transaction' absolute transaction fee plus the replacement transaction's size and minimum fee.