Post
Topic
Board Electrum
Re: How to get fee rate in KB
by
nc50lc
on 23/11/2020, 03:34:56 UTC
Hello everyone, as I know command
Code:
electrum getfeerate
gives a rate in sat/byte, but is there any way to get it straight in sat/kbyte?
Is divide it to 1000 a good idea when actual fee for e.g. will be not 3147 but 3000 rounded to 3 and divide gives 0.003 sat/kbyte, or I am wrong and it always will be 3000?
Thanks.
You mean BTC/kB, or better BTC/kvB?
Like 0.003 BTC/kvByte not 0.003 sat/kvByte as shown above which is totally way below a "standard transaction's" fee rate.
'Cause it's already showing the estimated fee rate as sat/kB like in your example above, it's 3147sat/kvB. (electrum/commands.py)

Anyways, rounding it may introduce inaccuracy when it comes with huge transaction sizes, but it's fine in most cases.