Description
For fee_per_mil
we have a definition of "The amount charged per milli-satoshis transferred expressed in millionths of a satoshi.". I interpret the units for this to be (1sat/1milli-sat)*(10^6 micro-sat)/(1sat)=(10^6 micro-sat)/(1milli-sat)
.
For fee_rate
we have a definition of "The effective fee rate in milli-satoshis. Computed by dividing the fee_per_mil value by 1 million.". If I take the above assumption, then I get ((10^6 micro sat)/(1milli-sat))/(10^6 microsat/1sat)=1sat/1milli-sat
, which is not in milli-sat.
Should the definition of fee_per_mil
read "The milli-satoshi amount charged per milli-satoshis transferred expressed in micro-satoshi per milli-satoshi"`?
Should the definition of fee_rate
be "The milli-satoshi amount charged per milli-satoshis transferred, which is equal to fee_per_mil
*10^6
"? If this is correct, fee_rate
is unitless.
Is there a clearer way to present it?