Post
Topic
Board Services
Re: Can anyone help get this transaction confirmation?
by
Saint-loup
on 06/05/2022, 08:33:06 UTC
Unfortunately I don't know of a tool that calculates it well how much you should pay for that new tx.
It's not difficult to do the calculation.

SA = Size of the unconfirmed transaction
SB = Size of the new transaction (the transaction you will make for doing CPFP)

fA = The fee rate used for the unconfirmed transaction.
fB = The fee rate you should use for the new transaction.
f = the fee rate required for a fast confirmation.

fB = (f*(SA+SB) - SA*fA) / SB
I'm sorry hosseinimr93 but I don't really understand your formula.

CMIIW but
SA*fA is the fee paid for the first transaction.
f*(SA+SB) is the fee to be paid for a fast transaction with a length of the 2 ones.

So
f*(SA+SB) - SA*fA
means you won't pay "again" the fee of the first transaction but only the fee for a fast transaction with a length of the 2, when they'll be mined.
SA*fA + f*(SA+SB) - SA*fA = f*(SA+SB)

For me, this fee is OK, it's the fair price IMO. I don't understand why you want to divide this fee by the length of the new transaction.